I've got a (potential) job offer where they're evaluating switching from ColdFusion to Flex. Seems like Flex is getting a lot of pub lately, but my sense is that it sucks. ActionScript is cumbersome and difficult to learn; there's a lot of programming through xml, which I don't really care for. Can anyone disabuse me of this notion?<p>For the record, I don't know anything about ColdFusion either. But my sense is that it sucks too.
Actionscript isn't a server-side language. It runs in the browser. So they are seriously mistaken if they think they can replace Coldfusion with Flex/AS. (And I'd question if I really wanted to work for a company that didn't know this.)<p>What about Flex/AS3? The more time I spent with it, the more I keep saying, "Whoa, this is a well-designed language/toolkit." Flex Builder, the editor, is also well-designed.<p>You will struggle a bit to get over the learning curve, but if you appreciate elegance in UI, you'll grow to really like it. Actionscript is not my first choice in a programming language, but it is fully featured and plenty robust.
A Flex Haiku I wrote:<p>it's more than just flash<p>enterprise level big apps<p>not just eye candy<p>Without knowing more about why they are moving from ColdFusion (and I assume CFML) to Flex, I have to ask if they have a business driver. Flex will give their application a new look (you can't beat the sexy look of vectorized graphics)<p>AS3 is basically ECMAScript4, which is much better than AS2. The IDE is ok - it's not going to make you rave about it. The compiler time will drive you nuts (sometimes). The debugger is good. We don't really use the UI builder as it does not fit our requirements. There is a lot of programming through (m)xml. There are many little gotchas in AS3/MXML programming that consume free time while you figure them out. We had to code several tools to generate mediator-type objects for AS3 to Java.
Once I figured out when to use MXML (it's great for setting up layouts) and when to use Actionscript (I try to use AS for most everything else), I was happy with it: it gets the job done fast, it's object-oriented enough for my purposes, and it's far easier for me to understand than the Flash timeline. Being able to quickly produce AIR apps is another nice use for Flex.<p>I'd recommend starting with Flex Builder (based on Eclipse) which was much easier to get setup than the commandline tools.
Are these two substitutes? From my limited experience at <a href="http://www.this11.com" rel="nofollow">http://www.this11.com</a> , Flex is for client side thecnology. Whereas ColdFusion is a server side beast.
I didn't think that it is that bad<p>I am by no means a flash flex expert but I used it on my latest app, actionscript is pretty straightforward ( especially if you shell out for flexdevelop ). The xml is annoying but manageable. Help is easy to get on forums and #flex<p>You can download like a 2 month free trial of flexdevelop, make a small app and see what you think.
Flex is tag based and compiles to flash and sits on the client and talks to Coldfusion (or any other server side language) on the server.<p>If you have done javascript flex (or more properly Actionscript) will be easy to pick up.<p>However if you don't like Rapid Application Development (or get paid for code by the line) you will hate Coldfusion ;<)
We're using it for our site, and it's pretty much perfect for what we're doing. There's really no better way to make something that's live, dynamic, good-looking, and cross compatible in every browser.<p>Without knowing anything specific about it, I'd guess ColdFusion sucks given the fact that it is the only Adobe product that almost nobody has used for any new application since the Reagan administration.
Matt Maroon - I like your blog but buddy regarding Coldfusion you haven't got a clue.<p><a href="http://www.gotcfm.com/thelist.cfm" rel="nofollow">http://www.gotcfm.com/thelist.cfm</a>
Actually I started using flex for a custom project at work, to talk to a server in C++. Makes life extremely easy (if you have the eclipse flex builder plugin). Extremely well designed and the dev tools are fine too. Theyve put a lot of thought into it. Documentation is pretty uptodate with lots of samples online. The lack of a "wait" got me a bit scared at first but very easy to get used to.