ProductReview Example: Difference between revisions

From DataFlex Wiki
Jump to navigationJump to search
Jka (talk | contribs)
mNo edit summary
Jka (talk | contribs)
Line 11: Line 11:
*enter information about a known item  
*enter information about a known item  
*supply information about the place where an item was bought.
*supply information about the place where an item was bought.
*supply a rating of an item  
*supply a review of an item  
*Overview supplied ratings from other users
*Overview supplied reviews from other users


= [[DataDictionary|Data Dictionaries]] =
= [[DataDictionary|Data Dictionaries]] =

Revision as of 09:45, 15 May 2011

Introduction

This page contains a description of an example project that can be used to study different implementation techniques using VDF as a backend.

In this example the overall goal is to be able to see what users think about a particular item . As an added benefit - users can also share information about where to buy the particular items.

To accomplish this, then users should be able to:

  • login
  • choose an item from a list
  • enter information about a known item
  • supply information about the place where an item was bought.
  • supply a review of an item
  • Overview supplied reviews from other users

Data Dictionaries

We want to store information about users, places and known items. The other tables should hold sufficient information about the items and how the users liked them.

The following data dictionaries should now be available:

Address

  • Place_id
  • Name
  • StreetAddress
  • City
  • ZIPCode
  • Longitude
  • latitude

User

  • User_id
  • LoginName
  • FirstName
  • LastName
  • EmailAddress
  • Address_id
  • Rights (system user?)

Shop

  • Shop_id
  • Name
  • Type (Beer , pizza ... )
  • Description
  • Address_id

Item

  • Item_id
  • Name
  • Type (Beer, pizza, ...)
  • Description
  • Manufacturer
  • Price

Review

  • Item_Id
  • User_id
  • Rating
  • Comment

Implementation

ProductReview VDF AJAX implementation