XRX/Product Ratings

From Wikibooks, open books for an open world
< XRX
Jump to navigation Jump to search

Motivation[edit | edit source]

You want a method for creating a rating system for items, such as a five-star rating for a product or service.

Method[edit | edit source]

Each registered user in a system can rate items. A separate collection associates users with ratings. Ratings can be placed anywhere in a form and can associate a user to an item and that association has a numeric value of 1 to 5. Items can then display their average user rating.

References[edit | edit source]

Sample Drupal Five Star rating system created with JQuery


Back: NIEM Services Next: Business Rules Template