Quote from nitro:
I am impressed by some of the real-time (RT) applications that are developed using FLEX. Does anyone recommend a book or any other resource to learn FLEX? Is it right that in order to do RT FLEX you need a cold-fusion server?
Finally, is there an alternative to FLEX for building dynamic web RT data applications?
I assume you're talking about Adobe Flex? I also assume you aren't talking about "real" real-time because as far as I know that is not possible with the Actionscript VM.
No, you do not need a ColdFusion server. Flex can talk to just about any server-side technology either natively with the Flex framework libraries or through third-party Actionscript libraries. ColdFusion should have died many years ago (incidentally, the book review section of this website is written in ColdFusion)
Flex is: Actionscript 3 and MXML.
It's analagous to Silverlight: your favorite .Net language and XAML
In the long-run I feel that Silverlight will win and Flex will remain niche.
Actionscript 3 does not have any language constructs for multi-threading. That might put you off to begin with. If you are familiar with Javascript and/or Java then you already know most of Actionscript 3.
The main resources for learning Flex is the Adobe website. Actionscript started out as a loosely typed language and then became a dialect of ECMAScript and progressed to being stronger typed and more Java-like.
The Java equivalent from Sun, JavaFX which has all but flopped, ironically went in the opposite direction.
For books, the usual O'Reilly are your best bets: Actionscript 3 Cookbook, Flex 3 Cookbook etc. I read one of the AdvancED Flex books and it was extremely poor.
Developing Flex applications will take you twice as long (if not longer) compared to developing Python or Ruby applications. The compiler is very slow and the framework library is buggy and has many holes. The UI widgets are very limted compared to something like Wx etc. The native event mechanisms are in no way suitable for dealing with large amounts of market data - you have to re-invent your own. Having said that, I haven't really developed with Flex 4 yet and there are a number of key things that have been improved.
I'd like to know which real-time Flex applications you have seen?
I've developed some dashboard software for my ATS-wannabe in Flex.
I'm also aware of Nasdaq's Market Replay and OptionXpress's platform Xtend2 both built using Flex technology - more specifically Adobe AIR - the desktop runtime for Flex applications.
Then there is Lab49 who develop this kind of software:
http://www.lab49.com/