Categories
Featured jobs
» More ActionScript, Flash and Flex jobs.
» Advertise a job for free
Our network
Advertisement

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

Review - Advanced ActionScript 3 with Design Patterns

By Jesse Stratford | Published 01/16/2007 | Product Reviews , Best Practices | Rating:
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 Stratford
ActionScript Design Patterns, yay!
Title: Advanced ActionScript 3 with Design Patterns
Authors: Joey Lot and Danny Patterson
Published by: Peachpit Press (Adobe Press), 2006
Level: Advanced
Pages: Under 300

Snapshot

9/10, or 4.5 stars.

A strong, yet small book which provides a solid introduction to best practices in general, not just Design Patterns. Recommended for anyone who considers themselves an ActionScript coding professional, or aspires to become one one.

Pros

  • Assumes very little about existing Software Engineering knowledge;
  • Concise yet thorough descriptions of complex topics;
  • Practical worked examples of techniques discussed;
  • Remains interesting, which is sometimes a challenge for such theoretical concepts;
  • Not a bible.

Cons

  • Not a bible;
  • Some quirks.

Review

Setting the scene

OK, before I begin, first I have to declare an interest. I have a Software Engineering degree. That means my mind has been corrupted with the virtues of best practices for years on end, and I was likely to give any book which brought them to the forefront of the ActionScript community's collective mind a pretty good review.

However, I think I have counter-set that terrible brainwashing with a few good years in industry where I learned one all important lesson; best practices are really useful… except, they are only useful when the project warrants their use, and when used to the extent necessary. I was happy to see that this little lesson is one of the first topics discussed in this book. But we're getting ahead of ourselves.

Advanced ActionScript 3 with Design Patterns (henceforth AA3WDP) is not just about Design Patterns, it's about best practices software engineering, with a focus on Design Patterns and their application in the world of ActionScript. Design Patterns, put simply, are theoretical frameworks for solving common coding problems in a smart way (no nasty hacks). They can be transported across languages, and that's exactly what this book does; provides you with examples of how to implement, in ActionScript, some of the world's best practice Design Patterns for various scenarios; e.g. developing an interactive online Rich Internet Application with the MVC pattern.

But it does much more than that. To begin with, Chapter 1 rocks the foundations of so many ActionScripters' lives, by raising the all-important difference between the analysis, design and development phases of building an application.

Most of the time when you have a project to do in ActionScript, you jump straight into coding, don't you? Admit it! I saw the look in your eyes! Of course, this is fine for a lot of projects, because they are not complex enough to warrant anything more. But what about when you get that new job with a big ActionScript development firm in the city? Or when you want to start working as one of a team of developers in the open-source community, pumping out a great new… something? You're going to need to be able to break the work down into bite-sized pieces for allocation. You're going to have to build your pieces to a specification and meet it to the letter; otherwise the whole project will fall to bits. And your code is going to have to be good; really good.

The rigor which comes as par for the course in a lot of programming languages has never really been a strong suit of the ActionScript community. And I'm not saying that's a bad thing. Look at half the stuff I've written and I'm sure you could poke a million holes in it; but it still works. Still, in real terms, ActionScript and the Flash platform have come a long way in a few short years, and harder nosed software engineering professionals are entering the scene. Want to keep up with Mr. Jones?

Believe it or not, this is the ActionScript world we live in. And it needs Best practices.



Spread The Word / Bookmark this content

Clesto Digg it! Reddit Furl del.icio.us Spurl Yahoo!

Comments
  • Comment #1 (Posted by Brandon Aikin - hyperspherian at yahoo.com)
    Rating
    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.
     
  • Comment #2 (Posted by Dave Towers - davetowers at i-m-s.biz)
    Rating
    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.
     
Submit Comment



Search Entire Site
Add to Google
Advertisements
Article Options
Latest New Articles
Set up a simple IIS Server for Flash
by Peter McBride

Day 1 at FITC Toronto 2008
by Anthony Pace

Simple reflection effect with AS2
by Jean André Mas

ActionScript.org Meets Josh Tynjala (aka dr_zeus)
by ActionScript.org Staff

Rapidly Create Online Flash Movies to Help Users Market, Sell and Support Software and Hardware
by Sabrina F

mailing list
Enter your email address:
mailing list
Subscribe Unsubscribe
© 2000-2007 actionscript.org! All Rights Reserved.
Read our Privacy Statement and Terms of Use...
Our dedicated server is hosted and managed by WebScorpion Webhosting.