ajaxCFC, CFAJAX and other CF-specific libraries provide a way to get
native CF types returned into your client page without having to write
the extra code yourself. For example, if I have a CFC that contains a
method that returns a query, I can just use ajaxCFC to call the CF
method from within my page and use the returned results in the
callback; the results become available as a JS object. With some other
toolkit libraries, you need to write extra code to translate from your
return data to the format the library understands.

On 6/23/06, Jeff Chastain <[EMAIL PROTECTED]> wrote:
> I have actually been taking apart the Mach-II + ajaxCFC demo, and have come
> to the conclusion that I just don't get ajaxCFC.  Ajax in my understanding
> is supposed to be client-side JavaScript making asynchronous calls to the
> backend server.  So with this, where do CFCs come into play?  Ajax
> frameworks like Prototype and Dojo just make a lot more sense to me.

-- 
CFAJAX docs and other useful articles:
http://jr-holmes.coldfusionjournal.com/

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:244602
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=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to