Bookstore Project Requirements
Wed, 05/20/2009 - 23:25 — surya
Create a mini-application that represents an bookstore's inventory, and which can be used to do the following: - Add a book (should store title, author, and initial number of copies in stock, at a minimum) - Output a list of books and the number of copies in the store - Create an order for one or more books, which automatically decrements the number of copies of the books in stock - Output a list of all books that have been sold (via orders), with a total number of copies sold for each book - Output a list of all books that have never been ordered.
This is a very simple book inventory demo application with no security(Authentication,Permissions,Session). Its like a virtual book store where a user can view,list,add,edit and delete books, It can also process simple order for one or more books.
and in the end show a basic report of sold and unsold books. Description:
The default or start page is a view(index.ctp) which shows all the books in the database. There are links to  Add a Book,  view Sold Books,  view Available Books  view UnSold Books,  view Book Info, Order Book,  Delete Book,  Edit Book.
 Add Book: To add a book in inventory
Once clicked, a form comes up with three fields(Title,Author and quantity) used to add a book. Quantity shows how many books are present in inventory. There are basic validations like fields cannot be empty and quantity should be a positive number, unless satisfied it can not be saved.  Sold Books: To see number copies of books sold.
 UnSold Books: To see number copies of books NOT sold.
 Available Books: Show list of books which have quantity greater than 0  View Book: Click on the book title to see basic information about a book, including number of sold copies.  Order Book: To create an order, submit the form by selecting the quantity greater than 0. Once...
Please join StudyMode to read the full document