Chapman and Hall/CRC
527 pages | 86 B/W Illus.
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.
…This book brings together a careful selection of topics that are relevant, indeed crucial, for developing good quality software with a carefully designed pedagogy that leads the reader through an experience of active learning. The emphasis in the content is on practical goals—how to construct reliable and flexible software systems—covering many topics that every software engineer should have studied. The emphasis in the method is on providing a practical context, hands-on projects, and guidance on process. … The text discusses not only what the end product should be like, but also how to get there. … I know that this book will be a great help for many of my students on the path from a novice programmer to a mature, professional software developer.
—From the Foreword by Michael Kölling, originator of the BlueJ and Greenfoot environments, co-author of the best-selling Objects First with Java, and author of the best-selling Introduction to Programming with Greenfoot
Agile Development Processes
Reliability and Testing
Flexibility and Maintainability
THE PROGRAMMING PROCESS
Pay Station Case
THE FIRST DESIGN PATTERN
Deriving Strategy Pattern
Refactoring and Integration Testing
Design Patterns—Part I
Coupling and Cohesion
VARIABILITY MANAGEMENT AND 3-1-2
Deriving State Pattern
Deriving Abstract Factory
Roles and Responsibilities
Compositional Design Principles
Design Patterns—Part II
A DESIGN PATTERN CATALOGUE
The HotGammon Project
The HotCiv Project
Index of Sidebars/Key Points
A summary, selected solutions, review questions, and exercises appear at the end of most chapters.