Channels ▼

Mike Riley

Dr. Dobb's Bloggers

Flex 4 Cookbook Book Review

June 02, 2010

Adobe has been getting beat up lately as a consequence of Apple's feud with Flash. As such, the future of Flash-based applications may be murky at the moment, though this may change as Flash-powered Android phones and tablets become more pervasive. For those dedicated Flash and Flex developers who are committed to the platform regardless of what Apple says, the Flex 4 Cookbook may be just the thing to elevate Flex apps from mediocre apps to polished programs. Do the recipes in this book deliver the goods? Read on to find out.Like other O'Reilly Cookbooks, the Flex 4 Cookbook is not for beginners. It is not a tutorial. Rather, it is a collection of time saving tips, cool programmatic acrobatics and development best practices. Even the authors clearly state in the Preface that the book "is for developers who want to understand the Flex Framework more thoroughly," and to "consult Programming Flex 3 by Joey Lott and Chafic Kazoun (O'Reilly) or Hello! Flex by Peter Armstrong (Manning) to gain an understanding of the core concepts of Flex development before reading any further here." No bones about it, Flex 4 Cookbook is for serious Flex developers with plenty of hard-earned experience to boot.

Beyond the disclaimers, the book starts off with a chapter on basic and fairly intuitive tips and then quickly ramps up to more involved examples. Chapters span subjects from containers, layouts, graphics, components, skinning, text manipulation, lists, data, video, collections and form validation. Even more sophisticated recommendations toward the latter part of the book cover subjects spanning from server-side and browser communication, modules and runtime shared libraries, interacting with the Adobe Integrated Runtime (AIR) and data operations contained within, OS integration with AIR (ex: window effects, clipboard access, keyboard shortcuts, Mac OSX Dock and Windows Taskbar alerts, external drive access and more), creating charts and a chapter on unit testing with FlexUnit. The last two chapters cover compiling, debugging and deploying Flex applications and finally concluding with several Internationalization tips.

The recipe format is presented in the standard O'Reilly Cookbook style of Problem, Solution and Discussion (where a majority of code listings are reproduced). The name of the recipe's contributor accompanies each tip, with some contributors showing up more frequently than others. As such, the formula forces each recipe to stand on its own rather than tell a cohesive application construction story. To reiterate, this is a book for seasoned professionals written by seasoned professionals, so it makes sense for the book to follow such a terse and somewhat random sampling of entries. Even so, the concept works as is proof of O'Reilly's ever-growing library of Cookbook titles. Due to the advanced level of recipes targeted toward an already relatively small segment of web application developers, Flex 4 Cookbook may not get the visibility and recognition it properly deserves. That would be a shame considering the number of really valuable and interesting tips contained within it. For Flex developers, this Cookbook is a no-brainer must-have. For those interested in taking Flex for a test-run, seek out a tutorial book on the subject instead.

Title: Flex 4 Cookbook Authors: Joshua Noble, Todd Anderson, Garth Braithwaite, Marco Casario, Rich Tretola, et al. Publisher: O'Reilly Media ISBN: 978-0-596-80561-6 Pages: 768 Price: $49.99 US

Related Reading


More Insights






Currently we allow the following HTML tags in comments:

Single tags

These tags can be used alone and don't need an ending tag.

<br> Defines a single line break

<hr> Defines a horizontal line

Matching tags

These require an ending tag - e.g. <i>italic text</i>

<a> Defines an anchor

<b> Defines bold text

<big> Defines big text

<blockquote> Defines a long quotation

<caption> Defines a table caption

<cite> Defines a citation

<code> Defines computer code text

<em> Defines emphasized text

<fieldset> Defines a border around elements in a form

<h1> This is heading 1

<h2> This is heading 2

<h3> This is heading 3

<h4> This is heading 4

<h5> This is heading 5

<h6> This is heading 6

<i> Defines italic text

<p> Defines a paragraph

<pre> Defines preformatted text

<q> Defines a short quotation

<samp> Defines sample computer code text

<small> Defines small text

<span> Defines a section in a document

<s> Defines strikethrough text

<strike> Defines strikethrough text

<strong> Defines strong text

<sub> Defines subscripted text

<sup> Defines superscripted text

<u> Defines underlined text

Dr. Dobb's encourages readers to engage in spirited, healthy debate, including taking us to task. However, Dr. Dobb's moderates all comments posted to our site, and reserves the right to modify or remove any content that it determines to be derogatory, offensive, inflammatory, vulgar, irrelevant/off-topic, racist or obvious marketing or spam. Dr. Dobb's further reserves the right to disable the profile of any commenter participating in said activities.

 
Disqus Tips To upload an avatar photo, first complete your Disqus profile. | View the list of supported HTML tags you can use to style comments. | Please read our commenting policy.
 


Video