I received an extremely interesting tidbit of information from a very authoritative figure at Adobe today. Did you know that ColdFusion 8, when installed with LiveCycle Data Services (which it is, by default) will compile MXML files for you on the fly?
That’s right! You have a complete Flex server included with ColdFusion!
From what I’m told, and I have yet to test this, integration with LCDS “just works” when you use this.
Ultimately, this might hurt performance if you overuse this, so use with caution. That said, from my tests it seems that the resulting SWF is cached and not recompiled on each request.
I’ve been asked to give credit for this to Tom Jordal. Thanks!