Getting Strict with Actionscript 2.0

Making comparisons with AS1 methodology, Peter explains the areas that are open to human error while writing and using classes. He demonstrates how code can be re-written so that the Actionscript 2.0 compiler will throw a fit at every little error and save you hours in finding those mistakes yourself.

  • Difficulty:
  • Prerequisites: Basic knowledge of AS2 fundamentals like basic OO-concepts and syntax. An overview will be given in any event.
  • Session Track:

Session Detail

Making comparisons with AS1 methodology, Peter explains the areas that are open to human error while writing and using classes. He demonstrates how code can be re-written so that the Actionscript 2.0 compiler will throw a fit at every little error and save you hours in finding those mistakes yourself.

Pete's going to discuss over-architecting vs under-architecting and how to achieve a happy balance. The underlying loose nature of Actionscript 1.0 allows for optimisations that cannot be easily achieved with strict Actionscript 2.0 (or with most strongly typed languages). He will talk about how (and when) you can take advantage of this while minimising the risks to your code integrity.

Pete's going to finish up by talking through common design patterns, such as Observer, and how you can implement them to be tighter and less error prone.

Speakers

Peter Hall (London, England)

Peter has been a Flex consultant for over 3 years, and has been using Flash for 8 years. Nowadays he, along with Johannes Nel, runs Memorphic, based in London and Capetown, creating applications and user interfaces for large enterprise clients. Over the last 2 years, he has worked with some impressive clients including Fidelity Investments, Airbus and LMG (Nectar Loyalty program), and many others around the globe. More...