|
|
YOUR FEEDBACK
Did you read today's front page stories & breaking news?
SYS-CON.TV SYS-CON.TV WEBCASTS |
TOP COLDFUSION LINKS ColdFusion News Desk
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
By: Andrew Powell
May. 16, 2008 11:45 AM
Digg This!
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. [This post appeared originally here and is republished in full with the kind permission of the author, who retains full copyright.]
CFDJ LATEST STORIES . . .
SUBSCRIBE TO THE WORLD'S MOST POWERFUL NEWSLETTERS SUBSCRIBE TO OUR RSS FEEDS & GET YOUR SYS-CON NEWS LIVE!
|
SYS-CON FEATURED WHITEPAPERS MOST READ THIS WEEK |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||