Prev | Current Page 127 | Next

Rob Allen, Nick Lo, and Steven Brown

"Zend Framework in Action"

Also, as the number of reviews gets larger, we can display only the most helpful on the
location??™s main page, and relegate the less helpful reviews to a secondary page.
This is an ideal task for Ajax as we do not want to intrude upon users with a page refresh and hence an inplace
update will allow them to continue looking at the other reviews once they have indicated that a given
review is helpful or not.
To provide feedback on a review we need to ask the question ???was this review helpful to you???? with the
possible answers of yes or no. We keep a count of the number of people who have answered yes and the total
number of respondents. This will then allow us to inform the user that ???N of M people found this review
helpful???. At a later stage, as we get more and more reviews, we could even consider ordering the list by
???helpfulness??? of the review. The user interface to our review feedback system is very simple as shown in
Figure 4.4.
Figure 4.4: Review feedback system has two buttons to provide feedback.
The review feedback system is a single line of text containing the number of people who found the review
helpful and the number of people who have provided feedback. The user is left to determine if this ratio means
that this review is ???helpful??? or not.


Pages:
115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139
hale AC/DC prezenty biuro rachunkowe gdańsk Teksty piosenek