Data Source
CS290F Fall 2006 - UCSB Computer Science - Thorsten von Eicken
[edit]
Data Source
We will rely on Amazon E-Commerce Service (ECS) to collect data for DVDs titles, manufacturer, producer, image, price, audience rating and format. ECS can be used also to fetch user reviews.
We have designed the schema of our database to hold all the information gathered from the data source. The figure below shows the schema. Blue table are the primary tables, while yellow ones are the M-N relation table.
[edit]
Project 2 Functionality
- Models:
- dvds: dvds title, manufacturer, producer, average_user_rating, ... etc.
- actors: actor name (for now). We may include a short biography.
- users: users accounts data (username, hashed password)
- shopping cart: saved shopping cart for each user
- Controllers
- dvds: operate on dvds: list them alphabetically, search by name, modify rating.
- users: operate on users: add user(username, password), log in user.
- shopping cart: add shopping cart item, remove shopping cart item, empty shopping cart.
