- Home
- Articles
- Product Reviews
- Review - Advanced ActionScript 3 with Design Patterns

Savior of the day
Jesse Stratford
Jesse lives and works in Melbourne Australia. He is the Cofounder and a Director of http://ActionScript.org. A Flash enthusiast, teacher, author, freelancer and speaker Jesse enjoys participating in the http://ActionScript.org community and the wider Flash scene when he has time.
View all articles by Jesse StratfordReading even the first chapter of AA3WDP is probably a good start. It whirls through the concepts of UML, Use Cases, CRC Cards, Encapsulation, Inheritance and Composition, and a variety of other Object Orientation principles. It gives good high level guidance to those who might already know how to write OO ActionScript but struggle with when and where to apply Object Orientation, and how to architect their applications.
Note the use of the terms "concepts" and "high level" above. None of the descriptions in this book will make you an expert in the relevant concepts. They will however make you aware of ways and means of approaching your work which people all over the world use for good reason. For those elements relevant to you, you can conduct your own further research to learn more, and hopefully achieve better results, which is what Best Practices are all about. (Importantly, in this review I'm not talking about best practices such as keeping all your code in a layer called 'ActionScript'. I'm talking about the software architecture of your Flash application; how you design the pieces, and how well they fit together.)
AA3WDP brings with it just enough information to entice the advanced ActionScript professional into the world of Best Practices only so far as they need to go to meet their ends. It gives you a taste of the virtues and downfalls of Design Patterns (in particular, but Best Practices more generally), without forcing you to read volumes.
Because this book is aimed at advanced ActionScript professionals, there is no fussing about with introductions to basic ActionScript concepts. Explanations of code are concise and assume you can read the code yourself, and get an idea of what it's doing. Things are explained once, and explained well. I must admit that many of these topics weren't new to me so I intentionally sought out those that were and read them fully. I found that they provided me with enough information to understand the concepts being discussed, and apply them at a high level. If I needed / wanted more detail, I would have to go elsewhere (e.g. online, or one of those tombs I had to buy at University *shudder*).
AA3WDP provides enough detail to leave you with a good understanding
the concepts being put forward, and keep them in the back of your mind for when
you may wish to apply them. It also provides enough of a practical example to
get how the pieces fit together. If you still need more, there are volumes of
free information online, and some great books written on each of the topics covered,
to provide the added detail you may be seeking. Importantly, this book shows how to implement these concepts in object oriented, ActionScript 3 code, which is often the hardest part when it comes to following design patterns.
Advanced ActionScripters will find themselves recognizing concepts discussed in this book and realizing that the project they did yesterday, or last month applied that concept to an extent. In fact, the book itself doesn't go into too much depth about when you would use a certain best practice, or design pattern, but if you're a weathered ActionScripter, you'll probably recognize those automatically. You will also likely find that best practice approach may have provided you with a more elegant way of achieving the same result, or something which you could have more readily reused later on.
Ultimately this is a very good resource to have at your disposal. There are a few quirks; e.g. use of certain UML diagrams whose syntax is not explained (that I saw) in the book, and thus might not make sense to a casual reader, but I only point that out because I was looking for something bad to say.
If developing reasonable sized ActionScript applications (in Flex or Flash of any flavor) is a significant part of your day to day life, and you don't already know much about design patterns and general software engineering best practices, convince the boss (or spouse) that this is a worthwhile expense. It is.Spread The Word
Related Links
2 Responses to "Review - Advanced ActionScript 3 with Design Patterns" 
|
said this on 24 Sep 2007 2:17:32 AM CDT
This is a great review. Translating books focusing on design patterns with examples in Java or C++ to AS is difficult and this book helped me see how and WHEN to apply time tested strategies to AS3 projects - not how to find ways to apply patterns for no reason other than because... there's a problem.
|
|
said this on 12 Oct 2007 9:43:34 AM CDT
Very good review. I'm no newbie to Actionscript but admit I find OOP in AS3 challenging. I've used OOP in AS2 repeatedly but this book has shown me different approaches to problems I've sometimes already (and less elegantly) solved. My only negative comment would be there are too many errata, which I don't always spot until I compile (or try) the program. Compilation is almost always at the end which means there's a lot of code to check through. I can't find anywhere where these mistakes are listed.
|


Author/Admin)