Join Amazon Prime and ship Two-Day for free and Overnight for $3.99. Already a member? Sign in.

 

or
Sign in to turn on 1-Click ordering.
 
 
More Buying Choices
57 used & new from $25.27

Have one to sell? Sell yours here
 
   
Advanced ActionScript 3 with Design Patterns
 
 
Tell the Publisher!
I’d like to read this book on Kindle

Don’t have a Kindle? Get yours here.
 
  

Advanced ActionScript 3 with Design Patterns (Paperback)

by Joey Lott (Author), Danny Patterson (Author)
Key Phrases: template method, abstract method, public function reset, Flash Player, Flash Remoting, Factory Method (more...)
4.7 out of 5 stars See all reviews (25 customer reviews)

List Price: $49.99
Price: $31.49 & this item ships for FREE with Super Saver Shipping. Details
You Save: $18.50 (37%)
In Stock.
Ships from and sold by Amazon.com. Gift-wrap available.

Want it delivered Monday, July 13? Choose One-Day Shipping at checkout. Details
40 new from $29.02 17 used from $25.27

Special Offers and Product Promotions


Frequently Bought Together

Advanced ActionScript 3 with Design Patterns + Essential ActionScript 3.0 (Essential) + ActionScript 3.0 Cookbook: Solutions for Flash Platform and Flex Application Developers
Price For All Three: $92.52

Show availability and shipping details


Customers Who Bought This Item Also Bought

ActionScript 3.0 Cookbook: Solutions for Flash Platform and Flex Application Developers

ActionScript 3.0 Cookbook: Solutions for Flash Platform and Flex Application Developers

by Joey Lott
3.8 out of 5 stars (35)  $26.39
ActionScript 3.0 Design Patterns: Object Oriented Programming Techniques (Adobe Developer Library)

ActionScript 3.0 Design Patterns: Object Oriented Programming Techniques (Adobe Developer Library)

by William Sanders
3.8 out of 5 stars (10)  $38.97
Foundation Actionscript 3.0 Animation: Making Things Move!

Foundation Actionscript 3.0 Animation: Making Things Move!

by Keith Peters
4.4 out of 5 stars (31)  $26.39
Object-Oriented ActionScript 3.0

Object-Oriented ActionScript 3.0

by Todd Yard
3.9 out of 5 stars (16)  $33.64
AdvancED ActionScript 3.0 Animation

AdvancED ActionScript 3.0 Animation

by Keith Peters
5.0 out of 5 stars (4)  $26.39
Explore similar items

Editorial Reviews

Product Description
Today's ActionScript-based applications require increasingly sophisticated architectures and code. This book aids intermediate and advanced ActionScript developers in  learning how to plan and build applications more effectively. You'll learn how to apply design patterns as solutions to common programming scenarios. Beyond a reference, Advanced ActionScript with Design Patterns is a practical guide complete with sample mini-applications illustrating each design pattern.

Table of Contents:

Part I - Successful Projects
1. How to Design Applications
   
2. Programming to Interfaces
   
Part II - Patterns

3. MVC
   
4. Singleton
   
5. Factory (Abstract Factory and Factory Method)
   
6. Proxy
   
7. Iterator
   
8. Composite
   
9. Decorator
   
10. Command
   
11. Memento
   
12. State
   
Part III - Advanced ActionScript Topics

13. Working with Events
   
14. Sending and Loading Data
   
15. E4X (XML)
   
16. Regular Expressions




About the Author
Joey Lott works with ActionScript during the day and by night he's a super-secret international man of mystery, rescuing animals and children from harms way, righting wrongs, and working for global peace, the rights of all living beings, and environmental responsibility. Joey is the author (or co-author) of a veritable arsenal of ActionScript and Flash-related titles, including the ActionScript Cookbook, Programming Flash Communication Server, and the Flash 8 Cookbook. In his free time he likes to write poetry, pursue competitive origami, and train in the art of aikido. Danny Patterson is a Consultant specializing in Flash and Web technologies. He also works with Schematic as a Senior Flash Architect. He is an Adobe Community Expert and has contributed over 40 articles to Community MX and the MX Developers Journal. He is also the co-author of the Flash 8 ActionScript: Training from the Source book by Adobe Press. He has spoken at many conferences and user groups including Flash in the Can and Flash Belt. Danny is certified in both Flash and ColdFusion and has worked on web projects for many large companies including Microsoft, IBM, Dell, Adobe and Starz. You can check out his blog at DannyPatterson.com.

Product Details

  • Paperback: 304 pages
  • Publisher: Adobe Press; 1 edition (November 12, 2006)
  • Language: English
  • ISBN-10: 0321426568
  • ISBN-13: 978-0321426567
  • Product Dimensions: 9.2 x 7.9 x 1.7 inches
  • Shipping Weight: 3.2 pounds (View shipping rates and policies)
  • Average Customer Review: 4.7 out of 5 stars See all reviews (25 customer reviews)
  • Amazon.com Sales Rank: #34,746 in Books (See Bestsellers in Books)

Inside This Book (learn more)

What Do Customers Ultimately Buy After Viewing This Item?

Advanced ActionScript 3 with Design Patterns
55% buy the item featured on this page:
Advanced ActionScript 3 with Design Patterns 4.7 out of 5 stars (25)
$31.49
Essential ActionScript 3.0 (Essential)
14% buy
Essential ActionScript 3.0 (Essential) 4.1 out of 5 stars (71)
$34.64
Foundation Actionscript 3.0 Animation: Making Things Move!
12% buy
Foundation Actionscript 3.0 Animation: Making Things Move! 4.4 out of 5 stars (31)
$26.39
AdvancED ActionScript 3.0 Animation
10% buy
AdvancED ActionScript 3.0 Animation 5.0 out of 5 stars (4)
$26.39

Tags Customers Associate with This Product

 (What's this?)
Click on a tag to find related items, discussions, and people.
Check the boxes next to the tags you consider relevant or enter your own tags in the field below.
(16)
(9)
(6)
(2)
(1)

Your tags: Add your first tag
 
Help others find this product — tag it for Amazon search
No one has tagged this product for Amazon search yet. Why not be the first to suggest a search for which it should appear?

Sell a Digital Version of This Book in the Kindle Store

If you are a publisher or author and hold the digital rights to a book, you can sell a digital version of it in our Kindle Store. Learn more

 

Customer Reviews

25 Reviews
5 star:
 (18)
4 star:
 (6)
3 star:
 (1)
2 star:    (0)
1 star:    (0)
 
 
 
 
 
Average Customer Review
4.7 out of 5 stars (25 customer reviews)
 
 
 
 
Share your thoughts with other customers:
Most Helpful Customer Reviews

 
58 of 70 people found the following review helpful:
3.0 out of 5 stars Recommended, but..., December 27, 2006
By R. Grimes (Sandy, Utah USA) - See all my reviews
(REAL NAME)   
This is a book that I would classify as a "should have" for any Flash/Flex developer that uses ActionScript 3 and for whom OOD/OOP is important. If you could care less about incorporating OOD/OOP into your web applications, then you can pass on this one.

There is, in my opinion, a major shortcoming in this book. In presenting the MVC (Model, View, Controller), the "View" classes are presented as classes that extend the Sprite class, in which the author draws the objects via ActionScript. Unfortunately, the author seems to ignore the fact that most developers, who employ Flex to build their web apps, will use MXML to layout the view. In such cases, there are no examples of how the author would design the view and controller classes so as to follow a proper MVC design pattern. The same would be true for Flash developers as most are not going to draw the entire screen of their web apps via ActionScript. As a consequence, I feel that most people who read this book will not successfully implement these design patterns into their Flex web apps unless they have prior OOD/OOP experience. In either case (with or without OOD/OOP experience), only the most determined web developers will be able to translate the design patterns of this book in a meaningful way within their applications. This above-mentioned shortcoming is carried throughout the book.

While I realize the title of the book is "Advanced ActionScript 3...", and the argument can be made that the content was only meant to address pure ActionScript 3 concepts, it still ignores the fact that most developers will not develop their web applications with "only" ActionScript 3 and absent any MXML document to define their screen layout. As such, this becomes all but useless in promoting the increase use of the design patterns being presented.

Ron
Comment Comments (4) | Permalink | Was this review helpful to you? Yes No (Report this)



 
26 of 30 people found the following review helpful:
5.0 out of 5 stars The real deal, March 19, 2007
By George D. Girton (Los Angeles, CA USA) - See all my reviews
(REAL NAME)   

The design patterns movement, the beginnings of which can be traced to Gamma, Helm, Johnson and Vlissides famous Design Patterns book, has informed and changed software development, and spawned a raft of books and study groups.

That's right, people actually get together, read these books one chapter at a time, and talk about software design patterns - for fun! (I admit to being one of them). So, Joey Lott and Danny Patterson are taking on a real challenge in writing a book on this topic, and the term "advanced" in the title is well-advised.

The first chapter is not about patterns but pretty basic object oriented stuff: inheritance vs. composition, polymorphism, code conventions, design first then write unit tests first. These topics are standard fare for a book of this type, and the chapter is blessedly succinct.

The second chapter is on programming to interfaces, a fundamental idea of great importance. Lott and Patterson give one of the clearest explanations I have read of the advantages, and give a convincing argument for always programming to interfaces even when you are using inheritance. Dude! Actionscript3 has interfaces!

Then you get the chapters on patterns: Model/View/Controller, Singleton, Factory/Template, Proxy, Iterator, Composite, Decorator, Command, Memento, and State. I guarantee that after you have read these chapters and studied the code, you will understand these patterns a lot better than before, and will have ideas on how to use them.

The book is rounded out with entire chapters on Events (everything you always wanted to know but were afraid you wouldn't understand why), sending and loading data, E4X, and RegEx.

I have only a couple of minor cavils about the book. It would have been SO EASY to include the compilation command line.

/flex_sdk_2/bin/mxmlc MyProgram.as

See? Now you can compile for free! The book doesn't give you info on command line tools, but assumes you have downloaded and installed the 30-day flex compiler. And in the wonderfully worked out and fully crafted source code which you can download from the publisher's website, once again I was left scratching my head, when it said you have to set the source path to the library. Thanks very much, but tell me how?

It is not possible to have a useful book of this type without showing substantial amount of source for real projects, and fortunately, here Lott and Patterson really deliver. The projects are not on the level of usefulness of Phillip Kerman's book on Flash 8 at work, but they are complete enough to illustrate the patterns. All source is in 100 percent Actionscript 3, with no Flex component source; since the book is not about Flex I consider this to be an advantage. At any rate, this book communicates the usefulness, as well as the nuts and bolts, of some fundamental software design patterns, several of which I have already used, and others which I will use soon.
Comment Comment | Permalink | Was this review helpful to you? Yes No (Report this)



 
7 of 8 people found the following review helpful:
5.0 out of 5 stars Perfect balance of concepts and AS3 specific idioms, August 27, 2007
This book is clearly written by authors who "think in ActionScript 3" and it's written at the perfect level for folks who already understand design patterns but want some guidance on how they apply (or don't) in AS3.

If you are looking for an introduction to Design Patterns, this book does a decent job of that but it generally assumes you have a bit of understanding in that regard. The HeadFirst book (java) walks you through application evolution which really makes the case for why the patterns are useful. The HeadFirst book also includes exercises that really make the concepts sink in and teach you to recognize when each pattern applies. However, the head first book is very much a java book. Similarly, the original design patterns book by the Gang of Four (GoF) is about design patterns in C++.

This book, however is written clearly from the perspective of an ActionScript 3 (AS3) programmer. In some core ways, AS3 is very different than Java and even more so with respect to C++. The event model is baked into the language and asynchronous programming is a different style. Also, XML and XPath are native constructs in ActionScript 3, not libraries like they are in other languages. These differences (among others) imply that some of the original GoF and Java patterns manifest themselves differently and some patterns don't apply at all. This book doesn't merely take the Java or C++ idioms and make them run under ActionScript 3. They've totally re-thought them and presented the ones that are appropriate for AS3 in a way that is probably ideal for AS3. They've also left out or provided alternatives for the traditional ones that are not appropriate considering the language differences. For instance, the observer pattern is one of the core GoF and HeadFirst patterns. However, it doesn't show up in this book. Instead, there is a chapter on "WORKING WITH EVENTS" which is the native AS3 construct that essentially takes the place of the observer pattern. In contrast, the O'reilly book happily shows you an AS3 translation of the GoF/HeadFirst observer pattern and never tells you to use the built-in event structure instead.

Not only do the authors demonstrate their "thinking in AS3" at the level of design patterns but their code examples include lots of little AS3 specific idioms. AS3 still shows it's dynamic language roots in subtle ways and these authors play to that strength. For instance, a dynamic class inherited from the Proxy class includes a method called, getProperty(). In chapter 4, they override this method and use it in combination with E4X (the native XML capability), to provides an elegant way to build a generic application settings framework that you can use in any application without modification. If your XML settings file changes, the class will appear to magically change its interface. The chapter is about the Singleton pattern but I learned about dynamic/Proxy/getProperty() and E4X idioms as a side benefit.

If I had one complaint about this book, it's a minor one and it's a complaint that I also make about the Java language and I'm now starting to regularly make about Adobe's recommendations with respect to AS3 class interfaces. Like C# and Python and other more recent languages, AS3 has a construct for turning public property references into get/set function calls without changing the calling code. This book shows you that style of coding as well as the Java recommended getSomeProperty/setSomeProperty style but it recommends that you never use public properties in your class interfaces. In my mind, the main advantage to having the get/set function language feature is that you can start out with public properties and later change them to accessors methods without breaking the calling code. The reason we don't recommend that you have public properties in java is that there is no language feature that allows you to later add accessor methods without breaking the calling code. In Java, the lessor of two evils is to have you always create them up front. I see no reason to live with the same evil in AS3. However, this is minor nit and now that you've read my explanation here, you can ignore the recommendation. :)

I highly recommend this book. If you have the least bit of experience with design patterns and are now coding in AS3, just get this book. If you are totally new to the concept of design patterns, then you may want to get the HeadFirst book AND this book.
Comment Comment | Permalink | Was this review helpful to you? Yes No (Report this)


Share your thoughts with other customers: Create your own review
 
 
 
Most Recent Customer Reviews

4.0 out of 5 stars good, but too many typos
This book presents may interesting design approaches for OOP programming.

Two pitfalls - too many typos (including throughout the code excerpts), and not enough... Read more
Published 2 days ago by HeeBee Jack

5.0 out of 5 stars My TOP recommendation for learning design patterns
This book is very easy to read and understand. I was able to read it in my spare time in a week. The authors do a great job of taking design pattern concepts, no matter how... Read more
Published 4 months ago by M. Mickelson

5.0 out of 5 stars Gem amongst coal...
One of the best out there on ActionScript. You do need to know the basics and have worked with Flash/AS for quite some time though, before picking up this esteemed novel... Read more
Published 4 months ago by Edward L. Davies

5.0 out of 5 stars Muy bueno
Es un muy buen libro, pero si necesitas tener conocimientos basicos de AS3, asi como de POO, ya que el libro va dirigo a gente ya con algo de experiencia programando, porque el... Read more
Published 5 months ago by Roberto A. Ortiz Hernandez

5.0 out of 5 stars More than just an actionscript book
I am not a programmer. I simply wanted to learn more about OOP using actionscript 3. I thought that with these principles, I can apply it to any project whether it be a little... Read more
Published 6 months ago by Scott L. Petrovic

5.0 out of 5 stars Great book for understanding advanced OO concepts
A great book for understanding advanced OO concepts. My only complaint is that it deals only with AS. Read more
Published 7 months ago by T. Saffell

5.0 out of 5 stars Very Readable, Lots of Examples
This is a very accessible and friendly book. I found it much more manageable than Joey Lott's Actionscript 3.0 Cookbook. Read more
Published 8 months ago by MARGOT SHEEHAN

5.0 out of 5 stars excellent concise info on AS3
I realize the book title (and the focus and organization) is about design patterns, but I thought it was worth adding the fact that--for me at least--it's the one book I keep... Read more
Published 13 months ago by Phillip Kerman

5.0 out of 5 stars Good Introduction to Design Patterns
If you are interested in improving your code to be more maintainable, flexible and gaining a better understanding of Object Oriented Programming (OOP) this is a good book to have... Read more
Published 16 months ago by Alan C. Bryant

4.0 out of 5 stars Pretty Good for a Re-hash
This book served really well as a review to some of the GOF patterns. I already understood the patterns covered, looking at the Actionscript implementations was still somewhat... Read more
Published 18 months ago by J. Dusbabek

Only search this product's reviews



Customer Discussions

 Beta (What's this?)
New! See all customer communities, and bookmark your communities to keep track of them.
This product's forum (1 discussion)
  Discussion Replies Latest Post
R. Grimes comment... 0 March 2007
See all discussions...  
Start a new discussion
Topic:
First post:
Prompts for sign-in
  [Cancel]


Active discussions in related forums
  Discussion Replies Latest Post
C# or Java? 32 4 days ago
   


Product Information from the Amapedia Community

Beta (What's this?)


Look for Similar Items by Category


Great Deals on Magazines

Visit our huge selection of magazine subscriptions often to see the latest special offers and bonuses. Check out magazines like The New Yorker, Wired, and Vanity Fair.
 

Big Savings in Books

Bargain Books
Find great titles at fantastic prices in our Bargain Books Store.
 

Buy Three Books, Get a Fourth Free

4-for-3 Books
Order any four eligible books under $10 and get the lowest-price book free in our 4-for-3 Books Store. See more details.
 

Best Books

Best of the Month
See our editors' picks and more of the best new books on our Best of the Month page.
 

 

Feedback

If you need help or have a question for Customer Service, contact us.
 Would you like to update product info or give feedback on images?
Is there any other feedback you would like to provide?

Your comments can help make our site better for everyone.


Where's My Stuff?

Shipping & Returns

Need Help?

Your Recent History

  (What's this?)
You have no recently viewed items or searches.

After viewing product detail pages or search results, look here to find an easy way to navigate back to pages you are interested in.

Look to the right column to find helpful suggestions for your shopping session.

Continue shopping: Top Sellers

Conditions of Use | Privacy Notice © 1996-2009, Amazon.com, Inc. or its affiliates