Search

Table of Contents
ActionScript 3.0 Design Patterns
BOOK:
ActionScript 3.0 Design Patterns
Browse by Category
 
 
Hide Left Column
ActionScript 3.0 Design Patterns
ActionScript 3.0 Design Patterns
by William B. Sanders; Chandima Cumaranatunge

Publisher: O'Reilly Media, Inc.
Pub Date: July 16, 2007
Print ISBN-13: 978-0-596-52846-1
Pages: 544
Slots: 1.0
Start Reading
Buy Print Version
Overview

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.

 
Editorial Reviews
Product Description
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.
 
Other Readers Also Read
Top Sellers in This Category
Browse Similar Topics
   
Reader Reviews From Amazon (Ranked by 'Helpfulness')
Average Customer Rating:based on 10 reviews.
Who edited this book?, 2008-06-07
Reviewer rating:
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 myself getting upset trying to read this book because so much is left out and so much is repeated identically on the next page!!!

All in all, if you're interested in learning Design Patterns (and they are very useful) buy this book. The content is great, the editor should be fired from the universe.
Great detailed book , 2008-02-18
Reviewer rating:
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 able to compare. I must say that I liked the O'reilly book by FAR over the other one, mostly because of the detailed and extensive examples, descriptive copy and easy-to-follow real-life samples (even though the author referred to Gnarls Barkley as a person at one point.. haha).

So - for someone like me, who knew AS3 (the books assumes you do), but wanted to get into OOP with Design Patters, this was an excellent choice. I would highly recommend it.
Workarounds for where ActionScript can't be Java, 2008-02-05
Reviewer rating:
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 the canonical Java solutions. Even with the workarounds Sanders and Cumaranatunge explain to get back on track, I can't help but think that there might be better solutions using the full range of ActionScript's capabilities, instead of sticking obstinately to the new Java-like syntax.
Impressive resource on Design Patterns for ActionScript 3.0, 2007-11-24
Reviewer rating:
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 implementations of specific patterns.

Full review at: [...]
A pick for any advanced programmer's library., 2007-10-05
Reviewer rating:
College-level and specialty computer libraries covering web development will find William Sanders & Chandima Cumaranatunge's ActionScript 3.0 Design Patterns an excellent acquisition, covering common problems in Flash and Flex applications and providing developers with the tools necessary to adopt superior design patterns. From key components of ActionScript 3.0 and its characteristics to the benefits of developing both structural and behavioral patterns, ACTIONSCRIPT 3.0 is a pick for any advanced programmer's library.
 
Some information above was provided using data from Amazon.com. View at Amazon >
ActionScript 3.0 Design Patterns
ActionScript 3.0 Design Patterns
by William B. Sanders; Chandima Cumaranatunge

Publisher: O'Reilly Media, Inc.
Pub Date: July 16, 2007
Print ISBN-13: 978-0-596-52846-1
Pages: 544
Slots: 1.0
Start Reading
Buy Print Version
Company | Terms of Service | Privacy Policy | Contact Us | Help | 508 Compliance | Subscribe Now
© 2009 Safari Books Online. All rights reserved.