Friday, May 16, 2008    
Home My Books Blog ColdFusion About Me Back    

Calendar
<< Oct 2006 >>
S M T W T F S
1 2 3 4 5 6 7
8 9 10 11 12 13 14
15 16 17 18 19 20 21
22 23 24 25 26 27 28
29 30 31        

Search

Categories
 • Adobe (61) [RSS]
 • AdobeMAX06 (45) [RSS]
 • AdobeMAX07 (59) [RSS]
 • AdobeMAX08 (6) [RSS]
 • AIR (96) [RSS]
 • Appearances (105) [RSS]
 • Books (66) [RSS]
 • CFEclipse (14) [RSS]
 • ColdFusion (1081) [RSS]
 • Flash (91) [RSS]
 • Flex (319) [RSS]
 • Jobs (81) [RSS]
 • JRun (12) [RSS]
 • Labs (27) [RSS]
 • LiveCycle (12) [RSS]
 • MAX (141) [RSS]
 • Regular Expressions (12) [RSS]
 • SQL (36) [RSS]
 • Stuff (492) [RSS]
 • Tips (CF Studio) (80) [RSS]
 • Tips (CF) (795) [RSS]
 • Tips (Dreamweaver) (91) [RSS]
 • Tips (Flex Builder) (2) [RSS]
 • Using CF (131) [RSS]
 • Wireless (96) [RSS]

Other BLOGs
 • Ray Camden
 • Tim Buntel
 • Sean Corfield
 • John Dowdell
 • Steven Erat
 • Brandon Purcell
 • Charlie Arehart
 • Full As A Goog

RSS Feeds
 • Feed
 • Subscribe

Join my mailing list and find out about new books and other topics of interest.

Thoughts, ideas, tips, musings, and pontifications (not necessarily in that order) by Ben Forta ...
NOTE: This is my personal blog, and the opinions and statements voiced here are my own.

Viewing By Entry / Main
October 29, 2006

The FLEXifier Is Live

Amidst the hustle and bustle leading up to MAX, I managed to steal some time to work on a skunkworks project. The idea was to let people experience the fun and instant gratification of Flex, without needing to download and install anything at all. And thus The FLEXifier.

Using The FLEXifier you can enter and compile any combination of MXML and ActionScript (the one limitation being that you can only compile a single file, so no external files or data or images). You can start with one of the examples, or enter code of your own. Assuming the code compiles you'll see the results immediately (if not, you'll see error messages instead). And then, when you are happy with your creation, The FLEXifier can even e-mail the SWF and MXML to you directly.

The application itself is a combination of ColdFusion and Flex Java libraries. Initially I was using <cfexecute> to spawn the command-line Flex SDK compiler, but that was just not fast enough. I tried several other options too, before plugging in a very clever Java API interface to the compiler created by Clement Wong (formerly of the ColdFusion team, now on the Flex team). I also implemented a sophisticated caching mechanism to avoid unnecessary compilations. And finally, the application was given a Spry based front-end, thanks to help from Ray Camden.

Enjoy The FLEXifier, and if you have suggestions on how to improve it, please share.

TrackBacks
There are no trackbacks for this entry.

No trackback URL. Trackbacks are only allowed via interactive form.

Comments
Hi Ben,

Any chance of you releasing the Java API to run the compiler? We are using cfexecute to run the mxml compiler at the moment and run into permissions issues on Linux and OSX which would be eliminated if we had a Java interface we could call from CF.

Cheers

Grant
# Posted By Grant Straker | 10/29/06 9:15 PM
Hi Grant,

The Java API will be available on an OEM basis, but that requires a separate license agreement. Feel free to contact me if you'd like more details.

Matt
# Posted By Matt | 10/30/06 12:43 AM
Very cool.
# Posted By jim collins | 10/30/06 12:35 PM
It appears that Flexifier's host is down at http://try.flex.org/
... any ideas or alternate locations I can play around with it?
# Posted By Hart Woolery | 11/27/07 5:40 PM
Yes it appears to be down...

Anybody knows what happens to this website?


Thanx,

Simon Tremblay
# Posted By Simon Tremblay | 12/12/07 2:16 PM

  © Copyright 1997-2008 Ben Forta, All Rights Reserved