screen sequence diagrams

Post on 30-Dec-2015

36 Views

Category:

Documents

0 Downloads

Preview:

Click to see full reader

DESCRIPTION

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. - PowerPoint PPT Presentation

TRANSCRIPT

+

Screen Sequence DiagramsOver-Clocked Developers

+General Overview

routes.rbController

#Action

Model

Controller#ActionView

+Key

Controller#Action

View (html)

Model

Success Path

Failure Path

ApplicationServer

ApplicationDatabase

routes.rb

+Table of Content

DC 1Create an Account

DC 2Log In

DC 3Log Out

DC 4Recover Password

DC 5View Purchase History

DC 6View Account Profile

DC 7Edit Account Profile

DC 8View About Us

DC 9Search For Products

DC 10View Product Information

DC 11Purchase a Product

DC 12List a Product

DC 13Update a Listed Product

DC 14View Inventory Levels

DC 15Track Sales

DC 16Contact a Seller

+DC 1 - Create an Account

register_profile.html

User_Controller#add_new_profile action

user.rbUC 1

routes.rb

Authenticate_Controller#login action

index.html

Back

to Ta

ble

of

Conte

nt

+DC 2 - Log In

login.html

Authenticate_Controller#login action

user.rbUC 2

routes.rb

index.html

Back

to Ta

ble

of

Conte

nt

+DC 3 - Log Out

Any page on website

Authenticate_Controller#logout action

UC 3

routes.rb

index.html

Back

to Ta

ble

of

Conte

nt

+DC 4 - Recover Password

recover_password.html

User_Controller#recover_password action

user.rbUC 4

routes.rb

index.html

Back

to Ta

ble

of

Conte

nt

+DC 5 - View Purchase History

Navigation Bar

Order_Controller#view_history action

orders.rb

view_history.html

UC 5

routes.rb

Back

to Ta

ble

of

Conte

nt

+DC 6 - View Account Profile

Navigation Bar

Profile_Controller#show_profile action

user.rb

show_profile.html

UC 6

routes.rb

Back

to Ta

ble

of

Conte

nt

+

Any page on website

User_Controller#edit_profile action

User.rb

Show_profile.html Edit_profile.html

UC 7

routes.rb

Gathering user data from database

DC 7 - Edit Account ProfileB

ack

to Ta

ble

of

Conte

nt

+

Any page on website

UC 8

routes.rb

About_us.html

Home_Controller#about action

DC 8 - View About UsB

ack

to Ta

ble

of

Conte

nt

+

Any page on website

Product_Controller#index Action

Model

index.html

UC 9

routes.rb

Connection with database and search for data entry

DC 9 - Search For ProductsB

ack

to Ta

ble

of

Conte

nt

+

index.html

Product_Controller#show actions

Model

show.html 500.html

UC 10

routes.rb

Connection with database and search for data entry

DC 10 - View Product InformationB

ack

to Ta

ble

of

Conte

nt

+

product.html

System checks if the product is still available and adds the

users purchase to the website’s

database.

The User views the Products Page

Orders_Controller#buy Action

Order.rb

routes.rbThe System

shall determine if the purchase was successful

or not

Controller sends the purchase

request to the model

and the database

confirmation.html product.html

DC 11 – Purchase a Product

UC 11

Back

to Ta

ble

of

Conte

nt

+DC 12 – List a Product

UC 12

Products.rb

Product_Controller#create action

routes.rb

new.html

list.html 500.html

Back

to Ta

ble

of

Conte

nt

+DC 13 – Update a Product

Products.rb

Product_Controller#update action

edit.html

edit.html

routes.rb

list.html

UC 13

Back

to Ta

ble

of

Conte

nt

+DC 14 – View Inventory Levels

UC 14

my_listed_products.html

Product_Controller#view_inventory action

products.rb

view_inventory.html routes.rb

Back

to Ta

ble

of

Conte

nt

+DC 15 – Track Sales

list.html

Orders_Controller#sold action

order.rb

sold.html

UC 15

routes.rb

Back

to Ta

ble

of

Conte

nt

+DC 16 – Contact a Seller

listed_products.html

User_Controller#contact_seller action

user.rb

contact_seller.html

UC 16

routes.rb

Back

to Ta

ble

of

Conte

nt

+DC 17 - Log In with Facebook

login.html

Authenticate_Controller#login action

user.rbUC 17

routes.rb

index.html

Back

to Ta

ble

of

Conte

nt

+DC 18 - View Purchase History

User Profile

Profile_Controller#view_wishlist action

wishlist.rb

view_wishlist.html

UC 18

routes.rb

Back

to Ta

ble

of

Conte

nt

+DC 19 - View BuyBox Estimate Price

new_product.html

Product_Controller#estimate action

API CallUC 19

routes.rb

Back

to Ta

ble

of

Conte

nt

+DC 20 - Review System

User Profile

Review_Controller#view_review action

review.rb

view_review.html

UC 20

routes.rb

Back

to Ta

ble

of

Conte

nt

+DC 21 - Add Products to Wish List

Product page

Wishlists_Controller#add action

review.rb

show.html

UC 21

routes.rb

Back

to Ta

ble

of

Conte

nt

+DC 22 – Cancel My Account

Account Setting

Users_Controller#delete action

UC 22

routes.rb

index.html

Back

to Ta

ble

of

Conte

nt

+DC 23 – Share Product on Facebook

Products Page

Products_Controller#share action

UC 23

routes.rb

show.html

Back

to Ta

ble

of

Conte

nt

+DC 24 – Generate QR Code

Products Page

Products_Controller#show_qr action

UC 24

routes.rb

Show_qr.html

Back

to Ta

ble

of

Conte

nt

top related