Welcome!

AJAX & REA Authors: Andreas Grabner, Lori MacVittie, Kevin Hoffman, John Gannon, Ellen Rubin

Related Topics: Open Web, Adobe Flex

Open Web: Article

RIA News - Flex vs. AJAX: Stop The Madness!

Let's go forth into the brave new world of RIA technology equality!

Andy Powell's ColdFusion, Mach-II, Flex, and Spry Blog

Flex or AJAX? Which one is better? Which one will "win" in the RIA space? I am tired of this argument. I'm tired of seeing blog posts keeping this debate alive. It's a non-issue, really.

I think that people make it an issue when they try, or investigate, each technology and find one easier than the other then run with that technology's banner.I am tired of this argument. I'm tired of seeing posts on MXNA keeping this debate alive. It's a non-issue, really. I think that people make it an issue when they try, or investigate, each technology and find one easier than the other then run with that technology's banner.

Flex and AJAX can, should, and do exist in the same space. Their goal is the same: A rich UI and breaking the old and busted request-response model with the new hotness of the event-driven model. Both technologies can achieve the same goal, but via different paths.

I think we, as a community, also need to talk about something else. Flex is not for everyone. Not every ColdFusion developer can be a Flex developer. AJAX, from a learning curve standpoint, is safer for the ColdFusion developer. It's easier, especially with the abundance of frameworks out there designed to make AJAX simple (Spry, jQuery, etc). As ColdFusion developers, we are graced with a tool that makes things very easy for us, and that's the way some of us like it. AJAX lets you leverage your existing JavaScript skill set to get to the "rich" part of RIAs quickly. You don't have to learn anything new if you already know JavaScript.

Conversely, Flex is not easy to learn for a ColdFusion developer (or anyone else for that matter). Yet, once you learn it, it is even more difficult to master. I don't think there are a large number of people who will argue with that fact.

That steep learning curve can lead to a fear of Flex, and fear can lead to anger, and that anger is what, in my opinion, fuels a lot of these "Flex vs. AJAX" arguments. When you take the fear of the new out of it, Flex and AJAX can peacefully co-exist in the same browser without any debate.

Even if you don't add Flex or AJAX to your skill set does that mean your skills are marginalized? Not in the least. There is still a server-side component that needs to be developed. There will always be a demand for server-side development. The prime market now, however, is for developers who have a broad range of skills. It's never a safe practice to put all your eggs in one basket.

These pieces each have their places in a given environment. Sometimes Flex is a better option and sometimes AJAX is the better option. It all depends on the requirements, the team, and the application. They're both viable. They're both part of the future, and they're both changing the face of the web as we know it.

So, let's go forth into the brave new world of RIA technology equality. Give Flex and AJAX their equal place and let's stop these senseless arguments. If you're afraid of getting into Flex, go to a conference, take a class, read a book. Work through your fear. If you're inclined to AJAX, embrace that and run with it. Just stop arguing and develop.


[This posting appeared originally here and is republished in full with the kind permission of the author, in whom all copyright remains vested.]

More Stories By Andrew Powell

Andrew Powell has been architecting and developing Web applications for over 10 years using ColdFusion, Java, ASP.NET and ASP. His background includes experience running IT Departments for firms in the executive search and aviation consulting fields. You can read his blog on everything ColdFusion, Java, Flex & AJAX at www.infoaccelerator.net.

Comments (4) View Comments

Share your thoughts on this story.

Add your comment
You must be signed in to add a comment. Sign-in | Register

In accordance with our Comment Policy, we encourage comments that are on topic, relevant and to-the-point. We will remove comments that include profanity, personal attacks, racial slurs, threats of violence, or other inappropriate material that violates our Terms and Conditions, and will block users who make repeated violations. We ask all readers to expect diversity of opinion and to treat one another with dignity and respect.


Most Recent Comments
Keith 06/09/08 03:58:19 PM EDT

I think saying that Flex is hard to learn is not accurate. We have successfully taught programmers of both a CF background as well as a Java OOP background how to work with the technology. Thats the beauty of having mxml and action script within the framework. It offers levels of comfort for all types of developers.
I hate to see articles like this that misrepresent a technology. It's unfortunate that syscon let this article out to the public.

chris ellem 03/20/08 01:46:55 AM EDT

AJAX development does not produce an RIA...far from it.

That's Madness!

I also would refute that every ColdFusion Developer would not make a Flex Developer. In 2008 the transition is easier than ever....give it a go.

Richard Monson-Haefel 02/29/08 04:16:10 AM EST

I actually believe that ColdFusion developers would be better off learning Curl, which is an alternative to Adobe Flex and Ajax. Curl is easier to learn and its far more powerful, in my opinion, than either of the other options. Of course I'm biased as I work for Curl, but honestly it's a whole lot better than trying to learn Ajax (JavaScript, CCS, HTML, XML, XHR, DOM) or Flex (ActionScript and MXML).

Juan 02/28/08 02:43:17 PM EST

I agree with you.
I think each technology has strengths and weaknesses.
As Technical professionals we must think about what technology is better in a specific context, rather than what technology is the easiest one.