商品簡介
Flexible, Reliable Software: Using Patterns and Agile Development guides students through the software development process. By describing practical stories, explaining the design and programming process in detail, and using projects as a learning context, the text helps readers understand why a given technique is required and why techniques must be combined to overcome the challenges facing software developers.
The presentation is pedagogically organized as a realistic development story in which customer requests require introducing new techniques to combat ever-increasing software complexity. After an overview and introduction of basic terminology, the book presents the core practices, concepts, tools, and analytic skills for designing flexible and reliable software, including test-driven development, refactoring, design patterns, test doubles, and responsibility driven and compositional design. It then provides a collection of design patterns leading to a thorough discussion of frameworks, exemplified by a graphical user interface frramework (MiniDraw). The author also discusses the important topics of configuration management and systematic testing. In the last chapter, projects lead students to design and implement their own frameworks, resulting in a reliable and usable implementation of a large and complex software system complete with a graphical user interface.
This text teaches how to design, program, and maintain flexible and reliable software. Installation guides, source code for the examples, exercises, and projects can be found on the author’s website.
作者簡介
Henrik Bærbak Christensen is an associate professor in the Department of Computer Science at the University of Aarhus, where he has been teaching advanced design and programming techniques for more than ten years to young students and seasoned developers. Dr. Christensen is also the owner of Imhotep, a company specializing in consulting and courses in software development.
目次
BASIC TERMINOLOGY Agile Development Processes Reliability and Testing Flexibility and Maintainability
THE PROGRAMMING PROCESSPay Station Case Test-Driven DevelopmentBuild Management
THE FIRST DESIGN PATTERNDeriving Strategy PatternRefactoring and Integration TestingDesign Patterns—Part I Coupling and Cohesion
VARIABILITY MANAGEMENT AND 3-1-2Deriving State Pattern Test Stubs Deriving Abstract Factory Pattern Fragility
COMPOSITIONAL DESIGNRoles and ResponsibilitiesCompositional Design PrinciplesMulti-Dimensional VarianceDesign Patterns—Part II
A DESIGN PATTERN CATALOGUEFacadeDecoratorAdapterBuilderCommandIteratorProxyCompositeNull ObjectObserverModel-View-Controller
FRAMEWORKSIntroducing MiniDrawTemplate MethodFramework Theory
OUTLOOKConfiguration ManagementSystematic Testing
PROJECTSThe HotGammon ProjectThe HotCiv Project
Bibliography
Index
Index of Sidebars/Key Points
A summary, selected solutions, review questions, and exercises appear at the end of most chapters.