《第十章架构设计Chapter10ArchitecturalDesign课件.ppt》由会员分享,可在线阅读,更多相关《第十章架构设计Chapter10ArchitecturalDesign课件.ppt(18页珍藏版)》请在三一办公上搜索。
1、1,Chapter 10Architectural Design,Software Engineering:A Practitioners Approach,6th editionby Roger S.Pressman,2,Software Architecture,The software architecture of a program or computing system is the structure or structures of the system,which comprise the software components,the externally visible
2、properties of those components,and the relationships among them.Bass.et al.,3,Why Architecture?,Architecture is a representation of a system that enables the software engineer to:analyze the effectiveness of the design in meeting its stated requirements,consider architectural alternatives at a stage
3、 when making design changes is still relatively easy,andreduce the risks associated with the construction of the software.,4,Data Design,Architectural level Database designdata miningdata warehousingComponent level Data structure design,5,Architectural Styles,Each style describes a system category t
4、hat encompasses:a set of components(e.g.,a database,computational modules)that perform a function required by a system,a set of connectors that enable“communication,coordination,and cooperation”among components,constraints that define how components can be integrated to form the system,andsemantic m
5、odels that enable a designer to understand the overall properties of a system.,6,Specific Styles,Data-centered architectureData flow architectureCall and return architectureObject-oriented architectureLayered architecture,7,Data-Centered Architecture,8,Data-Flow Architecture,9,Call and Return Archit
6、ecture,10,Object-Oriented Architecture,11,Layered Architecture,12,Architectural Patterns,Concurrencyoperating system process managementtask schedulerPersistencedatabase management systemapplication level persistenceDistributionbroker,13,Architectural Design,Architectural context diagrams model how s
7、oftware interacts with external entitiesArchetypes are classes or patterns that represent an abstraction critical to the systemArchitectural components are derived from the application domain,the infrastructure,and the interface.,14,Arch.Context Diagram,15,SafeHome ACD,16,SafeHome Archetype,17,Component Structure,18,Component Elaboration,