Wednesday, April 16, 2008

Fantastic Mr Flex

With the unsurprising fact that my first commercial project using Adobe Flex is now an official success and the most arrogant opening line for a blog that has ever been typed both under my belt in the same day, I feel that I must share both weeks of my extensive experience in Adobe Flex with both of my beloved readers.

Here is the tutorial:
Step 1) Get a copy of MyEclipse, a download of the Flex development plugin and some kind of data source. (I used Oracle10g. I don't like Oracle10g. The feeling is apparently mutual.)

Step 2) Simply create your database, use MyEclipse to generate your data access layer and then open the fully functional drag-n-drop flex editor and .. well .. drag and drog until you have what you want.

Step 3) Export to Tomcat (which is included in the version of MyEclipse that you downloaded)

Step 4) Point your browser of choice at the Tomcat server and call your geeky mates over for a gander.

Is it really that easy ?? Yeah, it is. So easy in fact that I will not even bother posting examples or links to examples or any actually useful information.

The Adobe Flex is an absolute dream to use. It is a simple XML based UI definition, not dissimilar to XUL or any of the JSF stuff. There is a cool sort of script language which looked like some kind of JavaScript meets backwards Java.

To top it all off some sort auto messaging system which can broadcast messages on your choice of channels with your choice of data. This allowed us to get some "reverse ajax" style updates running on the UI.

Honestly, the proof is in the pudding. Flex is fantastic.

Where are the screenshots ?? There are supposed to be earth shattering screenshots ??
Yeah, sorry, I signed a thing that says people will get angry if I make my work public. And yes, just because it isn't getting read by anyone, it is still public. Besides, if you make it to step 4 in my tutorial, you will have your own screen shots.

No comments: