NILLAND<br />Trainer: Nguyen Hung Dung <br />Group 2:  Nguyen DuyAnh (leader)<br />Store.nilland.com<br />
Nilland<br />The eMarket  project<br />Form 2A: CRS<br />1<br />Form 3: Project Plan<br />2<br />3<br />Form 6: Table Desi...
FORM 2A: CRS<br />List of Inputs to the website:<br />Customer's information: Customer's ID, full name, address, telephone...
FORM 2A: CRS<br />List of Outputs Expected from the Website      &      Overview of Processes Involved in the Website<br /...
FORM 2A: CRS<br />List of Inputs to the website:<br />4<br />Store.nilland.com<br />
FORM 3: PROJECT PLAN<br />Project Details<br />Name of the Client: Modern Shoes Company<br /> <br />Date of Project Plan:	...
Type<br />Brand<br />Name<br />Stock<br />Sale<br />Product ID<br />Promotion ID<br />Season<br />TypeID<br />Type name<br...
2<br />3<br />1<br />Date of birth<br />Promotion ID<br />Start date<br />End date<br />Promotion name<br />Sale<br />User...
FORM 6: TABLE DESIGN DOCUMENT<br />Product table<br />1<br />Store.nilland.com<br />
FORM 6: TABLE DESIGN DOCUMENT<br />UserReview table<br />2<br />Store.nilland.com<br />
FORM 6: TABLE DESIGN DOCUMENT<br />Customer table<br />3<br />Store.nilland.com<br />
FORM 6: TABLE DESIGN DOCUMENT<br />Order table<br />4<br />Store.nilland.com<br />
FORM 6: TABLE DESIGN DOCUMENT<br />OrderDetail table<br />5<br />Store.nilland.com<br />
FORM 6: TABLE DESIGN DOCUMENT<br />Feedback table<br />6<br />Store.nilland.com<br />
FORM 6: TABLE DESIGN DOCUMENT<br />Promotion table  &  PromotionDetail table<br />7<br />8<br />Store.nilland.com<br />
FORM 6: TABLE DESIGN DOCUMENT<br />Type table, Brand table, Material table & Season table<br />9<br />10<br />11<br />12<b...
Begin<br />Input Information<br />Error message<br />Check Valid<br />Query Database<br />Check database<br />T (exist)<br...
Begin<br />Choose Product <br />Display product information<br />Input information <br />F<br />Check valid<br />Error mes...
Begin<br />Choose Product<br />F<br />Confirm delete<br />T<br />Query Database<br />Check ProductID in child-table<br />T...
2<br />3<br />1<br />Check ProductID in Review table<br />T (exist)<br />F (not exist)<br />Delete Review in Review Table<...
Begin<br />Input Information<br />Check Valid<br />F<br />Error Message<br />T<br />Query Database<br />Check Database<br ...
Begin<br />Input old password, new password<br />Check Valid<br />F<br />Error Message<br />T<br />Query Database<br />Che...
Begin<br />Retake Password<br />1. Enter Username<br />Input Username<br />F<br />Check Valid<br />Error Message<br />T<br...
2<br />1<br />F<br />Check Valid<br />Error Message<br />T<br />Check Database<br />F (not exist)<br />T (exist)<br />Disp...
Begin<br />Choose User<br />Choose User's Type<br />Error message<br />Error message<br />Query Database<br />Check Userna...
Begin<br />Input information<br />Check valid<br />T (exist)<br />Error message<br />F (not exist)<br />Query Database<br ...
Begin<br />Choose Promotion <br />Display promotion information<br />Input information <br />F<br />Check valid<br />Error...
Begin<br />Choose Promotion<br />Display non-added product<br />Choose Product<br />Error message<br />Query Database<br /...
Begin<br />Display Promotion Product<br />Choose Promotion<br />T<br />Display added product<br />Error Message<br />Choos...
Begin<br />Choose product<br />Confirmation<br />F<br />T <br />Error message<br />Query Database<br />F (not exist)<br />...
Begin<br />Choose User<br />F<br />Confirm delete<br />T<br />Error Message<br />Query Database<br />F (not exist)<br />Ch...
2<br />3<br />1<br />Check Username in Feedback table<br />T (exist)<br />Delete Feedback in Feedback table<br />F (not ex...
Begin<br />Choose Review<br />Error message<br />Query Database<br />Check database<br />F (not exist)<br />T (exist)<br /...
Begin<br />Input information to search<br />Error message<br />F<br />Check valid<br />T<br />Query Database<br />Display ...
Begin<br />Choose Product to put in cart<br />Save product in cart<br />Display Cart<br />End<br />CART   ALGORITHM<br />I...
Begin<br />Begin<br />Display Shopping Cart<br />Assign <br />Quantity = Stock<br />Input quantity to update<br />Choose P...
Begin<br />Input information for Order<br />F<br />Error message<br />Check valid<br />T<br />Query Database<br />Insert i...
Begin<br />Choose Order<br />Input information<br />Check valid<br />F<br />Error message<br />T<br />Query Database<br />...
Begin<br />Choose Order<br />F<br />Confirm delete<br />T<br />Error Message<br />Query Database<br />F (not exist)<br />C...
FORM 8<br />Coding standard document<br />Coding standard<br />1. Programming Standard<br />- Separate interface files and...
THANK YOU!<br />
Upcoming SlideShare
Loading in …5
×

Project nilland

695 views

Published on

Designed for reporting about Aptech eproject (Semester I) - e-Commerce project written in PHP

Published in: Technology, Business
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
695
On SlideShare
0
From Embeds
0
Number of Embeds
2
Actions
Shares
0
Downloads
0
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

Project nilland

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

×