Wednesday, May 16, 2012    
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
 • Acrobat (5) [RSS]
 • Adobe (117) [RSS]
 • AdobeMAX06 (45) [RSS]
 • AdobeMAX07 (59) [RSS]
 • AdobeMAX08 (66) [RSS]
 • AdobeMAX09 (39) [RSS]
 • AdobeMAX10 (34) [RSS]
 • AdobeMAX11 (28) [RSS]
 • AdobeMAX13 (1) [RSS]
 • AIR (299) [RSS]
 • Appearances (217) [RSS]
 • Books (86) [RSS]
 • CFEclipse (15) [RSS]
 • Cloud (1) [RSS]
 • ColdFusion (1482) [RSS]
 • ColdFusion Builder (23) [RSS]
 • Data Services (43) [RSS]
 • Fish Tank (5) [RSS]
 • Flash (368) [RSS]
 • Flex (565) [RSS]
 • Home Automation (5) [RSS]
 • HTML5 (35) [RSS]
 • JavaScript (3) [RSS]
 • Jobs (133) [RSS]
 • jQuery (15) [RSS]
 • JRun (14) [RSS]
 • Labs (63) [RSS]
 • LiveCycle (37) [RSS]
 • MAX (285) [RSS]
 • Mobile (257) [RSS]
 • PhoneGap (17) [RSS]
 • Regular Expressions (19) [RSS]
 • RIA (21) [RSS]
 • SQL (45) [RSS]
 • Stuff (554) [RSS]
 • Tips (CF Studio) (80) [RSS]
 • Tips (CF) (795) [RSS]
 • Tips (Dreamweaver) (91) [RSS]
 • Tips (Flex Builder) (2) [RSS]
 • Using CF (167) [RSS]

Other BLOGs
 • Charlie Arehart
 • Lee Brimelow
 • Ray Camden
 • Christophe Coenraets
 • Sean Corfield
 • Mihai Corlan
 • Cornel Creanga
 • Mark Doherty
 • John Dowdell
 • Danny Dura
 • Enrique Duvos
 • Steven Erat
 • Kevin Hoyt
 • Serge Jespers
 • Adam Lehman
 • Duane Nickull
 • Miti Pricope
 • Andrew Shorten
 • Ryan Stewart
 • James Ward
 • Greg Wilson
 • 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.

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
Still down? (a user reported this via my blog so I'm commenting here)

Server Error

The server encountered an internal error and was unable to complete your request.
JRun closed connection.
# Posted By Sean Corfield | 11/12/08 11:35 AM

  © Copyright 1997-2009 Ben Forta, All Rights Reserved