- 2
- 0
- 约1.43万字
- 约 56页
- 2022-08-26 发布于安徽
- 举报
Why and what is software design?Software design principles Design patternsModel-View-ControllerSummaryOutlineProgrammer’s ApproachSkip requirements engineering and design phases;start writing codeWhy this programmer’s approach?Design is a waste of timeWe need to show something to the customer real quickWe are judged by the amount of LOC/monthWe expect or know that the schedule is too tightA Case StudyTravel System阶段1. 基本原型系统阶段2. 各种折扣策略阶段3. 基于服务的集成Phase IUIDatabaseUIUIDatabasePhase IIThe complicated Login Process ……login2Xlogin32login22login21login31login3XMagic NumberThe hard-coded polices ……Phase III: The configurable policiesHard-coded RulesExternalized PoliciesPoint to PonderThe longer you postpone coding, the sooner you’ll be finished.Software DesignThe beginning of wisdom for a [software engineer] is to recognize the difference between getting a program to work, and getting it right.” [M.A. Jackson 75]The process of defining the architecture, components, interfaces, and other characteristics of a system or component.The results of [that] process.IEEE Standard Glossary of Software Engineering Terminology, IEEE std 1990.Software DesignDesign process moves from a “big picture” view of software to a more narrow view that defines the detail required to implement a system.ArchitectureSubsystemCommunication mechanismComponents External, internal and user interfacesDesign PrinciplesDesign Principles[1996][1994][2010]KISS = Keep It Simple StupidModularitySeparation of ConcernDesign for CHANGEDesign for REUSE1. Simple is Beauty“There are two ways of constructing a software design: One way is to make it so simple that there are obviously no deficiencies, and the other way is to make it so complicated that there are no obvious deficiencies. The first method is far more difficult. ” — C. A. R. Hoare“Everything should be made as simple as possible, but no simpler”- Albert Einstein“Simplicity is the ultimate sophistication”- Lenonardo Da Vinci“You know you‘ve achieved perfec
原创力文档

文档评论(0)