Re: Ajax inserts / updates and CF

2013-01-10 Thread Larry Lyons

You don't necessarily have to turn it off. Just select dockable.cfm - that I 
believe allows you to have debugging on while using Ajax. 

That said, I've found it much better simply to use the firebug and web tools 
plugins in either FF or Chrome to debug Ajax requests.

> This is a great move and highly recommended for the reasons you 
> mention, but also if you plan to go mobile. Just a tip for you...make 
> sure you turn CF debugging OFF when testing your jquery ajax calls 
> because if you leave it on, it may appear that your ajax is not 
> working at all with no js errors. Also, I would recommend you use 
> firefox as a browser and firebug to debug your jquery code. Hope this 
> helps.
> 
> >Hi Folks,
> >
> >We're getting ready to implement some ajax code in our application to 
> enable
> >queries (esp inserts and updates) to run without having to do a full 
> page
> >refresh (the main goal being to just improve page load performance).
> >There's obviously a lot of info out there on this topic and I'm 
> interested
> >in getting a little feedback about what might be best or most 
> appropriate.
> >For instance, are there any recommended examples / tutorials for 
> doing this
> >with CF?  Would this sort of thing likely use jquery or just straight 
> custom
> >javascript?
> >
> >Many thanks in advance.
> >
> >Nick 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:353822
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Ajax inserts / updates and CF

2013-01-09 Thread Steve 'Cutter' Blades

If you are on a properly patched (and updated) version of CF 9.01 or 
higher, then CF Debugging will/should have no effect on your ajax calls, 
if you are directly calling a cfc.

Steve 'Cutter' Blades
Adobe Community Professional
Adobe Certified Expert
Advanced Macromedia ColdFusion MX 7 Developer

http://cutterscrossing.com


Co-Author "Learning Ext JS 3.2" Packt Publishing 2010
https://www.packtpub.com/learning-ext-js-3-2-for-building-dynamic-desktop-style-user-interfaces/book

"The best way to predict the future is to help create it"

On 1/9/2013 2:15 PM, Theresa Temple wrote:
> This is a great move and highly recommended for the reasons you mention, but 
> also if you plan to go mobile. Just a tip for you...make sure you turn CF 
> debugging OFF when testing your jquery ajax calls because if you leave it on, 
> it may appear that your ajax is not working at all with no js errors. Also, I 
> would recommend you use firefox as a browser and firebug to debug your jquery 
> code. Hope this helps.
>
>> Hi Folks,
>>
>> We're getting ready to implement some ajax code in our application to enable
>> queries (esp inserts and updates) to run without having to do a full page
>> refresh (the main goal being to just improve page load performance).
>> There's obviously a lot of info out there on this topic and I'm interested
>> in getting a little feedback about what might be best or most appropriate.
>> For instance, are there any recommended examples / tutorials for doing this
>> with CF?  Would this sort of thing likely use jquery or just straight custom
>> javascript?
>>
>> Many thanks in advance.
>>
>> Nick
> 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:353820
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Ajax inserts / updates and CF

2013-01-09 Thread Theresa Temple

This is a great move and highly recommended for the reasons you mention, but 
also if you plan to go mobile. Just a tip for you...make sure you turn CF 
debugging OFF when testing your jquery ajax calls because if you leave it on, 
it may appear that your ajax is not working at all with no js errors. Also, I 
would recommend you use firefox as a browser and firebug to debug your jquery 
code. Hope this helps.

>Hi Folks,
>
>We're getting ready to implement some ajax code in our application to enable
>queries (esp inserts and updates) to run without having to do a full page
>refresh (the main goal being to just improve page load performance).
>There's obviously a lot of info out there on this topic and I'm interested
>in getting a little feedback about what might be best or most appropriate.
>For instance, are there any recommended examples / tutorials for doing this
>with CF?  Would this sort of thing likely use jquery or just straight custom
>javascript?
>
>Many thanks in advance.
>
>Nick 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:353817
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Ajax inserts / updates and CF

2013-01-08 Thread Raymond Camden

I would advise being a bit more careful about this. I agree - don't use the
stuff built in CF directly - but I think we are all talking about the CF
"UI" stuff. I consider the CFC/returnFormat=json as part of CF's Ajax
support and I'd definitely recommend using it.


On Tue, Jan 8, 2013 at 1:05 PM, Russ Michaels  wrote:

>
> yes, I mistyped, should have said "I suggest NOT using" :-)
>
>
>
> On Tue, Jan 8, 2013 at 6:48 PM, Rick Faircloth  >wrote:
>
> >
> > Russ, were you advising Nick to "not" use the
> > stuff built into CF?
> >
> > If so, I agree.  jQuery is the way to go. I tried
> > working with CF's functionality, jQuery was much
> > easier for me to learn.
> >
> > Rick
> >
> > -Original Message-
> > From: Russ Michaels [mailto:r...@michaels.me.uk]
> > Sent: Tuesday, January 08, 2013 8:58 AM
> > To: cf-talk
> > Subject: Re: Ajax inserts / updates and CF
> >
> >
> > I would really suggest using the stuff built into CF.
> > Your better off using jquery, there are tons of tutorials out ther eon
> > jquery and jquery with CF.
> >
> >
> > On Mon, Jan 7, 2013 at 11:28 PM, Nick Gleason  > >wrote:
> >
> > >
> > > Hi Folks,
> > >
> > > We're getting ready to implement some ajax code in our application to
> > > enable
> > > queries (esp inserts and updates) to run without having to do a full
> page
> > > refresh (the main goal being to just improve page load performance).
> > > There's obviously a lot of info out there on this topic and I'm
> > interested
> > > in getting a little feedback about what might be best or most
> > appropriate.
> > > For instance, are there any recommended examples / tutorials for doing
> > this
> > > with CF?  Would this sort of thing likely use jquery or just straight
> > > custom
> > > javascript?
> > >
> > > Many thanks in advance.
> > >
> > > Nick
> > >
> > >
> > >
> > >
> > >
> > >
> >
> >
> >
> >
>
> 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:353815
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Ajax inserts / updates and CF

2013-01-08 Thread Russ Michaels

yes, I mistyped, should have said "I suggest NOT using" :-)



On Tue, Jan 8, 2013 at 6:48 PM, Rick Faircloth wrote:

>
> Russ, were you advising Nick to "not" use the
> stuff built into CF?
>
> If so, I agree.  jQuery is the way to go. I tried
> working with CF's functionality, jQuery was much
> easier for me to learn.
>
> Rick
>
> -Original Message-
> From: Russ Michaels [mailto:r...@michaels.me.uk]
> Sent: Tuesday, January 08, 2013 8:58 AM
> To: cf-talk
> Subject: Re: Ajax inserts / updates and CF
>
>
> I would really suggest using the stuff built into CF.
> Your better off using jquery, there are tons of tutorials out ther eon
> jquery and jquery with CF.
>
>
> On Mon, Jan 7, 2013 at 11:28 PM, Nick Gleason  >wrote:
>
> >
> > Hi Folks,
> >
> > We're getting ready to implement some ajax code in our application to
> > enable
> > queries (esp inserts and updates) to run without having to do a full page
> > refresh (the main goal being to just improve page load performance).
> > There's obviously a lot of info out there on this topic and I'm
> interested
> > in getting a little feedback about what might be best or most
> appropriate.
> > For instance, are there any recommended examples / tutorials for doing
> this
> > with CF?  Would this sort of thing likely use jquery or just straight
> > custom
> > javascript?
> >
> > Many thanks in advance.
> >
> > Nick
> >
> >
> >
> >
> >
> >
>
>
>
> 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:353814
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


RE: Ajax inserts / updates and CF

2013-01-08 Thread Rick Faircloth

Russ, were you advising Nick to "not" use the
stuff built into CF?

If so, I agree.  jQuery is the way to go. I tried
working with CF's functionality, jQuery was much
easier for me to learn.

Rick

-Original Message-
From: Russ Michaels [mailto:r...@michaels.me.uk] 
Sent: Tuesday, January 08, 2013 8:58 AM
To: cf-talk
Subject: Re: Ajax inserts / updates and CF


I would really suggest using the stuff built into CF.
Your better off using jquery, there are tons of tutorials out ther eon
jquery and jquery with CF.


On Mon, Jan 7, 2013 at 11:28 PM, Nick Gleason wrote:

>
> Hi Folks,
>
> We're getting ready to implement some ajax code in our application to
> enable
> queries (esp inserts and updates) to run without having to do a full page
> refresh (the main goal being to just improve page load performance).
> There's obviously a lot of info out there on this topic and I'm interested
> in getting a little feedback about what might be best or most appropriate.
> For instance, are there any recommended examples / tutorials for doing this
> with CF?  Would this sort of thing likely use jquery or just straight
> custom
> javascript?
>
> Many thanks in advance.
>
> Nick
>
>
>
>
>
> 



~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:353813
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Ajax inserts / updates and CF

2013-01-08 Thread Russ Michaels

I would really suggest using the stuff built into CF.
Your better off using jquery, there are tons of tutorials out ther eon
jquery and jquery with CF.


On Mon, Jan 7, 2013 at 11:28 PM, Nick Gleason wrote:

>
> Hi Folks,
>
> We're getting ready to implement some ajax code in our application to
> enable
> queries (esp inserts and updates) to run without having to do a full page
> refresh (the main goal being to just improve page load performance).
> There's obviously a lot of info out there on this topic and I'm interested
> in getting a little feedback about what might be best or most appropriate.
> For instance, are there any recommended examples / tutorials for doing this
> with CF?  Would this sort of thing likely use jquery or just straight
> custom
> javascript?
>
> Many thanks in advance.
>
> Nick
>
>
>
>
>
> 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:353807
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm