Googolflex!!
  • Home
  • About
  • Contracting

Recent Posts

  • Sprint’s new “Simply ‘Almost’ Everything®” Plans
  • CSS Changes in Flex 4
  • Dotted Underline LinkButton (Flex)

About The Author : jwd

This is John Dusbabek's tech blog. John is a software engineer and Flex developer in Provo, UT, where he lives with his lovely wife and four sons.

Recent Comments

  • Nikos on Flex: Binding to an Interface
  • Iain Hosking on Apache mod_proxy_balancer: No Protocol handler was valid
Aug
05

Book Review: Advanced ActionScript 3 with Design Patterns

By jwd

I  have a lot of praise for Advanced ActionScript 3 with Design Patterns, by Joey Lott and Danny Patterson.  I purchased this book when I first started learning Flex and Actionscript for the purpose of becoming more familiar with Actionscript.  I was familiar with most of the common design patterns already and wanted to see their implemetation in Actionscript.

If you’ve read and understood what the Gang-of-Four (or even HeadFirst) had to say about design patterns, you probably won’t get much more with regards to that from this book.  Most of it served mainly as an interesting read and a little reinforcement.  However, toward the end of the book there are 4 chapters that covered material not directly related to design patterns, but concepts that I have come to realize are significant to gaining an appreciation for Actionscript.

Chapter 13 is titled “Working with Events”.  This chapter really helped me to understand how events are used in Actionscript and Flex (which is different enough than how they are used in Java or Visual Basic to warrant special consideration for someone learning Actionscript).

 Chapter 14 is titled “Sending and Loading Data”.  For someone first learning Flex or Actionscript figuring out how to get data from a database is one of the most frustrating experiences, especially for those used to scripting languages whose output is HTML (like JSP or PHP).  The book covers loading text files, loading XML via URLRequest, Flash Remoting, and Web Services.  It wanted only a little bit more explanation of why it had to be so roundabout, to make it a perfect explanation.  I’ve since come to understand why, but I could have benefitted from that understanding a bit sooner.

Chapter 15 is titled “E4X (XML)”.  Like getting data from a database, how to use XML is also a source of great frustration for beginners.  Lott and Patterson give a good overview of using it, and from them I learned to treat everything as an XMLList, unless I know it’s XML.  I’ve done that and been more sane on account of it.

Chapter 16 is titled “Regular Expressions”.  This is one chapter I have yet to fully benefit from, but still an important concept as regular expressions have lots of uses both in and out of Actionscript.  I don’t have a gift for regexp like some seem to have, and I refer to this chapter frequently when I find myself in need of them.

For these 4 chapters alone, the book was worth the money.  In addition, I think someone less familiar with design patterns might also derive more benefit from the remainder of the book than I did, because it is well written and usually very clear.  One thing of less import, that I really liked about the book– only 272 pages (Deitel and Associates should take a leaf from it…)

Categories : Actionscript, Book Reviews, Flex 2

Leave a Comment

CAPTCHA Image Audio Version
Reload Image

Search

Feedburner

Subscribe to

Get the latest updates delivered via email

Calendar

September 2010
M T W T F S S
« Jul    
 12345
6789101112
13141516171819
20212223242526
27282930  

Archives

  • July 2010 (1)
  • June 2010 (2)
  • May 2010 (1)
  • February 2010 (11)
  • January 2010 (3)
  • December 2009 (5)
  • November 2009 (1)
  • August 2009 (8)
  • July 2009 (8)
  • May 2009 (4)
  • April 2009 (1)
  • March 2009 (6)
  • January 2009 (1)
  • November 2008 (4)
  • October 2008 (5)
  • September 2008 (1)
  • August 2008 (5)
  • July 2008 (1)
  • June 2008 (2)
  • May 2008 (8)
  • April 2008 (5)
  • March 2008 (2)
  • February 2008 (3)
  • January 2008 (1)
  • December 2007 (6)
  • November 2007 (9)
  • October 2007 (1)
  • September 2007 (2)

Categories

Tag Cloud

adobe apache Architecture book review C++ centos client server architecture Custom Components database Design error message fedora flash catalyst flex Flex 3 Flex 4 fms iis 6 Interaction Design load balancing master-master master-slave mod_proxy_balancer Monkey Patching MySQL no protocol p2p peer to peer Perl PHP Red5 regex replication self registration selinux Shell Scripting shortcut manager skins socket policy file sockets states stored procedures stratus tools workflow

Coworkers

  • Casey Jackman
  • Sean Murphy

Family

  • Emily & CJ
  • Family Blog
  • Gary Dusbabek

Meta

  • Log in
  • Entries RSS
  • Comments RSS
  • WordPress.org

RSS FlexExamples

  • Styling the text selection format on a Spark TextArea control in Flex 4
  • Setting the scale mode on a Spark Image control in Flex Hero
  • Setting the fill mode on a Spark Image control in Flex Hero
  • Setting a bitmap image fill on a Spark Form container in Flex Hero
  • Setting a bitmap image fill on a Spark FormHeading control in Flex Hero

Spam Blocked

847 spam comments
blocked by
Akismet

Sponsored Links

JUICE Chat

BYU Adobe Users Group


Copyright © 2010 All Rights Reserved
Flexx Theme by iThemes
Powered by WordPress