Now that ActionScript is 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 and Flex applications. If you're an experienced Flash or Flex developer ready to tackle sophisticated programming techniques with ActionScript 3.0, this hands-on introduction to design patterns is the book you need. ActionScript 3.0 Design Patterns 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 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 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, and State patterns
Multiple design patterns, including Model-View-Controller and Symmetric Proxy designs
During the course of the book, you'll work with examples of increasing complexity, 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. Whether you're coming to Flash and Flex from Java or C++, or have experience with ActionScript 2.0, ActionScript 3.0 Design Patterns will have you constructing truly elegant solutions for your Flash and Flex applications in no time.
Customer Reviews:
Avg. Customer Rating: 4.0 / 5.0
Who edited this book?:
The concepts in this book are great for any Actionscript developer and they thoroughly explain solutions via design patterns. I'd recommend this book to any aspiring AS3 developer. HOWEVER, there is so many horrible mistakes in this book. While the content is awesome, it seems like the editor was plastered when he put this little job together. In Chapter 7, it is almost unbearable. Words are omitted, code is omitted, sections are re-pasted into the book often... it's utterly horrible. I keep finding... more info
Great detailed book:
I bought this book when I wanted to pick up on Design Patterns in AS3 (I had little to no experience with DP in AS2), and after I read "Essential ActionScript 3.0". I bought it without reading any reviews because I like O'reilly books, but after I placed the order, I looked at the reviews, and noticed that people were favoring "Advanced ActionScript 3 with Design Patterns" (by Joey Lott and Danny Patterson) -- so I went to the closest B&N and picked it up a day before the O'reilly one arrived, so I was... more info
Workarounds for where ActionScript can't be Java:
ActionScript 3.0 has more in common with Java than any previous ECMAScript, so it lends itself to a reimplementation of the classic Design Patterns originally espoused by the "Gang of Four" in "Design Patterns: Elements of Reusable Object-Oriented Software". "ActionScript 3.0 Design Patterns" essentially does just this. Unfortunately, ActionScript 3.0 does have some differences (no abstract classes, no private constructors) that make it impossible to implement the patterns in exactly the same way as... more info
Impressive resource on Design Patterns for ActionScript 3.0:
I've been reading through O'Reilly's "ActionScript 3.0 Design Patterns: Object Oriented Programming Techniques" by William Sanders and Chandima Cumaranatunge for the last few weeks and have to say its an incredibly useful resource. The interesting thing is that this book approaches design patterns in the more traditional sense, not dumbing down on the object-oriented terminology. In that sense it is very approachable to those coming from a Java or C background and are looking for ActionScript 3.0... more info