ActionScript 3.0 Design Patterns
Object Oriented Programming Techniques
By William B. Sanders, Chandima Cumaranatunge
July 2007
Pages: 532
Series: Adobe Developer Library
ISBN 10: 0-596-52846-9 |
ISBN 13: 9780596528461




(Average of 3 Customer Reviews)


Description
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 takes you step by step through the process. You 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.
Full 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.
Featured customer reviews

Beautiful Code,
September 22 2008
Submitted by
Harley
[
Respond |
View]
Title: ActionScript 3 Design Patterns - Object Oriented Programming Techniques
Author: William Sanders & Chandima Cumaranatunge
Publisher: O'Reilly
Price: $44.99 July 2007 version
Yet another home run to help the dedicated programmer to understand and apply object oriented programming.
If your just starting to code in Action Script, you might find this book too heavy, however, I recommend this book for the beginner as it simply explains with many examples what constitutes beautiful coding patterns.
I am enriched to have this book as one of my resources which I can refer to over and over.
HPP
Book for Real Developers.,
June 17 2008
Submitted by
Draco
[
Respond |
View]
If you want to build realy big apps in AS, you should definitly make friends with design patterns. And thats why this book was created. It covers all of most helpful design patterns you would need in developing AS applications.
Patterns are grouped, depending on their type, and this is very good move, cause we can very easy find pattern which we need.
Groups used in book:
- Creational Pattern
- Factory Method Pattern
- Singleton Pattern
- Structural Patterns
- Decorator Pattern
- Adapter Pattern
- Coposite Pattern
- Behavioral Patterns
- Command Pattern
- Observer Pattern
- Template Metod Pattern
- State Pattern
- Strategy Pattern
- Multiple Patterns
- MVC Pattern
- Symetric Proxy Pattern
All patterns are realy good described. This is not theorycrafting book, apart from theory, there are always one or two examples.
For me the best thing is that you can go throught the book, read (and understand!) introduction of every pattern, maybe some examples, and when you will be developing this BIG_APP, and when you will find a place for one of the patterns, you can easily find it and include in your project.
Of course this book is not perfect - sometimes provided examples are too easy to fully show potential of pattern, and reader can misunderstand benefits of using it.
Even so, this book is must have for people who don't know design patterns, and want to develop realy good applications in ActionScript 3.0
Best Regards
Michał Czaicki
Patterns are not owned by a language,
April 19 2008
Submitted by
William B. Sanders
[
Respond |
View]
This is a response to the idea that somehow the book "borrowed" design patterns from C++ and Java. Actually, C++, Java, C#
and ActionScript 3.0 "borrowed" the patterns from
SmallTalk, the programming language that was used in the original design pattern book by Gamma and his associates. All of the examples in this book are for Flash/ActionScript 3.0 programmers and the authors looked at design patterns in lots of different programming languages to help them understand the key
relationships between classes and interfaces that make up the bulk of what design patterns are all about. So, the most accurate language of origin would be
SmallTalk, but even that isn't quite right. By examining how different languages made the connections between classes, the authors were better able to make examples that used
ActionScript 3.0 in ways unique to the language and the programming environment of Flash.
In the chapter on Model View Controller, one of the parts that make up the MVC uses built-in design patterns in ActionScript 3.0 itself. However, those built-in patterns were originally derived from the language in the original
Design Pattern book by the Gang of Four.
Read all reviews
ActionScript 3.0 Design Patterns: Thinking in Patterns,
November 13 2007
Submitted by Anonymous Reader [
Respond |
View]
The book basically got the design patterns from Java and C++. Since ActionScript is an object oriented language, sure enough the book gave really good examples on how to implement those patterns. There is a lot of code examples in the book.
The examples in the book are really interesting specially the vertical shooting game example.
If you use ActionScript a lot, this will help design better and write better codes by example.
Media reviews
"This book is a useful guide for approaching programming problems and challenges in Flash and Flex applications through
the use of reusable design patterns in ActionScript 3.0. The authors show, step by step, how to structure programming code
that can be used to build working applications. The reader is introduced to progressively more complex programming examples that provide insight into producing well-structured programming solutions."
-- Michael Kleper, The Kleper Report on Digital Publishing
"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."
-- James Cox,
The Bookwatch: The Computer Shelf
Read all reviews