I've recently started using Jquery (jquery.com) for some DOM stuff, quick shortcuts and effects, only 15k. It also includes an AJAX engine, but I haven't quite figured out how to call CFCs with it. Once I have that, I might drop jsmx so that I can condense all of my JS libraries into one.
andy > Yeah, that's coo. JSMX does the same. It is, really, whatever floats your > boat. For me, if I want to do heavy JS work I'd use > MochiKit<http://www.mochikit.com/>. > For Ajax, it is JSMX all the way. If I want all of the sliding effects, > blah, blah, blah I'd most likely use Atlas or Spry. > > It is the choice between a framework or simple Ajax connections. I know JS > so I don't mind writing my own display code, etc. I'll, honestly, never use > cfajax again. I was using it when it first came out and a while after but, > seriously, you'll probably like JSMX better when it comes to pure > XMLHttpRequest. It is easier to make a call and get your data...which is why > Ajax is used (a...synchronous; :-) ). > > </MyOpinionOnTheMatter> > > On 6/23/06, Josh Nathanson <[EMAIL PROTECTED]> wrote: > > > > My understanding is that the cfajax/ajaxcfc engine will return whatever > > you > > return from CF, but converted into JS. So if your CF function returns a > > string, it will be converted into a JS string. If your CF returns a > > query, > > it converts that into JS array of objects which mimics a recordset. So > > recordset[0].column in your returned JS is equivalent to the first row, > > fieldname "column" of your returned cf query. > > > > Here's a very quick and straightforward explanation of the return types, I > > think this would apply to ajaxCFC as well since the js engine is > > essentially > > the same. > > > > http://www.indiankey.com/cfajax/wiki/ow.asp?CFAjaxReturnTypes > > > > -- Josh > > > > > > > > > > > > > > ----- Original Message ----- > > From: "Bryan Stevenson" <[EMAIL PROTECTED]> > > To: "CF-Talk" <cf-talk@houseoffusion.com> > > Sent: Friday, June 23, 2006 9:46 AM > > Subject: Re: FJAX - discuss amongst yourselves > > > > > > > geesh...guess I missed some parts of CFAJAX....al we use it for is > > > returning > > > strings > > > > > > Of course this project I'm not writing the code...my staff is...normally > > > I'm in > > > the trenches and have a cleaer picture of what's going on ;-) > > > > > > Cheers > > > > > > Bryan Stevenson B.Comm. > > > VP & Director of E-Commerce Development > > > Electric Edge Systems Group Inc. > > > phone: 250.480.0642 > > > fax: 250.480.1264 > > > cell: 250.920.8830 > > > e-mail: [EMAIL PROTECTED] > > > web: www.electricedgesystems.com > > > > > > > > > > > > > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:244746 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