版權(quán)說明:本文檔由用戶提供并上傳,收益歸屬內(nèi)容提供方,若內(nèi)容存在侵權(quán),請(qǐng)進(jìn)行舉報(bào)或認(rèn)領(lǐng)
文檔簡介
1、IntellAgile主講:葉榮華Copyright 2002 Craig Larman. All rights reserved.IntellAgile2IntellAgile3: RegisterenterItem(itemID, quantity): ProductCatalogspec = getProductSpec( itemID )Require-mentsBusiness ModelingDesignSample UP Artifact RelationshipsVisionGlossaryThe logical architecture is influenced by th
2、e constraints and non-functional requirements captured in the Supp. Spec.Domain Model*SupplementarySpecificationUse-Case ModelRegister.makeNewSale()enterItem(.).ProductCatalog.getProductSpec(.).11class diagrams(a static view)interaction diagrams(a dynamic view)UIpackage diagramsof the logical archit
3、ecture(a static view)DomainTech ServicesDesign ModelIntellAgile4IntellAgile5DomainUISwingnot the Java Swing libraries, but our GUI classes based on SwingWebSalesPaymentsTaxesTechnical ServicesPersistenceLoggingRulesEngineIntellAgile6Domain:SalesUI:WebUI:SwingSalesWebSwingUIDomainDomainUISwingSalesWe
4、bIntellAgile7IntellAgile8UI(AKA Presentation, View)Application(AKA Workflow, Process,Mediation, App Controller)Domain(AKA Business, Application Logic, Model)Technical Services(AKA Technical Infrastructure, High-level Technical Services)Foundation(AKA Core Services, Base Services,Low-level Technical
5、Services/Infrastructure)width implies range of applicability GUI windowsreportsspeech interfaceHTML, XML, XSLT, JSP, Javascript, . handles presentation layer requestsworkflowsession statewindow/page transitionsconsolidation/transformation of disparate data for presentation handles application layer
6、requestsimplementation of domain rulesdomain services (POS, Inventory)- services may be used by just one application, but there is also the possibility of multi-application services (relatively) high-level technical services and frameworks Persistence, Securitylow-level technical services, utilities
7、, and frameworksdata structures, threads, math, file, DB, and network I/Omoreapp specificdependencyBusiness Infrastructure(AKA Low-level Business Services)very general low-level business services used in many business domainsCurrencyConverterIntellAgile9IntellAgile10IntellAgile11IntellAgile12Payment
8、amountSaledatetimePays-forPaymentamount: MoneygetBalance(): MoneySaledate: DatestartTime: TimegetTotal(): Money. . .Pays-forUP Domain ModelStakeholders view of the noteworthy concepts in the domain.Domain layer of the architecture in the UP Design ModelThe object-oriented developer has taken inspira
9、tion from the real world domain in creating software classes. Therefore, the representational gap between how stakeholders conceive the domain, and its representation in software, has been lowered.1111A Payment in the Domain Model is a concept, but a Payment in the Design Model is a software class.
10、They are not the same thing, but the former inspired the naming and definition of the latter.This reduces the representational gap.This is one of the big ideas in object technology.inspires objects and names inIntellAgile13Domain(s)Technical ServicesFoundationMySQL InventoryPersistenceNaming andDire
11、ctory ServicesWeb AppFrameworkTechnical ServicesPOSInventoryDomain(s)FoundationWorsemixes logical and deployment viewsBettera logical viewa logical representation of the need for data or services related to these subdomains, abstracting implementation decisions such as a database. componentNovellLDA
12、PUML notation: A UML component, or replaceable, modular part of the physical systemUML notation: A physical database in the UML .IntellAgile14IntellAgile15DomainUISwingProcessSaleFrame.RegistermakeNewSale()enterItem().: CashiermakeNewSale()enterItem()endSale()makeNewSale()enterItem()endSale()enterIt
13、em(id, quantity):System: CashierendSale()description, totalmakeNewSale()the system operations handled by the system in an SSD represent the operation calls on the Application or Domain layer from the UI layerIntellAgile16IntellAgile17IntellAgile18: Register: SalemakePayment(cashTendered)makePayment(
14、cashTendered) : Paymentcreate(cashTendered)IntellAgile191: makePayment(cashTendered)1.1: create(cashTendered):Register:Sale:PaymentmakePayment(cashTendered) direction of messageIntellAgile20java.awt:Fontorjava.awt.Fontplain : Int = 0 readOnly bold : Int = 1 readOnly name : Stringstyle : Int = 0.getF
15、ont( name : String) : FontgetName() : SerfaceRunnablerun()- ellipsis “” means there may be elements, but not shown- a blank compartment officially means “unknown” but as a convention will be used to mean “no members”SubclassFoo.run().SuperclassFooorSuperClassFoo abstract - classOrStaticAttr
16、ibute : Int+ publicAttribute : String- privateAttributeassumedPrivateAttributeisInitializedAttribute : Bool = trueaCollection : VeggieBurger * attributeMayLegallyBeNull : String 0.1 finalConstantAttribute : Int = 5 readOnly / derivedAttribute + classOrStaticMethod()+ publicMethod()assumedPublicMetho
17、d()- privateMethod()# protectedMethod() packageVisibleMethod()constructor SuperclassFoo( Long )methodWithParms(parm1 : String, parm2 : Float)methodReturnsSomething() : VeggieBurgermethodThrowsException() exception IOExceptionabstractMethod()abstractMethod2() abstract / alternatefinalMethod() leaf / no override in subclasssynchronizedMethod() guarded 3 common compartments1. classifier name2. attributes3. operationsinter
溫馨提示
- 1. 本站所有資源如無特殊說明,都需要本地電腦安裝OFFICE2007和PDF閱讀器。圖紙軟件為CAD,CAXA,PROE,UG,SolidWorks等.壓縮文件請(qǐng)下載最新的WinRAR軟件解壓。
- 2. 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請(qǐng)聯(lián)系上傳者。文件的所有權(quán)益歸上傳用戶所有。
- 3. 本站RAR壓縮包中若帶圖紙,網(wǎng)頁內(nèi)容里面會(huì)有圖紙預(yù)覽,若沒有圖紙預(yù)覽就沒有圖紙。
- 4. 未經(jīng)權(quán)益所有人同意不得將文件中的內(nèi)容挪作商業(yè)或盈利用途。
- 5. 人人文庫網(wǎng)僅提供信息存儲(chǔ)空間,僅對(duì)用戶上傳內(nèi)容的表現(xiàn)方式做保護(hù)處理,對(duì)用戶上傳分享的文檔內(nèi)容本身不做任何修改或編輯,并不能對(duì)任何下載內(nèi)容負(fù)責(zé)。
- 6. 下載文件中如有侵權(quán)或不適當(dāng)內(nèi)容,請(qǐng)與我們聯(lián)系,我們立即糾正。
- 7. 本站不保證下載資源的準(zhǔn)確性、安全性和完整性, 同時(shí)也不承擔(dān)用戶因使用這些下載資源對(duì)自己和他人造成任何形式的傷害或損失。
最新文檔
- 2024-2030年中國嬰兒護(hù)理品市場發(fā)展?fàn)顩r及投資前景規(guī)劃研究報(bào)告
- 2024-2030年中國增效苯甘孢霉素項(xiàng)目申請(qǐng)報(bào)告
- 2024-2030年中國團(tuán)膳行業(yè)經(jīng)營模式及投資規(guī)劃研究報(bào)告
- 2024年體育場館墻面涂裝勞務(wù)分包合同2篇
- 2024年滁州商業(yè)場地租賃協(xié)議模板例本版B版
- 梅河口康美職業(yè)技術(shù)學(xué)院《紡織測試技術(shù)》2023-2024學(xué)年第一學(xué)期期末試卷
- 茂名職業(yè)技術(shù)學(xué)院《現(xiàn)代模具設(shè)計(jì)》2023-2024學(xué)年第一學(xué)期期末試卷
- 2021-2022學(xué)年河南省原陽縣第三高級(jí)中學(xué)高一上學(xué)期期中考試數(shù)學(xué)試卷
- 2024年汽車制造專用鋁材采購合同范本及詳細(xì)條款3篇
- 洛陽師范學(xué)院《材料科學(xué)基礎(chǔ)B(二)》2023-2024學(xué)年第一學(xué)期期末試卷
- 股權(quán)合作協(xié)議范本三篇
- 2023年四川省眉山市公開招聘警務(wù)輔助人員(輔警)筆試專項(xiàng)訓(xùn)練題試卷(2)含答案
- 《田間試驗(yàn)》課件
- 【MOOC】概率論與數(shù)理統(tǒng)計(jì)-北京理工大學(xué) 中國大學(xué)慕課MOOC答案
- 人生課件路遙
- 2024年新疆中考化學(xué)真題【附答案】
- CFA固定收益證券知到智慧樹期末考試答案題庫2024年秋首都經(jīng)濟(jì)貿(mào)易大學(xué)
- 高齡心房顫動(dòng)患者抗凝治療中國專家共識(shí)(2024)解讀
- 光伏項(xiàng)目達(dá)標(biāo)投產(chǎn)實(shí)施細(xì)則-施工
- 《技術(shù)經(jīng)濟(jì)學(xué)》練習(xí)題集
- 2023年黑龍江省齊齊哈爾市龍沙區(qū)煙草專賣局公務(wù)員考試《行政職業(yè)能力測驗(yàn)》歷年真題及詳解
評(píng)論
0/150
提交評(píng)論