chap 4 - system design

chap 4 - system design

ID:33835091

大?。?.07 MB

頁數(shù):96頁

時間:2019-02-28

chap 4 - system design_第1頁
chap 4 - system design_第2頁
chap 4 - system design_第3頁
chap 4 - system design_第4頁
chap 4 - system design_第5頁
資源描述:

《chap 4 - system design》由會員上傳分享,免費在線閱讀,更多相關內容在教育資源-天天文庫。

1、2010/1/8ShanghaiJiaoTongUniversityObjtObject-OitdAliOrientedAnalysisandDidDesignChapter4ObjectOrientedSystemDesign上海交通大學軟件工程中心Chapter4ObjectOrientedSystemDesign4.1OODesignOverview4.2ThePrinciplesofObject-OrientedDesign4.3ArchitecturalDesignandUMLPackageDiagram4.4ComponentDesignandU

2、MLComponentDiagram&CompositeStructurediagram4.5ClassDesignandUMLStateMachineDiagramObjectOrientedAnalysisandDesign212010/1/8OODesignOverviewObjectOrientedAnalysisandDesign35.1OODesignOverview?UnderstandingDesign?AnalysisVersusDesign?ObjectOrientedDesignObjectOrientedAnalysisandDesi

3、gn422010/1/8UnderstandingDesign?Aprocessthatusestheproductsofanalysistoproduceaspecificationforimplementingasystem.?AlogicaldescriptionofhowasystemwillAlogicaldescriptionofhowasystemwillwork.?Emphasizesaconceptualsolution(insoftwareandhardware)thatfulfillstherequirements,ratherthan

4、itsimplementation.?“dotherightthing(analysis),anddothethingright(design)”.ObjectOrientedAnalysisandDesign5AnalysisVersusDesign?Analysis?Design?Focuson?Focusonunderstandingtheunderstandingtheproblemsoltilution?Idealizeddesign?Operationsand?Behaviorattributes?Systemstructure?Performa

5、nce?Functional?Closetorealcoderequirements?Objjyectlifecycles?Asmallmodel?Nonfunctionalrequirements?AlargemodelObjectOrientedAnalysisandDesign632010/1/8ObjectOrientedDesign?Thespecificationofalogicalsoftwaresolutionintermsofsoftwareobjects,?suchastheirclasses,attributes,methods,and

6、collaborations.?Duringobject-orienteddesign(orsimply,objectdesign)thereisanemphasisondefiningsoftwareobjectsandhowtheycollaboratetofulfilltherequirements.ObjectOrientedAnalysisandDesign7ThePrinciplesofObject-OrientedDesignObjectOrientedAnalysisandDesign842010/1/85.2ThePrinciplesofO

7、bject-OrientedDesign?SRP:SingleResponsibilityPrinciple?OCP:TheOpen-ClosedPrinciple?LSP:TheLisoSubsuoskovSubstitutionPrincpeciple?DIP:TheDependencyInversionPrinciple?ISP:TheInterfaceSegregationPrincipleObjectOrientedAnalysisandDesign9SRP:TheSingle–ResponsibilityPrinciple?AClassshoul

8、dhaveonlyonereasontochange

當前文檔最多預覽五頁,下載文檔查看全文

此文檔下載收益歸作者所有

當前文檔最多預覽五頁,下載文檔查看全文
溫馨提示:
1. 部分包含數(shù)學公式或PPT動畫的文件,查看預覽時可能會顯示錯亂或異常,文件下載后無此問題,請放心下載。
2. 本文檔由用戶上傳,版權歸屬用戶,天天文庫負責整理代發(fā)布。如果您對本文檔版權有爭議請及時聯(lián)系客服。
3. 下載前請仔細閱讀文檔內容,確認文檔內容符合您的需求后進行下載,若出現(xiàn)內容與標題不符可向本站投訴處理。
4. 下載文檔時可能由于網(wǎng)絡波動等原因無法下載或下載錯誤,付費完成后未能成功下載的用戶請聯(lián)系客服處理。