Sequence Diagram - PowerPoint PPT Presentation

1 / 6
About This Presentation
Title:

Sequence Diagram

Description:

New(in itemID : String, in name : String, in cost : Double, in quantity : Integer) ... m_cost is the private attribute of the public property cost (i.e., unit-price) ... – PowerPoint PPT presentation

Number of Views:83
Avg rating:3.0/5.0
Slides: 7
Provided by: MCh591
Category:

less

Transcript and Presenter's Notes

Title: Sequence Diagram


1
(No Transcript)
2
(No Transcript)
3
Sequence Diagram
ProductBycategory.aspx
ProductRecord.aspx
CategoryProduct.aspx
ShoppingCartShow.aspx
A Customer
cartShoppingCart
Page_Load(sender, e)
Page_Load(sender, e)
Page_Load(sender, e)
CategoryID, CategoryName
ProductID
ButtonAdd_Click(sender, e)
Page_Load(sender, e)
addItem(myItem)
Page_Load(sender, e)
updateCart(itemIDs(), quantities())
OR
Page_Load(sender, e)
Page_Load(sender, e)
OR
Page_Load(sender, e)
4
Class Diagram of Item and ShoppingCart
ShoppingCart
-itemsOrdered Hashtable
The UML Diagram is Partially generated from Visio
Enterprise Architect
New()
Cart() Hashtable
getItemsOrdered() Hashtable
addItem(in myItem Item)
showCart() String
Visibility
updateCart(in itemIDs() String, in
quantities() String)
-setNumOrdered(in itemID String, in numOrdered
Integer)
Public Protected - Private
-Cart
1
-ItemsOrdered

Item
-m_itemID String
m_cost is the private attribute of the public
property cost (i.e., unit-price)
-m_name String
-m_description String
-m_cost Double
-m_quantity Integer
New()
New(in itemID String, in name String, in
cost Double, in quantity Integer)
ItemID() String
name() String
description() String
cost() Double
quantity() Integer
getItem() Item
setItem(in xItem Item)
TotalCost() Double
5
Separation of Presentation and Business Logic
Zero degree of separation
.ASPX HTML Code Event Procedure Script
1st degree of separation
.ASPX (presentation tier) Code Behind (Event
Procedures)
1.5 degree of separation
.ASPX (presentation tier) Code Behind (Event
Procedures Functions)
6
Continued
2nd degree of separation
.ASPX (presentation tier) Code Behind (Event
Procedures Functions) Business Objects
3rd degree of separation
.ASPX (presentation tier) Code Behind (Event
Procedures Functions) Business Objects
Web Services (Remote Procedures)
Achieving Zero degrees of separation from your
business client.
Write a Comment
User Comments (0)
About PowerShow.com