|
The first part contains Chapter 1, which is an introduction to design patterns. We added an introductory section for readers with minimal object-oriented programming experience. More advanced users may want to skip the review of OOP, but go over the materials on design patterns.Part I, Constant Change Chapter 1, Object-Oriented Programming, Design Patterns, and ActionScript 3.0 Parts II, III and, IV are the three major parts of the book. They examine fundamental design patterns, and organize the patterns into creational, structural and behavioral categories. Representative design patterns are included in each part, but we didn’t include every single design pattern from the ebook by Gamma and his associates. Part II, Creational Patterns Chapter 2, Factory Method Pattern Chapter 3, Singleton Pattern Part III, Structural Patterns Chapter 4, Decorator Pattern Chapter 5, Adapter Pattern Chapter 6, Composite Pattern Part IV, Behavioral Patterns Chapter 7, Command Pattern Chapter 8, Observer Pattern Chapter 9, Template Method Pattern Chapter 10, State Pattern Chapter 11, Strategy Pattern Part V contains two chapters on using multiple design patterns in application development. The Model-View-Controller and Symmetric Proxy designs incorporate more than a single design pattern. They’re organized like the other chapters on design patterns as far as explaining how the multiple patterns work. However, the multiple designs rely more on object diagrams than class diagrams. Part V, Multiple Patterns Chapter 12, Model-View-Controller Pattern Chapter 13, Symmetric Proxy Pattern Each chapter on design patterns is organized to optimize and clarify understanding the purpose of a design pattern and how to use it. The following sections, although not necessarily in this order, can be found in each of the chapters on design patterns: ? What is the pattern? ? Key features of the pattern ? The formal model of the pattern including a class diagram ? Key OOP concepts found in the pattern ? Minimalist abstract example ? Applied examples We organized the book in this manner to provide a well-rounded picture of each design pattern. By explaining the pattern and its key features, we focus on the pattern’s function and structure. The formal model and class diagram gives a wider overview, so you can see the structure and the interconnected classes and interface. We also included certain key OOP concepts for the different patterns. We did this for two reasons. First, the intermediate user will be better able to understand the OOP concept at work, and so understand OOP better. Second, we hoped that advanced users could see the concepts as shorthand to quickly determine how the design pattern is structured. Download free ebooks on flash:O'Reilly - ActionScript 3.0 Design Patterns
|
More computer ebooks
The first part contains Chapter 1, which is an introduction to design patterns. We added an introductory section for readers with minimal