DevNewz News Archives About Us Feedback

Recent Articles

OSI Certifies Microsoft Open Source Licenses
OSI made an expected move Monday, approving the Microsoft Public License (Ms-PL) and the Microsoft Reciprocal License (Ms-RL). Michael Tiemann noted that Microsoft followed the process, the discussion on...

MAX 2007 - Day Two
The day's general session kicked off with Bruce (Chizen, CEO) telling us how much it inspires Adobe to see 4,000 people at the conference (after he told a funny story about going backstage at a rock concert, only to have the lighting and sound guys mob him and enthuse...

Feature-Driven Development
At the IASA ITARC event in Atlanta I listened to Don Browning, Principal Architect at Turner Broadcasting, talk about Feature Driven Development. Turner considered XP, SCRUM and FDD sometime ago and found that...

Exporting From CFGRID In Coldfusion 8
A user asked me today if it was possible to export data from the new HTML-based grid in ColdFusion 8. While there is no direct support, you can roll your own. Let's take a look at one solution to this problem. The first thing I'll do is share the base code that will power my grid.

Interesting Bug With Query Columns
An interesting bug (not a ColdFusion bug, but a user bug) cropped up in a discussion last week in the ColdFusion IRC channel. Unfortunately I don't remember his IRC name, but after we worked together on this for...


10.31.07


Event-Driven Model Framework?

By Sean Corfield

As folks start adopting more AJAX and Flex for their applications, I see a lot of questions about "how to use <insert favorite HTML framework> to handle AJAX/Flex calls?"

This is based on two things (in my opinion - putting on my flame-retardant suit)...

• A fairly fundamental misunderstanding about how AJAX/Flex work

• An unnatural attachment to one and only one tool of choice

I'm not going to address the first issue beyond referring people to this excellent blog post by Brian Kotek about data requests vs content requests (again - I blogged Brian's post back in July).

The second issue is an interesting one for me.

The reason why folks want to continue to use XYZ framework for AJAX/Flex that they already use for HTML applications is that they've gotten used to the whole MVC pattern and the organizational benefits it brings to their applications.

They've also gotten used to the event model (in Mach-II, Model-Glue and ColdBox at least) and they like wiring together their control logic in this way.

Of course, the bottom line is that those frameworks are really designed for creating HTML applications and, at a stretch, XML data - but what AJAX/Flex really need is to talk to CFCs, passing data in and getting data back.

Download Now!

This brings me to a question: would people be interested in a framework intended to support AJAX/Flex data requests that implements an event-based model like Mach-II, Model-Glue and ColdBox?

If so, what would you want to see in such a framework?

This framework could sit between those HTML MVC frameworks and your business model (and allow for a much simplified controller layer) as well as exposing a remote API for AJAX/Flex.

Comments


About the Author:
Sean is currently Senior Computer Scientist and Team Lead in the Hosted Services group at Adobe Systems Incorporated. He has worked in the IT industry for nearly twenty-five years, first in database systems and compilers (serving eight years on the ANSI C++ Standards Committee), then in mobile telecoms, and finally in web development. Sean is a staunch advocate of software standards and best practices, and is a well-known and respected speaker on these subjects. Sean has championed and contributed to a number of ColdFusion frameworks, and is a frequent publisher on his blog, http://corfield.org/

About DevNewz
DevNewz has assembled experts around the world to deliver helpful advice to application developers. Our in-house news staff focuses on keeping you updated with the latest new software and trends in application development. DevNewz provides Knowlege For Application Developers.

DevNewz is brought to you by:

SecurityConfig.com NetworkingFiles.com
NetworkNewz.com WebProASP.com
DatabaseProNews.com SQLProNews.com
ITcertificationNews.com SysAdminNews.com
LinuxProNews.com WirelessProNews.com
CProgrammingTrends.com ITmanagementNews.com


-- DevNewz is an iEntry, Inc. publication --
iEntry, Inc. 2549 Richmond Rd. Lexington KY, 40509
2007 iEntry, Inc.  All Rights Reserved  Privacy Policy  Legal

archives | advertising info | news headlines | free newsletters | comments/feedback | submit article


Knowlege For Application Developers DevNewz Home Page About Article Archive News Downloads WebProWorld Forums Jayde iEntry Advertise Contact