On Tuesday 09 August 2005 18:32, Dawson, Michael wrote:
> We are currently working on a small project to test AJAX feasibility for
> us.  We found that it is a great deal of work compared to simple page

I've got a simple wrapper JS function that goes around the Sarissa crosbrowser 
xmlHttpRequest, and allows me to say
xmlDoc=makeRequest('getUserDetails','userid=32');
This is translated inside makeRequest into a HTTP form post.

The wrapper handles all the client-side error reporting and traps.
The wrapper calls a single server-side .cfm page,which basically acts as a 
fusebox/switch, and returns empty strong or an xml doc. Errors are trapped 
and logged, as well as passed back to the client for display.

This makes it very, very easy, and fast.
I'm hopefully going to get a chance to write up some details in my blog today.

-- 

Tom Chiverton 
Advanced ColdFusion Programmer

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Discover CFTicket - The leading ColdFusion Help Desk and Trouble 
Ticket application

http://www.houseoffusion.com/banners/view.cfm?bannerid=48

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:214304
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to