2. Nilland The eMarket project Form 2A: CRS 1 Form 3: Project Plan 2 3 Form 6: Table Design Document 4 Form 7: Process Design Document 5 Form 8: Coding Standards Document 6 Form 9: Task Sheet 7 Form 10: Testing Document Form 11: Project Review 8 Form 12: Final Checklist 9 Store.nilland.com
3. FORM 2A: CRS List of Inputs to the website: Customer's information: Customer's ID, full name, address, telephone, email, join date, username, password, security question, security answer, level, status, account type, avatar. Â Product information: Product ID, product name, color, size, price, rating, user's review, description, category, quantity, producer, picture. Â Producer information: Producer ID, producer name, address, telephone, logo. Â Customer level: level, description. Â User's Review: Review ID, product, content, customer. Â Category information: Category ID, Category name. Â Order: Order ID, product, quantity, customer, order date, delivery date, status. Â Feedback: Feedback ID, customer, date, content. 1 Store.nilland.com
4. FORM 2A: CRS List of Outputs Expected from the Website & Overview of Processes Involved in the Website Process register. Process login. Process searching. Process changing profile. Process changing password. Process deleting user, product, category, producer, user's review, contact, order. Process display product or user's information Display product information Display category information Display customer's information Display producer's information Display search result Display order information 3 2 Store.nilland.com
5. FORM 2A: CRS List of Inputs to the website: 4 Store.nilland.com
6. FORM 3: PROJECT PLAN Project Details Name of the Client: Modern Shoes Company  Date of Project Plan: Start date: June, 22nd 2010. End date: August, 24th 2010. Project Vision / Objectives: To provide a modern website with interactive interface and being able to: - Display product information. - Sell product online. - Smoothly accesing database for updating, deleting, adding product as well as retrieving information. - Easily maintain the whole website.  Scope: - Display product information to visitor. - Visitor can register an account to buy these products online. Website will provide some helpful feature to make user feel more comfortable. - Payment process is not covered. 1 Store.nilland.com
7. Type Brand Name Stock Sale Product ID Promotion ID Season TypeID Type name BrandID Brand name SeasonID Season name MaterialID Material name Gender Rating TypeID BrandID MaterialID Description Product ID SeasonID Picture Color Size Order ID Product ID Quantity Price Color Size Username Product ID Content ReviewID Material Product Order detail Promotion Detail Price Review 2 3 1
8. 2 3 1 Date of birth Promotion ID Start date End date Promotion name Sale Username Password Type Security question Fullname Avatar Security answer Gender Address Email Phone Promotion Order Order ID Delivery date Status Order date Username Address Feedback ID Content Username Feedback date Customer Feedback E-R MODEL
9. FORM 6: TABLE DESIGN DOCUMENT Product table 1 Store.nilland.com
10. FORM 6: TABLE DESIGN DOCUMENT UserReview table 2 Store.nilland.com
11. FORM 6: TABLE DESIGN DOCUMENT Customer table 3 Store.nilland.com
12. FORM 6: TABLE DESIGN DOCUMENT Order table 4 Store.nilland.com
13. FORM 6: TABLE DESIGN DOCUMENT OrderDetail table 5 Store.nilland.com
14. FORM 6: TABLE DESIGN DOCUMENT Feedback table 6 Store.nilland.com
16. FORM 6: TABLE DESIGN DOCUMENT Type table, Brand table, Material table & Season table 9 10 11 12 Store.nilland.com
17. Begin Input Information Error message Check Valid Query Database Check database T (exist) F (not exist) Insert Product into Database Successful message End Adding Product
18. Begin Choose Product Display product information Input information F Check valid Error message T Query Database T (exist) Check database F (not exist) Update Database Success message End Update product
19. Begin Choose Product F Confirm delete T Query Database Check ProductID in child-table T (exist) F T Confirm delete F (not exist) Check ProductID in Order Detail table T (exist) F (not exist) Delete Product in Order Detail Table 3 2 Delete Product 1
20. 2 3 1 Check ProductID in Review table T (exist) F (not exist) Delete Review in Review Table Check ProductID in Promotion table T (exist) F (not exist) Delete Promote in Promotion Table Delete Product End 1
21. Begin Input Information Check Valid F Error Message T Query Database Check Database F (not exist) T (exist) Successful Message End Admin Login
22. Begin Input old password, new password Check Valid F Error Message T Query Database Check Database F (not exist) T (exist) Update new Password Successful Message End Change admin password 1
23. Begin Retake Password 1. Enter Username Input Username F Check Valid Error Message T 2. Enter security answer Query Database Check Database F (not exist) T (exist) 3. Display temporary password Display Security Question Input Security Answer 2 1
24. 2 1 F Check Valid Error Message T Check Database F (not exist) T (exist) Display Temporary Pasword End
25. Begin Choose User Choose User's Type Error message Error message Query Database Check Username in Customer table F (not exist) T (Admin) T (exist) Check current User's Type Check new User's Type F T (Admin) F (not Admin) Set account to new level Successful message End Change account level 1
26. Begin Input information Check valid T (exist) Error message F (not exist) Query Database Check database T (exist) F (not exist) Insert into Promotion table Successful message End Adding Promotion
27. Begin Choose Promotion Display promotion information Input information F Check valid Error message T Query Database T (exist) Check database F (not exist) Update Database Success message End Update promotion
28. Begin Choose Promotion Display non-added product Choose Product Error message Query Database Check database T (exist) F (not exist) Insert Product into PromotionDetail table End Adding Promotion Product
29. Begin Display Promotion Product Choose Promotion T Display added product Error Message Choose Product F Confirm delete T Query Database F (not exist) Check database T (exist) Delete Product from PromotionDetial table End Delete promotion product 1
30. Begin Choose product Confirmation F T Error message Query Database F (not exist) Check database T (exist) Check PromoteID in PromotionDetail table F Confirmation T (exist) T F (not exist) Delete from PromotionDetail table Delete from Promotion table Successful message End Delete Promotion 1
31. Begin Choose User F Confirm delete T Error Message Query Database F (not exist) Check Database T (exist) T (Admin) Check User's type F (not Admin) Check Username in child-table T (exist) F T Confirm delete F (not exist) 3 2 1 Delete Account 1
32. 2 3 1 Check Username in Feedback table T (exist) Delete Feedback in Feedback table F (not exist) Check Username in Review table T (exist) Delete Review in Review Table F (not exist) Check Username in Order table T (exist) Check Order in OrderDetail table F (not exist) F (not exist) T (exist) Delete Order in OrderDetail Table Delete Order in Order Table Delete Product End 1
33. Begin Choose Review Error message Query Database Check database F (not exist) T (exist) F Confirmation T Delete from Review table Successful message End Delete Review 1
34. Begin Input information to search Error message F Check valid T Query Database Display result End Search product
35. Begin Choose Product to put in cart Save product in cart Display Cart End CART ALGORITHM Insert product into cart
36. Begin Begin Display Shopping Cart Assign Quantity = Stock Input quantity to update Choose Product to delete Check Stock >= Quantity F Error Message Delete Product in Shopping Cart T T Update Quantity in Shopping Cart Display Shopping Cart Display Shopping Cart End End CART ALGORITHM Update product quantity in cart Deleteproduct from cart
37. Begin Input information for Order F Error message Check valid T Query Database Insert into Order table Insert into OrderDetail table Success message End Make order 1
38. Begin Choose Order Input information Check valid F Error message T Query Database Check database F T Update Order table Success message End Update order
39. Begin Choose Order F Confirm delete T Error Message Query Database F (not exist) Check database T (exist) Check OrderID in Order Detail table T (exist) F Confirmation F (not exist) T Delete Order Delete Product in Order Detail Table Successful message End Delete Order 1
40. FORM 8 Coding standard document Coding standard 1. Programming Standard - Separate interface files and processing files. - Homepage: CSS files are in CSS folder, JavaScript files in Javascript folder and Images are in image folder. - Code files for Admin page are put into admin-panel folder. 2. Standards for Code Writing Style - Function and variable names begin with normal letter for the first word, then followed by words with caption letter for the first letter. - Nested statement must be arranged logically. - Code files are well commented. 3. Standards for Declaring Variables - Variable names should be descriptive and short enough. 4. Standards for Function Declarations - Just like standard for declaring variable, fucntion should be descriptive for what they do. - Different function for separated tasks. 5. Other Standards - File names should be clear. - Processing files should end with the word "pro". ! Store.nilland.com