Friday, November 6, 2009

Exercise 12

MVC architecture of an online bookstore

Model
  • Customer model - Holds customers information
  • Order model - For processing orders
  • Book model -Holds information and functions of books
  • Shopping Cart model -Holds information of the customers transaction
View
  • Book Controller - searching for books
  • Book Controller - information on books
  • Order Controller - ordering for books
  • Order Controller - books availability
  • Order Controller - order confirmation
  • Order Controller - order status
  • Shopping Cart Controller - add to cart, contents of cart
  • Shopping Cart Controller - purchasing
Controller
  • Books - lookup, return methods
  • Orders - create, cancel and status of books
  • Shopping Cart - add, modify, cancel
  • Customer - get details

No comments:

Post a Comment