Tài liệu hạn chế xem trước, để xem đầy đủ mời bạn chọn Tải xuống
1
/ 117 trang
THÔNG TIN TÀI LIỆU
Thông tin cơ bản
Định dạng
Số trang
117
Dung lượng
16,28 MB
Nội dung
BO GIA.O DUC vA BAo TAO • '" t' " TRU'ONG BHDL NGOAI NGiJ' - TIN HOC TP.HCM KHOA CONG NGH~ THONG TIN i , , - Jr .- KHOA LUAN TOT NGHIEP • • , CONG CU• ENTERPRISE ARCHITECT DE MO HINH HOA vA THIET KE THEOUML GIA.O VIEN HUONG nAN: TS TAAN VAN LANG SINH VIEN THVC HI~N: NGUYEN HUYNH NHU' MAl TP.HO CHi MINH - 2004 MUCLUC • • ?'" • ~ • CHUONG 1: Tim hieu UML 1.1 BiSu db Use Case 1.2 Bi~u d? 1&p 1 ? ~ , ~~u d~ C(?[lgtac 1.3 B'~ 1.4 B 1eu tuan tV 1.5 BiSu db hoat dong ~; , ,1.6 B 1~u d? tr?ng thaI ~ d0~ cal , d~ ?t 1.7 B.leu CHU'ONG 2: Gio'i thi~u Enterprise 2.1 2.2 2.3 2.4 2.5 Architect !.: 3.1 3.2 3.3 3.4 3.5 3.6 3.7 Mo hinh hoa dfr 1i~u Quan ly lno hinh Lam vi~c tren dfr li~u Nh?p - Xu~t Quan ly khung nhin Dung chung Bao m?t ngmJi dung 3.8 Quan ly dv an 3.9 KT thu?t sinh Ina 3.10 T?o tai li~u 3.11 S u tu dong h6a CHU'ONG 4: Ung d1}ng m ua 10 11 Enterprise Architect Cac ~n b~m clla Enterprise Architect Khong gian l~un vi~c :8?C diSm clla Enterprise Architect Cac khai ni~m m6i Enterprise Architect CHU'ONG 3: Cac chu'c nang chinh clla Enterprise 11 11 11 14 15 Architect ( 17 17 17 18 19 20 20 22 24 25 27 27 hilllg sieu thi Gi 6i thi ~u 4.2 Quy trinh nghi~p v\l 4.3 1\110 hinh h~ th6ng 4.4 Mo hinh dfr li~u 4.5 Cac giao di~n clla ung d\lng 29 29 31 36 83 94 • • LmMODAu • Ngay nay, cac dlJ an phM triSn theo huang d6i tugng, UML dang tra rnQt chufrn dS pht,lc vt,lqua trinh phan tich va thiSt kS cac h~ th6ng Ben c:;mh do, rna hinh cho rnQt h~ th6ng bftt ki la rnQt cang vi~c rnftt nhiSu thai gian va cang suc Vi V?y, SlJ dCri cua cac cang Ct,lCASE (Computer Assisted/ Aids System Engineering) vai UML la chia khoa cung cftp sv tich hqp gifra chung da giup cac nha phan tich va thiSt kS tiSt ki~m duQ'CnhiSu thai gian va cang suc Trong s6 do, Enterprise Architect la rnQt cang Ct,lcho phep rna ta nhanh chong, dfty du tu y ni~rn ban dftu dSn kSt qua cu6i cung cua mQt dv an Bao cao t6t nghi~p nh~m trinh bay vS cang ct,lEnterprise Architect phien ban 3.51 dS rna hinh hoa theo UML Do do, chuang dftu tien se cung cftp cai nhin t6ng quat vS UML Sau do, chuang di vao giai thi~u vS ngu6n g6c, cac ftn ban cling nhu cung cftp mQt cai nhin toan canh vS cang Ct,l Enterprise Architect Va cac chuc nang cua cang Ct,lduQ'c trinh bay chuang Cu6i cung, chuang la cac rna ta vS h~ th6ng rnua hang cua mQt sieu thj qua m:;mgb~ng cang ct,lEnterprise Architect Mt,lc tieu dS sau thvc hi~n d6 an la kha nang lam vi~c vai Enterprise Architect Tu' do, sU'dt,lng cang ct,l dS rna hinh h~ th6ng mua hang cua mQt sieu thj tren rn"mg r6i triSn khai mQt trng dt,lng web theo nhling gi da ma tao Do di sau vao nghien clm cang Ct,lva rna hinh cho h~ th6ng nen trng dVng khang tninh duQ'cnhfrng thiSu sot Tuy nhien, vai vi~c Slr dt,lng l:;ti, thay thS cac chu6i ki tv b~ng cac do:;tn rna thi ung dt,lng co thS duQ'c b6 sung rftt dS dang, nhanh chong Ngoai ra, day la trang web rnua hang sieu thj - nai co cang nhiSu m~t hang rnai, nen ung dt,lng duQ'c viSt dS co thS thay d6i theo Co' dfr li~u ben duai so •• Chuang 1: Tim hiSu UML • I I CHUaNG 1: TIM HIEU UML ~ Cung vai sv dai va phat triSn Clla ngon ngfr l?p trinh huang d6i tuqng (Simula, Smalltalk, C++, Java, C#) co rAt nhiSu tai li~u thiSt kS huang d6i tUQ'llgxuAt hi~n vai nhiSu ki hi~u biSu diSn khac Trong s6 do, n6i b?t len la cach ma hinh clla tac gia Rumbaugh vai Ky thu?t ma hinh huang d6i tUQ'llgOMT (Object Modelling Technique), Booch vai Ky thu?t mo hinh b~ng nhu'ng hinh anh phllc t~p Booch va Jacobson vai Cang ngh~ ph~n mSm huang d6i tUQ'llgOOSE (Object-Oriented Software Engineering) Rumbaugh hqp tac vai Booch l?p cong ty ph~n mSm Rational dS phat triSn UML V?y UML la gi'? - la ngon ngu' ma hinh hoa th6ng nhAt, g6m cac khai ni~m hinh hp (Composition): tuang tv quan h~ t\l hQ'p nhung co tinh g~n kSt han, tuc la a~u whole bi xoa thi cac ph~n clla a~u part se bi xoa theo I Window I-~~ -8i tU"o'ng(object): -n6i tU9'l1g d~c trung cho mQt thlJc thS C\lthS hay thlJc thS khai ni~m • I Object name: Class name 1.3.3 K~t ho'p (association): - Kit I19P mo ta k~t n6i gifra cac d6i tugng, va co thS biSu diSn diSu hu6ng association I :Class name role name ~ -'-t-' I aSSOCIaIOn role name :Class name sv I 1.3.4 Thong diep (message): Thong di?p (message) biSu diSn giao ti~p giu'a hai thS hi~n Tac nhan kich thich (stimulus) biSu diSn giao ti~p gifra hai d6i tugng nhu gQi mQt bi~n c6 hay thao tac cua d6i tm;mg khac - Thong di~p co cac khuon d?ng sau: • Procedural or Synchronous (thit tl;ichoi;icd6ng b9): d6i tugng gu'i thong di~p d~n d6i tUQ'ngkhac se dQ'i hanh dQng hoan t~t (kS ca vi~c dQ'ihoan t~t cac hanh dQng d6i tugng nh~n yeu cau d6i tUQ'ngkhac) • Flat (ph!ing): biSu diSn tung buac cua mQt ti~n trinh (duQ'c dung khong bi~t thong di~p co d6ng bQ hay khong) • Asynchronous (khong d6ng b9): d6i tugng gui thong di~p d~n d6i tUQ'ngkhac khong can dQ'i hanh dQng hoan t~t v~n co thS ti~p t\lC cac hanh dQng khac cua minh • Return (tra v~): d6i tugng nh~n tra diSu khiSn cho d6i tugng gu'i - Procedural or Synchronous ) Flat " Asynchronous > Return - Thong di~p d?ng: predecessor [guard-condition} sequence-exp return-value:= message (argument-list) • predecessor (thong di?p lien quyit): li~t ke s6 thu tv cua cac thong di~p phai hoan truac thong di~p hi~n hanh duQ'c gu'i • guard-condition (di~u ki?n bao V?): biSu thtl'c logic can thoa truac thong di~p duQ'cgu'i • sequence-exp (bidu thlfc tu6n tlf): dinh thtl' tv xay tuO'ng taco • return-value (gia trj tra v~) • message (ten thong di?p): bi~n c6 duQ'c gui d~n d6i tUQ'ngdfch Thu~t ngu' signal (tin hi?u) chi bi~n c6 duQ'c gu'i khong d6ng bQ • argument-list (danh sach d6i s6) Chuang r 1: Tim hiSu UML 1.4 BIEU 1)0 TuAN TU (SEQUENCE DIAGRAM): Bi~u tu~n t•.•.rno hinh tuang tac gifra cac thS hi~n d6i tm;mg - thtl' tv cua cac thong di~p 1a quan trQng nh~t - thtl' tv cua cac thS hi~n d6i tUQ'ng khong quan trQng, theo qui uac til trai qua phai 1a tac nhan, d6i tugng giao di~n va cac d6i tUQ'ng khac BiSu d6 tu~n tv g6rn: da - 1.4.1 I)ml'ng sinh tan (lifeline): DU'tsan ph~m dS xem thong tin chi ti@tvS san ph~m -!J SIUJlHl.COM - Microsoft Inlernel tdit Ede o Bocl • ~w FO,vorites L;J \() r;]@[g] Explorer tjelp lools ftl jJ 5o""h "k F.",d., I] Go rljf H~J.tngay 26 thang 07 nam 2004 ~lr"ng ~i~'J1J.1i eoN\ ~ NOI rnua sAn, Ii tin cl)y clja bf.ln ch" 1lJ( Xem gio hling I \l:.'lTlilkhalin I (gLiBn hi) • II i& ~ Cong ty SJC o o o ~ Sach bao Gla: 11.000.0ll0 C6n: 10.450.000 VNO VND Gia: 12.500.000 VND Gia: 12.500.000 VND Con: nnuyen (Jia Con: nguyen VNO glA Cong tv SlC Gia: 12.500.000 Con: 11.075.000 VNO VND Thllcpham Tt-ang sue Cong ty SJC Gia: 12.500.000 Con: nguyen uia COOVflght 2004, Nguyen Gia: 12.500.000 VND Con: nguyen 01 lr.no 2/3 Huynh Nhtf Mai i Sllocollntr ten: thoQi: (.)Ola chi: kh~ch hong • Chinh stYa thong tin khnch hang (kMnadfill) 1.1: (')nINO: Oiitn W XBm gl6 hoangviet ("')I\13t khifu: (.)L~p chu I cOy chi _ Quitn trj_ • Trang LOG OUT IiJ (8J • Help (kl?6nadtill) [~:~.~:x.~~!~~J ~~.~.~_~ ~~.! ==:~=~:~:=:=~::::::~:~:::::.:] [~i6~~~~?1=:::::] (')NOdV sinh: ii~i1i~~:=] Nam ~896i~~~~.-_=.=~J Email: 1~9:pIE~~:€hE1T~.:~i.::::::::.:.=:=::.:.::=: ::] Oie'm tJdl lOy: L~ phi: (dlmlyyyy) [~!:~~~~~_~~~~~~~~.~~~](abcOxvz.COm) ;9 =~==] 00,000 VND • '¥J1¥ii Copyri(Jht 2004 Nouvan Huvnh Nhl1 Mai 111 Chuang 4: (J'ng d\mg mua hang sieu thi 4.5.17 Trang them mot khach hang m6i: C6 thS them m6i b~ng cach: Nh~p thong tin tl,l'CtiSp Ch