Advanced Actionscript 3 design patterns (Book) big thumbs up!!

Filed under: Flash, Flex — Wrote by Campbell on Tuesday, December 19th, 2006 @ 12:41 am

After years of MVC in AS2 (weee 3 letter acronyms) you find yourself wondering how applicable it is to flex. Well yeah it is but there are a whole lot of other patterns that we can generally make logical use of now in our flex apps.

I just finished reading "Advanced Actionscript 3 with design patterns" 

And I would seriously advise it to anyone stepping up from flash/AS2 into flex. Some of the patterns described are things that some people have been doing for years, but Im starting to see alot of oportunities for being a naughty monkey and breaking encapsulation in a flex form, and this book might just be a refresher and a reminder to you, or a good step in a new direction.

Either way I would put my 1NZc behind it in saying it wont hurt and probably make your life a bit easyier next time the client asks if he could just slip xyz functionality into his feature creepy specification :)

It oulines possible ways of using patterns to solve new problems that are becoming more and more common in Flex. Implementing standard Undo Redo features into flex applications in a smart managed (and encapsulated) way. Handeling more interfaces than strictly typed objects (which is an easy pitfall in AS3 and AS2)…making code alot more flexible and reusable. Object decoration …blahh blahhh blah….  Well done to Joey Lott and Danny Patterson for getting me to remember and think about other paterns than just MVC :) .

4 Comments   -
  • Comment by Nicolas | December 19, 2006 @ 3:22 am

    Couldn’t agree with you more. It’s a great book, and the bonus chapters about events, E4X and reg expressions are a very nice addition.

  • Comment by Keith Peters | December 19, 2006 @ 6:12 am

    Couldn’t agree more that it’s a great book, but it might be misleading to keep mentioning Flex in the review. The book covers ActionScript 3.0, not Flex. Of course it is all applicable in writing Flex 2.0 applications, which use AS3.

  • Comment by Bevan | December 19, 2006 @ 8:06 am

    Do you know if any of the bookstores in NZ have it yet??

  • Comment by Campbell | December 19, 2006 @ 8:26 am

    Hey guys,
    Nicolas: Yeah man it was good to have a full understanding of the event cycle….something I hadn’t found anywhere else.
    Kieth: welcome to my little blog mate. I think although it focuses on the AS3 lanuage….alot of the paterns are very aplicable to flex applications. I have found it very easy to head in the wrong direction with flex and start breaking encapulation. But yes it is an AS3 book.
    Bevan: sent you an email bro….But the short of it is not in NZ yet ;)

Leave your comment

© Flex developer, Campbell Anderson, from New Zealand – xsive blog -