The highly popular ActionScript 3 Cookbook was released back in '06.
This was a really good book because it taught you the language through examples that you could use in real world situations. A lot of the Flex and Flash developers I know really loved it. The downside to this book was being an ActionScript book, it it didn't cover things that were Flex-specific.
At the end of '07, Flex Solutions - Essential Techniques for Flex 2 and 3 Developers was released. I just got a copy of it recently to review, and will say it's worth checking out.
First off, this book was written by Marco Casario a very prominent and well respected member of not only the Flex community but also the Flash Lite community. He knows his stuff, and the examples in the book prove it.
Like the AS3 Cookbook, this book expands your knowledge of the language through practical examples. For instance:
- Solution 1-5: Understanding the Flex event model
- Solution 2-7: Building loosely coupled components
- Solution 4-9: Formatting list-based controls with the labelFunction property
- Solution 8-4: Supporting the Express Install Flash Player feature
- Solution 10-4: Mashup applications using the LocalConnection and the Yahoo! Maps API
- Solution 12-5: Debugging applications with the Logging framework
It even covers AIR topics:
- Solution 14-2: Customizing OS windows using the AIR Window API
- Solution 14-7: Keeping the application updated
The flow of the book is highly structured. Chapters are broken down by main topic, then solution. Then each solution has a "What's involved" section describing the underlying concepts, a "How to build it" section giving the reader a step by step walkthrough on code implementation, and "Expert tips" which took the examples a step forward.
Although I think this book is worthwhile, I do have a negative to point out.
I'm not positive, but I think Marco is Italian, and I don't think that English is his first language. I hope no one takes it the wrong way, but I think that some of the grammer distracted me while reading. I found myself re-reading paragraphs a couple times to understand the concepts being conveyed. That being said, I would not even be able to imagine trying to write a book in a second language, for instance Italian. In other words, although this was a negative for me as a reader, I give Marco props for writing the book in a non-native language. (If my initial assumption was correct)
The good thing is, MXML and AS code are universal, so the wealth of well-written code samples in the book made up for my inability to read through the textual portions efficiently. As a matter of fact, if you download the code samples, Marco has provided 30+ MB worth! He also mantains an external site for the book's code, and he makes it a point to keep it up to date.
All in all, this book is worth the money: easy to find information, written by an expert in the field, and filled with plenty of good cookbook style samples. Good work Marco!
For those of you that are interested, here's the link:
http://www.friendsofed.com/book.html?isbn=1590598768