Flex 4 Cookbook
Real-world recipes for developing Rich Internet Applications
Publisher: O'Reilly Media / Adobe Dev Library
Released: May 2010
Pages: 768

With this collection of proven recipes, you have the ideal problem-solving guide for developing interactive Rich Internet Applications on the Adobe Flash Platform. You'll find answers to hundreds of common problems you may encounter when using Adobe Flex, Flex 4 Framework, or Flash Builder, Adobe's GUI-based development tool.

Flex 4 Cookbook has hands-on recipes for everything from Flex basics to solutions for working with visual components and data access, as well as tips on application development, unit testing, and Adobe AIR. Each recipe provides an explanation of how and why it works, and includes sample code that you can use immediately. You'll get results fast, whether you're a committed Flex developer or still evaluating the technology. It's a great way to jumpstart your next web application.

Topics include:

  • Using Spark Component
  • Text Layout Framework
  • Groups and Layout
  • Spark List and ItemRenderer
  • Images, bitmaps, videos, and sounds
  • CSS, styling, and skinning
  • States and Effects
  • Working with Collections
  • Using DataBinding
  • Validation, formatting, and regular expressions
  • Using Charts
  • Services and Data Access
  • Using RSLs and Modules
  • Working with Adobe AIR 2.0
Table of Contents
Product Details
About the Author
Colophon
Recommended for You
Customer Reviews

REVIEW SNAPSHOT®

by PowerReviews
O'Reilly MediaFlex 4 Cookbook
 
4.2

(based on 5 reviews)

Ratings Distribution

  • 5 Stars

     

    (2)

  • 4 Stars

     

    (2)

  • 3 Stars

     

    (1)

  • 2 Stars

     

    (0)

  • 1 Stars

     

    (0)

100%

of respondents would recommend this to a friend.

Pros

  • Concise (3)
  • Well-written (3)

Cons

    Best Uses

    • Intermediate (4)
    • Expert (3)

    Reviewed by 5 customers

    Sort by

    Displaying reviews 1-5

    Back to top

    (3 of 3 customers found this review helpful)

     
    4.0

    Project folders are not easy to use

    By shomron

    from tel aviv

    Verified Reviewer

    Comments about O'Reilly Media Flex 4 Cookbook:

    Hello

    i do think you writers have made a wonderfull job
    but the fact is that the projects folders are not easily useable through the flash builder 4 !

    is there any possible to restructure the projects sources as a useable flash builder 4 applications?
    as fxp projects for example??
    it would be much better to test your applications examples.....

    with all my thanks

    (3 of 3 customers found this review helpful)

     
    5.0

    Flex 4 Cookbook

    By Alan John

    from NY

    About Me Sys Admin

    Pros

    • Accurate
    • Concise

    Cons

      Best Uses

      • Intermediate

      Comments about O'Reilly Media Flex 4 Cookbook:

      I think that this is the best book that i've red in the last year. I got it from a friend and it sure impressed me.
      Alan from Premier League Online

      (2 of 2 customers found this review helpful)

       
      4.0

      Nice Supplement Resource

      By learner_doug

      from Los Angeles, CA

      About Me Designer

      Pros

      • Accurate
      • Concise
      • Helpful examples
      • Well-written

      Cons

        Best Uses

        • Expert
        • Intermediate
        • Student

        Comments about O'Reilly Media Flex 4 Cookbook:

        Seems to be the only one of its kind currently to help Flex 4 developers branch out from the tutorial-based Flex 4 books - and provide more focused examples. The book has a large variety of useful examples that I've already implemented in some form or another in my projects. I'll probably use this book for a long time.

        The only thing that I found lacking was that the examples are not always put into a context that a more novice developer can easily understand. But even so, I was able to eventually get the examples to work and they have a web site that is helpful.

        Overall - worth the money and useful.

        (5 of 5 customers found this review helpful)

         
        5.0

        Thorough and great book to get to grips

        By gr8fanboy

        from Milton Keynes, United Kingdom

        About Me Developer

        Verified Reviewer

        Pros

        • Easy to understand
        • Helpful examples
        • Well-written

        Cons

          Best Uses

          • Expert
          • Intermediate

          Comments about O'Reilly Media Flex 4 Cookbook:

          If you like to learn by example and know more about the latest version of Flex, then this is the book on Flex for you.
          -This book moved my understanding of Flex 4 (Spark (v4) & Halo (v3) actually) on immensely.
          -It's a hefty thorough and extensive tome, covering 295 diverse examples which are meaty enough to lay the foundations for other ideas (of which 293 were clear and easy to follow).
          -Chapters 16 & 17 on Browser Communication and Modules/Shared Runtime Libraries were my favourites as they covered things I'd not seen in enough detail before.
          - The recipes are extensively cross-referenced too, so if you look at one example you can find an elaboration elsewhere, so the book makes for a handy reference I'm sure I'll be referring to often in the future.
          - It's probably worth supplementing this book with the Colin Moock book too (Essential ActionScript 3.0). I'm quite a polyglot when it comes to computer language but there was the odd bit of syntax I was unfamiliar with not present in other languages that I uncovered reading the book, but it didn't hold me back from getting the general gist of things.

          Prior to this I'd read Flex 3 in Action by Tareq Ahmed and Pro Flex on Spring by Chris Giametta:
          - This book doesn't have an architectural bias, whereas Pro Flex on Spring did and covered PureMVC & Cairngorm and obviously Java integration.
          - Flex 3 in Action was too basic for my taste and I like to dive right in more at the deep end and learn by example and this book did just that in spades.

          Kudos to the folks who did the proofreading too. it was probably on of the best books I've read in that respect and I only spotted a few things on an initial read through 700+ pages:
          -One of these was indentation of code on P587,
          - a variable that should have been prefaced with an underscore on P372 (_data)
          - and a trivial one, a weight was defined in XML as k instead of kg...

          The only sections of the book that were unclear to me were:
          - recipe 14.11 P396 : The sentence beginning "Translating this into English.." on regular expressions. The unfortunate thing was a regular expression group was part of the sentence enclosed in brackets and it looked like the sentence was referring to what was in the brackets on a first read and that didn't make sense. It took a couple of read throughs to understand that... :-)
          - recipe 18.18 (P523 in particular) and the creation of an AIR application with update capabilities. There was mention of an update.xml file which I don't recall seeing an example of and the index made no mention of it. I couldn't see how this could work if you were more than one release behind on your desktop and you had to refer to an update file on a server via some url (mentioned in prior recipe). Did the update file have several nodes, one per version, or should the update.xml file be named in such a way as to relate to a given version. Who knows.

          Overall a great job guys.
          Now I'm familiar with the works of these authors, I'll keep my eyes peeled for one of the co-author's (Marco Casario's ) Friends of Ed book: Flex 4 Solutions: Essential Techniques for Flex Developers ISBN: 1430223952. I think it'll make an excellent companion to this book.

          (7 of 7 customers found this review helpful)

           
          3.0

          Good start; not ready for publication

          By Charlie Kelly

          from Boulder, CO

          About Me Developer

          Verified Reviewer

          Pros

          • Concise
          • Easy to understand
          • Well-written

          Cons

          • Too many errors

          Best Uses

          • Expert
          • Intermediate

          Comments about O'Reilly Media Flex 4 Cookbook:

          The book uses a well-proven format for each recipe: Problem, Solution, Discussion. The book is both helpful and useful. The Discussion section contains code for each recipe in the Cookbook.

          The problem with the book is that the some of the code contains errors: both compile-time errors and run-time errors. The compile-time errors are in-excusable: Flash Builder 4 lists these in both the code editor and in the "Problems" view.

          For example, the "7.14" recipe for "Create Linked Containers in a TextFlow" contains compile-time errors. The identifiers used in the constructors for ContainerControllers, are different than the identifiers used for RichEditableText (assuming that the authors wanted to refer to the same objects).

          After the authors test and revise and test the code, this will be a good book for both training and reference.

          Displaying reviews 1-5

          Back to top

           
          Buy 2 Get 1 Free Free Shipping Guarantee
          Buying Options
          Immediate Access - Go Digital what's this?
          Ebook: $39.99
          Formats:  APK, DAISY, ePub, Mobi, PDF
          Print & Ebook: $54.99
          Print: $49.99