- Object-Oriented Programming, Design Patterns, and ActionScript 3.0. Part I. Constant Change
- The Pleasure of Doing Something Well
- OOP Basics
- Abstraction
- Encapsulation
- Inheritance
- Polymorphism
- Principles of Design Pattern Development
- Program to Interfaces over Implementations
- Favor Composition
- Maintenance and Extensibility Planning
- Your Application Plan: It Ain’t You Babe
- Factory Method Pattern Part II. Creational Patterns
- What Is the Factory Method Pattern?
- Abstract Classes in ActionScript 3.0
- Minimalist Example
- Hiding the Product Classes
- Example: Print Shop
- Extended Example: Color Printing
- Key OOP Concepts Used in the Factory Method Pattern
- Example: Sprite Factory viii | Table of Contents
- Example: Vertical Shooter Game
- Summary
- Singleton Pattern.
- What Is the Singleton Pattern?
- Key OOP Concepts Used with the Singleton Pattern
- Minimalist Abstract Singleton
- When to Use the Singleton Pattern
- Summary
- Decorator Pattern Part III. Structural Patterns
- What Is the Decorator Pattern?
- Key OOP Concepts Used with the Decorator Pattern
- Minimalist Abstract Decorator
- Applying a Simple Decorator Pattern in Flash: Paper Doll
- Decorating with Deadly Sins and Heavenly Virtues
- A Hybrid Car Dealership Dynamic Selection of Concrete Components and Decorations:
- Summary
- Adapter Pattern
- What Is the Adapter Pattern?
- Object and Class Adapters
- Key OOP Concepts in the Adapter Pattern
- Example: Car Steering Adapter
- Extended Example: Steering the Car Using a Mouse
- Example: List Display Adapter
- Extended Example: Displaying the O’Reilly New Books List
- Summary
- Composite Pattern.
- What Is the Composite Pattern?
- Minimalist Example of a Composite Pattern
- Key OOP Concepts in the Composite Pattern
- Example: Music Playlists
- Example: Animating Composite Objects Using Inverse Kinematics
- Using Flash’s Built-in Composite Structure: the Display List Table of Contents | ix
- Summary
- Command Pattern Part IV. Behavioral Patterns
- What Is the Command Pattern?
- Minimalist Example of a Command Pattern
- Key OOP Concepts in the Command Pattern
- Minimalist Example: Macro Commands
- Example: Number Manipulator
- Extended Example: Sharing Command Objects
- Extended Example: Implementing Undo
- Example: Podcast Radio
- Extended Example: Dynamic Command Object Assignment
- Summary
- Observer Pattern
- What Is the Observer Pattern?
- Key OOP Concepts Used with the Observer Pattern
- Minimalist Abstract Observer
- Example: Adding States and Identifying Users
- Dynamically Changing States
- Example: Working with Different Data Displays
- Summary
- Template Method Pattern
- What Is the Template Method Pattern?
- Key OOP Concepts Used with the Template Method
- Minimalist Example: Abstract Template Method
- Employing Flexibility in the Template Method
- Selecting and Playing Sound and Video
- Hooking It Up
- Summary
- State Pattern.
- Design Pattern to Create a State Machine
- Key OOP Concepts Used with the State Pattern
- Minimalist Abstract State Pattern
- Video Player Concrete State Application x | Table of Contents
- Expanding the State Design: Adding States
- Adding More States and Streaming Capabilities
- Summary
- Strategy Pattern.
- What Is the Strategy Pattern?
- Key OOP Concepts Used with the Strategy Pattern
- Minimalist Abstract State Pattern
- Adding More Concrete Strategies and Concrete Contexts
- Working with String Strategies
- Summary
- Model-View-Controller Pattern. Part V. Multiple Patterns
- What Is the Model-View-Controller (MVC) Pattern?
- Communication Between the MVC Elements
- Embedded Patterns in the MVC
- Minimalist Example of an MVC Pattern
- Key OOP Concepts in the MVC Pattern
- Example: Weather Maps
- Extended Example: Infrared Weather Maps
- Example: Cars
- Custom Views
- Adding a Chase Car
- Summary
- Symmetric Proxy Pattern
- Simultaneous Game Moves and Outcomes
- The Symmetric Proxy Pattern
- Key OOP Concepts Used with the Symmetric Proxy
- The Player Interface
- The Referee
- Information Shared Over the Internet
- Player-Proxy Classes
- Classes and Document Files Support
- Summary
- State Pattern.
- Index
chris devlin
(Chris Devlin)
#1