YOUR FEEDBACK
Rapid Module Development for DotNetNuke
MICHEAL SMITH wrote: GO TO THE LINK, U HAVE EVERYTHING U WANT THERE. MICHEAL...
SOA World Conference
Virtualization Conference
$50 Savings Expire May 23, 2008... – Register Today!


2007 West
GOLD SPONSORS:
Active Endpoints
Your SOA Needs BPEL for Orchestration
BEA
Virtualized SOA: Adaptive Infrastructure for Demanding Applications
Nexaweb
Overcoming Bandwidth Challenges with Nexaweb
TIBCO
What is Service Virtualization?
SILVER SPONSORS:
WSO2
Using Web Services Technologies and FOSS Solutions
Click For 2007 East
Event Webcasts

2008 East
PLATINUM SPONSORS:
Appcelerator
Think Fast: Accelerate AJAX Development with Appcelerator
GOLD SPONSORS:
DreamFace Interactive
The Ultimate Framework for Creating Personalized Web 2.0 Mashups
ICEsoft
AJAX and Social Computing for the Enterprise
Kaazing
Enterprise Comet: Real–Time, Real–Time, or Real–Time Web 2.0?
Nexaweb
Now Playing: Desktop Apps in the Browser!
Sun
jMaki as an AJAX Mashup Framework
POWER PANELS:
The Business Value
of RIAs
What Lies Beyond AJAX?
KEYNOTES:
Douglas Crockford
Can We Fix the Web?
Anthony Franco
2008: The Year of the RIA
Click For 2007 Event Webcasts
SYS-CON.TV
TOP COLDFUSION LINKS


Viewpoint: Not Every ColdFusion Developer Should Be A Flex Developer
I am a big fan of Flex...but it is not a tool that every ColdFusion developer can grasp

Digg This!

Andy Powell's Blog

I am going to go ahead and contend that although a good number of ColdFusion developers can grasp and understand Flex very well, there are also a good number of ColdFusion developers who have no business going anywhere near Flex. Why do I say this? I am a big fan of Flex. I use it daily to create, what I think are, some kick-ass applications. It is a powerful tool that really changes the game on the web and the desktop. That being said, it is not a tool that every ColdFusion developer can grasp.

Flex development is a completely different animal than ColdFusion, Java, PHP, ASP.NET, or any other server-side language you want to use. The most difficult thing for developers coming to Flex from the server-side to grasp is that the concept of request-response is gone. Done. Finitio. Bye-Bye. Sure, Flex clients can make requests to the server, but you don't listen for the response, you let the call happen and listen for your HTTPService, RemoteObject, or whatever to broadcast a result or fault event. Learning, and understanding, the concept of an event-driven approach to application development is the single biggest hurdle to the ColdFusion developer coming to Flex. Let's face it, not everyone is up to the task.

A side note here, when we talk about Flex development, we're talking about both MXML and ActionScript development

The other concept that is a real stumbling block to a lot of ColdFusion developers is that ActionScript is nowhere as forgiving as CFML. You better make damn sure your variables are scoped and typed properly. (The IDE can help with this quite a bit.) ColdFusion's duck typing can lull a developer into some bad practices (read the previous link) that will burn them, or raise the barrier to entry when they come to a strongly typed language like ActionScript. I think that learning another strongly typed, true OO server-side language, like Java, in addition to ColdFusion, can help a ColdFusion developer transition into Flex a little bit better and easier.

Anyone that doesn't want to, or can't, deal with these major hurdles should probably consider steering clear of Flex. If you can't handle OO concepts beyond what CFCs give you, stay away from Flex. You will find Flex difficult, become easily frustrated, and then find some silly reason to dismiss Flex when you really weren't really ready for it to begin with. It's OK though, you can always fall back on your Javascript kung fu and go the AJAX route for RIAs.

Let's stop here for a second and go off on yet another tangent for a paragraph. I want to put an end to one argument that someone will make, right now: Flex is not a ColdFusion killer, competitor, enemy, etc.. Flex is the new UI. The new "V" in your MVC. The new presentation layer. ColdFusion is still relevant in that it can provide data to that UI. End of argument and tangent.

If you are still undaunted, then good for you. Press on with your Flex adventure. Take a training course and learn the basics. Flex is not especially easy to learn, it will take a concerted effort. Further more, once you learn it, ActionScript and MXML are so powerful and complex that it will take longer for you to master Flex.

Once you do however, you will find that there is so much more you can do with Flex to build your kick-ass RIAs. You can use powerful 3D and physics engines, written in AS3, to bring UIs to life that you've only dreamed about building, plus so much more. You just have to have the guts to break out of your comfort zone and charge into it, if you really want to learn Flex.

[This post appeared originally here and is republished in full with the kind permission of the author, who retains full copyright.]

About 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, Spry, & Flex at www.infoaccelerator.net.

qmeister wrote: I think you just did a good job of alienating your audience. Just because bad practices can be done using ColdFusion doesn't mean the people doing those things can't straighten up when necessary. Really? You are putting down the very people that might read this? Really?
read & respond »
Mark wrote: Here's what I took away from this article: a lot of CF developers may be to stupid to use Flex because CF is a very simple language geared towards novices. CF, basically, is a dead language anyway; however, you may have just sucked any life it may have had left. Good job...
read & respond »
GMurnock wrote: The harder everyone makes it sound to make the move to Flex, the more work there is for those of us who have dumped everything and have dove head first into Flex. :)
read & respond »
Scott Emery wrote: I agree with the basic idea. MXML is quite a bit different than CFML. But 'old dogs' can change and learn new things. From my experience, I was suprised (and wasted about a day) because case matters tremendously: bindable is very different than Bindable. But I'll learn.
read & respond »
CF/Flex Developer wrote: That's like saying that not every ColdFusion developer can be a hairdresser. I didn't find out I was terrible at cutting hair until I tried. My wife did not like her new do at all, but at least she no longer had to comb it, brush it, or blow it dry. The important part was that I tried and failed; much better than letting someone tell me flat out that I just can't do it. Sorry Andy, but this wasn't exactly a well thought out article.
read & respond »
Michael Cohen wrote: @Andrew, I disagree with you and I see no reason for a ColdFusion developer not to use Flex. I'm new to Flex and within only a week of searching through the API and fooling around with the Eclipse Plug-in it's amazing what I've been able to accomplish. The power of flex is amazing and the road seems to not just be tilted but directed smack dab at Flex as the next big web craze. Wouldn't you agree that soon Flex applications and RIAs will become a standard? What I don't understand is why any company or developer would not want to take advantage of the rich interface and tools Flex provides. When you think ahead to a year from now, when RIAs dominate the web, wouldn't ColdFusion developers simply be at a huge disadvantage? Shouldn't ColdFusion developers get the ball rolling and dive right in. ...
read & respond »
CFDJ LATEST STORIES . . .
3rd International Virtualization Conference & Expo: Themes & Topics
From Application Virtualization to Xen, a round-up of the virtualization themes & topics being discussed in NYC June 23-24, 2008 by the world-class speaker faculty at the 3rd International Virtualization Conference & Expo being held by SYS-CON Events in The Roosevelt Hotel, in midtown
What Is ColdFusion in the Age of Java?
As CFML developers start to learn Java and move into the realm of Spring and Hibernate, it is very important to stop and ask 'What Is ColdFusion?'. ColdFusion, since CFMX, has been a J2EE application running within a J2EE server (JRun, JBoss, Tomcat, Websphere, etc.). This is important
Opinion: Give ColdFusion Some Room to Breathe
My personal approach has become to to let ColdFusion do what it does best, and no more. No AJAX generation or any of that silly UI stuff. Leave that to the AJAX frameworks, or Flex, or whatever your UI is going to be on the front-end. That's what the UI tool was designed for, CF wasn't
Viewpoint: Not Every ColdFusion Developer Should Be A Flex Developer
I am going to go ahead and contend that although a good number of ColdFusion developers can grasp and understand Flex very well, there are also a good number of ColdFusion developers who have no business going anywhere near Flex. Why do I say this? I am a big fan of Flex. I use it dail
JavaOne 2008: Sun Talks Up its Late-to-the-Party AIR-Silverlight Rival
At Java One this week Sun has been selling its year -old-but-still-upcoming - and definitely late-to-the-party - Adobe AIR- and Microsoft Silverlight-competitive JavaFX Rich Client environment as a potential revenue-generator capable of putting ads on mobile applications and JavaFX Scri
AJAX World - Xceed Launches Microsoft Silverlight 2 Control
Xceed launched Xceed Upload for Silverlight, the commercial offering in support of Microsoft's promising new Silverlight technology. The product is available now for purchase or as a fully functional 45-day trial on Xceed's website. Xceed Upload for Silverlight lets developers add uplo
SUBSCRIBE TO THE WORLD'S MOST POWERFUL NEWSLETTERS
SUBSCRIBE TO OUR RSS FEEDS & GET YOUR SYS-CON NEWS LIVE!
Click to Add our RSS Feeds to the Service of Your Choice:
Google Reader or Homepage Add to My Yahoo! Subscribe with Bloglines Subscribe in NewsGator Online
myFeedster Add to My AOL Subscribe in Rojo Add 'Hugg' to Newsburst from CNET News.com Kinja Digest View Additional SYS-CON Feeds
Publish Your Article! Please send it to editorial(at)sys-con.com!

Advertise on this site! Contact advertising(at)sys-con.com! 201 802-3021

SYS-CON FEATURED WHITEPAPERS

ADS BY GOOGLE