280 likes | 355 Views
Screen Sequence Diagrams. Over-Clocked Developers. General Overview. r outes.rb. Controller #Action. Model. View. Controller #Action. Key. View (html). Application Server. Success Path. Controller#Action. Failure Path. Application Database. Model. routes.rb. Table of Content.
E N D
Screen Sequence Diagrams Over-Clocked Developers
General Overview routes.rb Controller #Action Model View Controller #Action
Key View (html) Application Server Success Path Controller#Action Failure Path Application Database Model routes.rb
Table of Content • DC 1 Create an Account • DC 2 Log In • DC 3 Log Out • DC 4 Recover Password • DC 5 View Purchase History • DC 6 View Account Profile • DC 7 Edit Account Profile • DC 8 View About Us • DC 9 Search For Products • DC 10 View Product Information • DC 11 Purchase a Product • DC 12 List a Product • DC 13 Update a Listed Product • DC 14 View Inventory Levels • DC 15 Track Sales • DC 16 Contact a Seller
DC 1 - Create an Account register_profile.html index.html routes.rb Back to Table of Content User_Controller #add_new_profile action Authenticate_Controller #login action user.rb UC 1
DC 2 - Log In login.html routes.rb Back to Table of Content index.html Authenticate_Controller #login action user.rb UC 2
DC 3 - Log Out Any page on website routes.rb Back to Table of Content Authenticate_Controller #logout action index.html UC 3
DC 4 - Recover Password recover_password.html routes.rb Back to Table of Content index.html User_Controller #recover_password action user.rb UC 4
DC 5 - View Purchase History Navigation Bar view_history.html routes.rb Back to Table of Content Order_Controller #view_history action orders.rb UC 5
DC 6- View Account Profile Navigation Bar show_profile.html routes.rb Back to Table of Content Profile_Controller #show_profile action user.rb UC 6
DC 7- Edit Account Profile Any page on website Edit_profile.html Show_profile.html routes.rb Back to Table of Content User_Controller #edit_profile action Gathering user data from database User.rb UC 7
DC 8- View About Us Any page on website routes.rb Back to Table of Content Home_Controller #about action About_us.html UC 8
DC 9- Search For Products Any page on website index.html routes.rb Back to Table of Content Product_Controller #index Action Connection with database and search for data entry Model UC 9
DC 10 - View Product Information index.html 500.html show.html routes.rb Back to Table of Content Product_Controller #show actions Connection with database and search for data entry Model UC 10
DC 11 – Purchase a Product The User views the Products Page confirmation.html product.html product.html Controller sends the purchase request to the model and the database Back to Table of Content routes.rb System checks if the product is still available and adds the users purchase to the website’s database. The System shall determine if the purchase was successful or not Orders_Controller #buy Action Order.rb UC 11
DC 12 – List a Product new.html routes.rb Back to Table of Content Product_Controller #create action list.html 500.html Products.rb UC 12
DC 13 – Update a Product edit.html routes.rb Back to Table of Content Product_Controller #update action list.html edit.html Products.rb UC 13
DC 14 – View Inventory Levels my_listed_products.html view_inventory.html routes.rb Back to Table of Content Product_Controller #view_inventory action products.rb UC 14
DC 15 – Track Sales list.html sold.html routes.rb Back to Table of Content Orders_Controller #sold action order.rb UC 15
DC 16 – Contact a Seller listed_products.html contact_seller.html routes.rb Back to Table of Content User_Controller #contact_seller action user.rb UC 16
DC 17 - Log In with Facebook login.html routes.rb Back to Table of Content index.html Authenticate_Controller #login action user.rb UC 17
DC 18 - View Purchase History User Profile view_wishlist.html routes.rb Back to Table of Content Profile_Controller #view_wishlist action wishlist.rb UC 18
DC 19 - View BuyBox Estimate Price new_product.html routes.rb Back to Table of Content Product_Controller #estimate action API Call UC 19
DC 20 - Review System User Profile view_review.html routes.rb Back to Table of Content Review_Controller #view_review action review.rb UC 20
DC 21 - Add Products to Wish List Product page show.html routes.rb Back to Table of Content Wishlists_Controller #add action review.rb UC 21
DC 22 – Cancel My Account Account Setting routes.rb Back to Table of Content Users_Controller #delete action index.html UC 22
DC 23 – Share Product on Facebook Products Page routes.rb Back to Table of Content Products_Controller #share action show.html UC 23
DC 24 – Generate QR Code Products Page routes.rb Back to Table of Content Products_Controller #show_qr action Show_qr.html UC 24