You are on page 1of 25

TI: NG

DNG UML PHN TCH THIT K WEBSITE BN LAPTOP


Gio vin hng dn: Ts Trn Anh Kit

Ni dung
Actors v Use-cases c t Use cases Use-cases Model Sequence Model Collaboration Model Class Model Activity Model Statechart Model Component Model Deployment Model

Cc Actor
User Guest Customer Administrator Order Manager Product Manager

Cc Use-case
Login Logout Search Register Browse Category Change Password View Product Detail Add To Shopping Cart

Cc Use-case
Order Entry Delete Order Update Order Manage Orders Update Quantity Manage Products View Shopping Cart Delete Item From Cart

Cc Use-case
Add Product Update Product Delete Product Add New Manufacturer Add New Processor Order Report Manage Employeers

Name of Use Case: Brief Description: Actors: Basic Flow:

Add To Shopping Cart Use-case ny cung cp chc nng thm mt item vo gi hng. Customer Use-case bt u khi actor click vo button Add to cart ca mt Laptop c th. H thng s to mt gi hng ri thm sn phm vo gi hng H thng thng b thm sn phm thnh cng, lu d liu mi vo gi hng.

Alternate Flows: Special requirements:


Pre-conditions: Post-conditions: Extension points:

Nu c gi hng trong sesscion h thng s ch thm sn phm vo gi hng. Actor phi ang kt ni vo mng internet.
Actor ang trng thi ng nhp. Khng c. Khng c.

c t Use-cases

Name of Use Case: Brief Description: Actors: Basic Flow:

Order Entry Use-case ny cung cp chc nng to n t hng khi khch hng la chn xong v quyt nh mua nhng sn phm trong gi hng. Customer Use-case bt u khi actor click vo button Finish. Actor click I agree khi h thng hin th mt thng bo yu cu actor xc nhn vic t hng. H thng hin th thng ip bo cho actor bit to n t hng thnh cng v nhn vin ca cng ty s sm lin lc vi khch hng, ng thi h thng lu d liu t hng vo database. ng thi h thng xa b gi hng.

Alternate Flows: Special requirements: Pre-conditions: Post-conditions: Extension points: o

Actor click No khi h thng yu cu xc nhn vic t hng, h thng a actor tr li mn hnh qun l sn phm trong gi hng. Actor phi ang kt ni vo mng internet. Actor ang trng thi ng nhp. Khng c. Khng c.

c t Use-cases

Biu Sequence ca Use-case Add To Shopping Cart

Biu Sequence ca Use-case Order Entry

Biu Sequence ca Use-case Add To Shopping Cart

Biu Sequence ca Use-case Order Entry

Biu Collaboration ca Use-case Add To Shopping Cart

Biu Collaboration ca Use-case Order Entry

Biu Class ca Use-case Add To Shopping Cart

Biu Class ca Use-case Order Entry

Biu Activity ca Use-case Add To Shopping Cart

Biu Activity ca Use-case Order Entry

Biu Statechart ca i tng Shopping Cart

Biu Statechart ca Use-case Order Entry

Biu Component ca Use-case Add To Shopping Cart

Biu Component ca Use-case Order Entry

M hnh Deployment

Thank you

You might also like