Home >
This is my first blog at InsideRIA, and I’m glad to be here. I’ll start with a quick introduction of the new Flex book that I’m working on with my two colleagues - Victor and Anatole. This advanced O’Reilly book is titled “Enterprise development with Flex”. The rough cuts version of the first chapter of the book is already available for subscribers of Safari Books Online: http://my.safaribooksonline.com/9780596801465 .
The first published chapter is about the use of selected design patterns in Flex. This is not a tutorial, but rather a bunch of illustrations of why and how you can use some of the patterns in Flex. For example, everyone know what Singletons are for. In this chapter you’ll see how you can use Flex Application object as a singleton storing your business objects. Yep, no need to clutter your code with tons of XYZ.getInstance() calls.
Or take an ObjectProxy class - you can easily use it as a wrapper to any other ActionScript class adding a new functionality to the class being wrapped even when you don’t have access to the source code of this class.
Mediator is my favorite design pattern for UI development with Flex. A component A talks to a component B in a loosely-coupled manner via a mediator using custom events.
We’ve already submitted six chapters to O’Reilly, and hopefully more of the rough cuts will be published in February. In one of them we compare Flex frameworks, the other shows you how to extend Flex components to make them smarter, chapter 10 is about Flex portals, chapter 7 is about loaders and modularization, chapter 4 deals with BlazeDS and AMF, chapter 4 talks about a set of tools that an enterprise Flex team should consider
My co-authors work on their chapters late at night, but I’m more productive during wee hours. In particular, this Saturday morning I’ve been working on the AIR chapter. It will include sample occasionally-connected application for the salesmen of the Acme Pharm company. You’ll see how to synchronize data between the local and remote databases via BlazeDS.
As a part of the book promotion, I already started making presentations at Flex users groups. Last week I’ve been to my home New Jersey Flex User’s Group, in February will repeat this talk at NYFlex.org and in March will fly to Chicago UG.
I’m planning to make my future InsideRIA blogs a bit more technical.




Facebook Application Development
looking forward to your book mr. fain... i've been developing applications using flash and php for years but in 2008 decided to break away from that tiny bubble...
i have been getting to grips with the java and ruby world as i go along and one thing that always makes it easy and interesting is when i get to read books about integrating flex and java... obviously flex is my baby...
if the quality of your previous book is anything to go by i'll be standing first in line to read the next one...
good luck i look forward to reading...
Thanks, this book will be at least as good as the last one :)
You might want to watch this screencast that shows the demo app from chapter 10 on AIR:
http://www.myflex.org/demos/PharmaAir/PharmaAir.html