ActionScript 3.0 Design Patterns

ActionScript 3.0 Design Patterns

Authors: William Sanders, Chandima Cumaranatunge

Pages: 328

Publisher: Unknow

ISBN13: 9780596528461

This hands-on introduction to design patterns is for experienced Flash developers ready to tackle sophisticated programming techniques with ActionScript 3.0. Now that ActionScript has been reengineered from top to bottom as a true object-oriented programming (OOP) language, reusable design patterns are an ideal way to solve common problems in Flash applications. But learning ActionScript 3.0 is a challenge for anyone without adding this extra learning curve.

ActionScript 3.0 Design Patterns</em> takes you step by step through the process, first by explaining how design patterns provide a clear road map for structuring code that actually makes OOP languages easier to learn and use. You will then learn about various types of design patterns and construct small abstract examples before trying your hand at building full-fledged working applications outlined in the book. Topics in <em>ActionScript 3.0 Design Patterns include:

Key features of ActionScript 3.0 and why it became an OOP language

OOP characteristics, such as classes, abstraction, inheritance, and polymorphism

The benefits of using design patterns

Creational patterns, including Factory and Singleton patterns

Structural patterns, including Decorator, Adapter, and Composite patterns

Behavioral patterns, including Command, Observer, Strategy, State patterns

How design patterns can be used in conjunction with one another

During the course of the book, you will work with many examples, such as an e-business application with service options that users can select, an interface for selecting a class of products and individual products in each class, an action game application, a video record and playback application, and many more. Perfect for Java and C++ developers coming to Flash, as well as those experienced with Action Script 2.0 and earlier, Action Script 3.0 Design Patterns will have you constructing truly elegant solutions for your Flash applications in no time.