Book description
Today's ActionScript-based applications require increasingly
sophisticated architectures and code. This book aids intermediate
and advanced ActionScript developers in learning how to plan
and build applications more effectively. You'll learn how to apply
design patterns as solutions to common programming scenarios.
Beyond a reference, Advanced ActionScript with Design
Patterns is a practical guide complete with sample
mini-applications illustrating each design pattern.
Table of Contents:
Part I - Successful Projects
1. How to Design Applications
2. Programming to Interfaces
Part II - Patterns
3. MVC
4. Singleton
5. Factory (Abstract Factory and Factory Method)
6. Proxy
7. Iterator
8. Composite
9. Decorator
10. Command
11. Memento
12. State
Part III - Advanced ActionScript Topics
13. Working with Events
14. Sending and Loading Data
15. E4X (XML)
16. Regular Expressions
Table of contents
- Copyright
- Acknowledgments
- Introduction
- I. Successful Projects
-
II. Patterns
- 3. Model View Controller Pattern
- 4. Singleton Pattern
- 5. Factory and Template Method Patterns
- 6. Proxy Pattern
- 7. Iterator Pattern
- 8. Composite Pattern
-
9. Decorator Pattern
- Understanding the Decorator Pattern
-
Building Reader Decorators
- Creating the Decorator/Decorated Interface
- Defining an Abstract Reader Class
- Defining the Concrete Decorated Class
- Creating the Abstract Decorator Class
- Defining the First Concrete Decorator Class
- Testing the Decorator
- Defining an Additional Concrete Decorator Class
- Defining a New Decorated Type
- Decorating Decorators
- Building Visual and Commutative Decorators
- Summary
-
10. Command Pattern
- Understanding the Command Pattern
- Building a Simple Command Application
- Making Commands Undoable and Keeping Command Histories
- Building an Undoable Application
- Building a Redoable Application
-
Using Commands to Build a Proximity Game
- Defining the Player Data Class
- Defining a Collection Class for the Game Players
- Defining Game Pieces
- Defining the Game Board Data Class
- Defining the Game Play Command Class
- Defining the Game Factory Class
- Defining the Game Piece View and Controller Class
- Defining the Game Board View and Controller
- Defining the Main Class
- Summary
- 11. Memento Pattern
- 12. State Pattern
-
III. Advanced ActionScript Topics
- 13. Working with Events
- 14. Sending and Loading Data
- 15. E4X (XML)
- 16. Regular Expressions
Product information
- Title: Advanced ActionScript 3 with Design Patterns
- Author(s):
- Release date: November 2006
- Publisher(s): Adobe Press
- ISBN: 9780321426567
You might also like
book
AdvancED ActionScript 3.0: Design Patterns
AdvancED ActionScript 3.0 is a fresh look and new approach to utilizing valuable, structural techniques and …
book
ActionScript 3.0 Design Patterns
Now that ActionScript is reengineered from top to bottom as a true object-oriented programming (OOP) language, …
book
Actionscript Cookbook
When you need to get the job done fast, you'll reach for this practical, nuts-n-bolts toolkit. …
book
Advanced ActionScript 3, Second Edition
Advanced ActionScript 3 is a fresh look and new approach to utilizing valuable, structural techniques and …