Re: ColdFusion and AJAX choices

2011-05-20 Thread Mark Drew

I guess all you want is to make on croissant and you have to buy a whole bag of 
flour. 

Then again, you might want to make pizza later on or maybe some tasty bread! 

Oh dear, this analogy has made me hungry. 

It reminds me EXACTLY of the Frameworks arguments that always crop up. 

MD


On 20 May 2011, at 18:24, Michael Grant wrote:

> 
> I'm capable. You're capable. Most of us are capable. I just don't see a
> point to it. I'm also capable of grinding my own flour, but why bother when
> I can just buy a bag?
> 
> 
> On Fri, May 20, 2011 at 12:34 PM, <> wrote:
> 
>> 
 That's an interesting anecdote, however I don't see how it relates to
>> the
>> topic at hand.
>> 
>> It does in the sense "If you are capable of developing your own tools, it
>> could be a better and more efficient solution."
>> If you're not, then use some other's.
>> 
>> 
> 
> 

~|
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:344787
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: ColdFusion and AJAX choices

2011-05-20 Thread Michael Grant

I'm capable. You're capable. Most of us are capable. I just don't see a
point to it. I'm also capable of grinding my own flour, but why bother when
I can just buy a bag?


On Fri, May 20, 2011 at 12:34 PM, <> wrote:

>
>  >>That's an interesting anecdote, however I don't see how it relates to
> the
> topic at hand.
>
> It does in the sense "If you are capable of developing your own tools, it
> could be a better and more efficient solution."
> If you're not, then use some other's.
>
> 

~|
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:344786
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


RE: ColdFusion and AJAX choices

2011-05-20 Thread Rick Faircloth

Good memory, Claude!

-Original Message-
From: Claude Schnéegans 
[mailto:=?ISO-8859-1?Q?Claude_Schn=E9egans >But he's no longer on CF5

He was on CF4.5! ;-)



~|
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:344783
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


RE: ColdFusion and AJAX choices

2011-05-20 Thread Rick Faircloth

That's true, Matt! (But I was on 4.5 until I jumped
straight to 8! :o)

It's been brutal having to write the BASIC code that would
allow me to run ColdFusion 8!

-Original Message-
From: Matt Quackenbush [mailto:quackfu...@gmail.com] 
Sent: Friday, May 20, 2011 12:32 PM
To: cf-talk
Subject: Re: ColdFusion and AJAX choices


On Fri, May 20, 2011 at 11:17 AM, Rick Faircloth wrote:

>
> Michael, I'm still using my Radio Shack Color Computer with 4K of RAM,
> an audio cassette tape for data storage and no monitor,
> which cost me $525 in 1982.
>
> Perhaps I would be more productive if I upgraded to 16K of RAM? :o)
>


But he's no longer on CF5, by God!  :D




~|
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:344782
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: ColdFusion and AJAX choices

2011-05-20 Thread Claude Schnéegans

 >>90k and 9000 lines of code is *nothing*

It may be "nothing", but if all you need is access to Ajax facilities, it is 
still 900 times bigger than necessary.
And since I started developing applications, I obey this fundamental principle:
NEVER USE CODE 900 TIMES BIGGER THAN NECESSARY.

~|
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:344781
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: ColdFusion and AJAX choices

2011-05-20 Thread Matt Quackenbush

Geez.  Can this thread die already?

Claude > *

On Fri, May 20, 2011 at 11:40 AM, <> wrote:

>
>  >>The "Production" jQuery core is 31KB, minified and gzipped,
>
> This is for the "packed" version, but it must be "unpacked" before it is
> used on client side, which "requires non-trivial client-side processing
> time" according to the same official jQuery site.
> The "minimized" uncompressed version is exactly 91 342 bytes.
>
> 

~|
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:344780
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: ColdFusion and AJAX choices

2011-05-20 Thread Claude Schnéegans

 >>The "Production" jQuery core is 31KB, minified and gzipped,

This is for the "packed" version, but it must be "unpacked" before it is used 
on client side, which "requires non-trivial client-side processing time" 
according to the same official jQuery site.
The "minimized" uncompressed version is exactly 91 342 bytes.

~|
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:344779
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: ColdFusion and AJAX choices

2011-05-20 Thread Claude Schnéegans

 >>But he's no longer on CF5

He was on CF4.5! ;-)

~|
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:344778
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: ColdFusion and AJAX choices

2011-05-20 Thread Claude Schnéegans

 >>That's an interesting anecdote, however I don't see how it relates to the
topic at hand.

It does in the sense "If you are capable of developing your own tools, it could 
be a better and more efficient solution."
If you're not, then use some other's.

~|
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:344777
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: ColdFusion and AJAX choices

2011-05-20 Thread Matt Quackenbush

On Fri, May 20, 2011 at 11:17 AM, Rick Faircloth wrote:

>
> Michael, I'm still using my Radio Shack Color Computer with 4K of RAM,
> an audio cassette tape for data storage and no monitor,
> which cost me $525 in 1982.
>
> Perhaps I would be more productive if I upgraded to 16K of RAM? :o)
>


But he's no longer on CF5, by God!  :D


~|
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:344776
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


RE: ColdFusion and AJAX choices

2011-05-20 Thread Rick Faircloth

Michael, I'm still using my Radio Shack Color Computer with 4K of RAM,
an audio cassette tape for data storage and no monitor,
which cost me $525 in 1982.

Perhaps I would be more productive if I upgraded to 16K of RAM? :o)


-Original Message-
From: Michael Grant [mailto:mgr...@modus.bz] 
Sent: Friday, May 20, 2011 12:02 PM
To: cf-talk
Subject: Re: ColdFusion and AJAX choices


That's an interesting anecdote, however I don't see how it relates to the
topic at hand.

When I build new apps I don't use my old pre jQuery codebase anymore. I've
updated to use jQuery (or equiv). Why? Because it's more flexible,
upgradeable, backward compatible and scalable. And for me that's enough.

I also no longer use my Commodore 64 or wear acid washed jeans.



On Fri, May 20, 2011 at 11:31 AM, <> wrote:

>
>  >>Why reinvent the wheel over and over
>
> Please explain why writing code BEFORE the equivalent exists in some open
> source library is REinventing the wheel.
>
> Example:
> When I first looked for a good online editor I could find no one able to
> clean up MS Word crap.
> So I designed my own, about 10 years ago.
> Then came FCKeditor. It has a MSWord paste function, but it was optional
> and must be selected by the user.
> C'mon which user will do it and even know that MSWord code needs to be
> "cleaned"?
> So Why should I switch for FCKEditor?
>
> By the time, I had developped a way styles could be selected in the editor
> using clear natural language names instead of class names. FCK editor
did'nt
> have it, so I kept my own editor.
>
> Now FCK editor offers the same possibility, but still no way to force
> MSWord clean up transparently on every cut'n paste operation.
> At least it didn't the last time I had a look at it.
> So I'm still using my own online editor, and I'm still 100% happy with it.
>
> Ah, and last but not the least, my editor is 100% integrated in my CMS ie:
> it can generate links to internal pages of the user's site by names of
> logical elements instead of having to cut'n paste the actual url.
> Again, this functionality may exists in some more recent stuff, but I
can't
> spend all my time looking for something that will do the same thing I've
> been using for years and I'm happy with.
>
>
> 



~|
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:344775
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


RE: ColdFusion and AJAX choices

2011-05-20 Thread Rick Faircloth

The "Production" jQuery core is 31KB, minified and gzipped,
according to the jQuery site, itself.

So, it would seem, the only correct number to reference
in regards to jQuery production core code is 31KB.

All other numbers are irrelevant.


-Original Message-
From: Claude Schnéegans 
[mailto:=?ISO-8859-1?Q?Claude_Schn=E9egans >So you agree with an incorrect assesment of the size of jQuery? It's
31KB minimized, not 300k.

230k to be more accurate, and about 9000 lines of code in only one file.
The minimized version is 90k and still equivalent to 9000 lines of code to
be compiled.
Again, if one just needs some Ajax facilities, this is like Gross Bertha.




~|
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:344774
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: ColdFusion and AJAX choices

2011-05-20 Thread Michael Grant

I think it's likely very helpful for the OP to decide which AJAX solution to
employ. This discussion is showing him two sides to the js framework story
which will help him make his own informed decision.


On Fri, May 20, 2011 at 11:39 AM, Gerald Guido wrote:

>
> Out of curiosity, how does all this help the OP solve his/her problem?
> Shouldn't this discussion be moved to a more appropriate venue?
>
> Curious-G!
>
> On Fri, May 20, 2011 at 11:31 AM, <> wrote:
>
> >
> >  >>Why reinvent the wheel over and over
> >
> > Please explain why writing code BEFORE the equivalent exists in some open
> > source library is REinventing the wheel.
> >
> > Example:
> > When I first looked for a good online editor I could find no one able to
> > clean up MS Word crap.
> > So I designed my own, about 10 years ago.
> > Then came FCKeditor. It has a MSWord paste function, but it was optional
> > and must be selected by the user.
> > C'mon which user will do it and even know that MSWord code needs to be
> > "cleaned"?
> > So Why should I switch for FCKEditor?
> >
> > By the time, I had developped a way styles could be selected in the
> editor
> > using clear natural language names instead of class names. FCK editor
> did'nt
> > have it, so I kept my own editor.
> >
> > Now FCK editor offers the same possibility, but still no way to force
> > MSWord clean up transparently on every cut'n paste operation.
> > At least it didn't the last time I had a look at it.
> > So I'm still using my own online editor, and I'm still 100% happy with
> it.
> >
> > Ah, and last but not the least, my editor is 100% integrated in my CMS
> ie:
> > it can generate links to internal pages of the user's site by names of
> > logical elements instead of having to cut'n paste the actual url.
> > Again, this functionality may exists in some more recent stuff, but I
> can't
> > spend all my time looking for something that will do the same thing I've
> > been using for years and I'm happy with.
> >
> >
> >
>
> 

~|
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:344772
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: ColdFusion and AJAX choices

2011-05-20 Thread Michael Grant

That's an interesting anecdote, however I don't see how it relates to the
topic at hand.

When I build new apps I don't use my old pre jQuery codebase anymore. I've
updated to use jQuery (or equiv). Why? Because it's more flexible,
upgradeable, backward compatible and scalable. And for me that's enough.

I also no longer use my Commodore 64 or wear acid washed jeans.



On Fri, May 20, 2011 at 11:31 AM, <> wrote:

>
>  >>Why reinvent the wheel over and over
>
> Please explain why writing code BEFORE the equivalent exists in some open
> source library is REinventing the wheel.
>
> Example:
> When I first looked for a good online editor I could find no one able to
> clean up MS Word crap.
> So I designed my own, about 10 years ago.
> Then came FCKeditor. It has a MSWord paste function, but it was optional
> and must be selected by the user.
> C'mon which user will do it and even know that MSWord code needs to be
> "cleaned"?
> So Why should I switch for FCKEditor?
>
> By the time, I had developped a way styles could be selected in the editor
> using clear natural language names instead of class names. FCK editor did'nt
> have it, so I kept my own editor.
>
> Now FCK editor offers the same possibility, but still no way to force
> MSWord clean up transparently on every cut'n paste operation.
> At least it didn't the last time I had a look at it.
> So I'm still using my own online editor, and I'm still 100% happy with it.
>
> Ah, and last but not the least, my editor is 100% integrated in my CMS ie:
> it can generate links to internal pages of the user's site by names of
> logical elements instead of having to cut'n paste the actual url.
> Again, this functionality may exists in some more recent stuff, but I can't
> spend all my time looking for something that will do the same thing I've
> been using for years and I'm happy with.
>
>
> 

~|
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:344771
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: ColdFusion and AJAX choices

2011-05-20 Thread Gerald Guido

Out of curiosity, how does all this help the OP solve his/her problem?
Shouldn't this discussion be moved to a more appropriate venue?

Curious-G!

On Fri, May 20, 2011 at 11:31 AM, <> wrote:

>
>  >>Why reinvent the wheel over and over
>
> Please explain why writing code BEFORE the equivalent exists in some open
> source library is REinventing the wheel.
>
> Example:
> When I first looked for a good online editor I could find no one able to
> clean up MS Word crap.
> So I designed my own, about 10 years ago.
> Then came FCKeditor. It has a MSWord paste function, but it was optional
> and must be selected by the user.
> C'mon which user will do it and even know that MSWord code needs to be
> "cleaned"?
> So Why should I switch for FCKEditor?
>
> By the time, I had developped a way styles could be selected in the editor
> using clear natural language names instead of class names. FCK editor did'nt
> have it, so I kept my own editor.
>
> Now FCK editor offers the same possibility, but still no way to force
> MSWord clean up transparently on every cut'n paste operation.
> At least it didn't the last time I had a look at it.
> So I'm still using my own online editor, and I'm still 100% happy with it.
>
> Ah, and last but not the least, my editor is 100% integrated in my CMS ie:
> it can generate links to internal pages of the user's site by names of
> logical elements instead of having to cut'n paste the actual url.
> Again, this functionality may exists in some more recent stuff, but I can't
> spend all my time looking for something that will do the same thing I've
> been using for years and I'm happy with.
>
>
> 

~|
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:344769
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: ColdFusion and AJAX choices

2011-05-20 Thread John M Bliss

Again, unless you're developing for the two oldest and slowest computers on
the 'Net, 90k and 9000 lines of code is *nothing* and/or cached.

And you get all of the stuff that's been pointed out in this thread:

- a standard way of handling things so that, if you get hit by a bus and
your replacement knows jquery, (s)he'll have no troubles stepping in
- more-or-less guaranteed cross-browser compatibility
- functions to do much more than "some Ajax facilities" when your page/app
grows
- hundreds of plugins and jqueryui for when your page/app grows
- etc

On Fri, May 20, 2011 at 10:05 AM, <> wrote:

>
>  >>So you agree with an incorrect assesment of the size of jQuery? It's
> 31KB minimized, not 300k.
>
> 230k to be more accurate, and about 9000 lines of code in only one file.
> The minimized version is 90k and still equivalent to 9000 lines of code to
> be compiled.
> Again, if one just needs some Ajax facilities, this is like Gross Bertha.
>
>
> 

~|
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:344768
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: ColdFusion and AJAX choices

2011-05-20 Thread Claude Schnéegans

 >>Why reinvent the wheel over and over

Please explain why writing code BEFORE the equivalent exists in some open 
source library is REinventing the wheel.

Example:
When I first looked for a good online editor I could find no one able to clean 
up MS Word crap.
So I designed my own, about 10 years ago.
Then came FCKeditor. It has a MSWord paste function, but it was optional and 
must be selected by the user.
C'mon which user will do it and even know that MSWord code needs to be 
"cleaned"?
So Why should I switch for FCKEditor?

By the time, I had developped a way styles could be selected in the editor 
using clear natural language names instead of class names. FCK editor did'nt 
have it, so I kept my own editor.

Now FCK editor offers the same possibility, but still no way to force MSWord 
clean up transparently on every cut'n paste operation.
At least it didn't the last time I had a look at it.
So I'm still using my own online editor, and I'm still 100% happy with it.

Ah, and last but not the least, my editor is 100% integrated in my CMS ie: it 
can generate links to internal pages of the user's site by names of logical 
elements instead of having to cut'n paste the actual url.
Again, this functionality may exists in some more recent stuff, but I can't 
spend all my time looking for something that will do the same thing I've been 
using for years and I'm happy with.


~|
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:344766
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


RE: ColdFusion and AJAX choices

2011-05-20 Thread Andrew Scott

Hey you might get crap done but I get useful code done and very quickly too.
But it is never crap with ExtJS!!!

No seriously that is also why I made the comment too, if it gets the job
done and quickly then it is a useful tool.


Regards,
Andrew Scott
http://www.andyscott.id.au/


> -Original Message-
> From: Raymond Camden [mailto:rcam...@gmail.com]
> Sent: Friday, 20 May 2011 11:44 PM
> To: cf-talk
> Subject: Re: ColdFusion and AJAX choices
> 
> 
> I think I can probably end this conversation right now.
> 
> The absolute BEST JavaScript Framework/Library/selfwritten code is...
> 
> whatever allows you to get the job down in the most efficient, easy to
> maintain manner, and the one that addresses the needs of the users.
> 
> It just so happens that for a -majority- of folks, that's jQuery, but
there's also
> folks who like Ext and Prototype.
> 
> Seriously though - I use jQuery cuz I get crap done. End of story. ;)
> 


~|
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:344757
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: ColdFusion and AJAX choices

2011-05-20 Thread Claude Schnéegans

 >>Perhaps, you could build something like this, but in reality it is much 
 >>better to have 3 or 4 DIFFERENT cars for different purposes.

Or even only ONE if you have only one purpose!

~|
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:344756
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: ColdFusion and AJAX choices

2011-05-20 Thread Claude Schnéegans

 >>So you agree with an incorrect assesment of the size of jQuery? It's
31KB minimized, not 300k.

230k to be more accurate, and about 9000 lines of code in only one file.
The minimized version is 90k and still equivalent to 9000 lines of code to be 
compiled.
Again, if one just needs some Ajax facilities, this is like Gross Bertha.


~|
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:344755
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


RE: ColdFusion and AJAX choices

2011-05-20 Thread Rick Faircloth

Oh, come on, Ray!  Don't become a diplomat now!
Continue the good fight!  jQuery! jQuery! jQuery!

Really, though.  I like it because it gave me,
a non-Javascript (none at all!) programmer, a way
to get into the JS game that I could understand with
no background.  I do incorporate regular JS when needed, now.
(Not much, however...)

But, Ray is right.  We all come to languages with different
experience that leans us in one direction or another, which
determines our decision-making in the end.

To quote a famous philosopher, "Can't we just all get along!" :oP

But, Rick! That's no fun!  We need to have a list for
"Cage-Match Programming" much like iStockphoto has for graphic artists.
Both discussion and coding solutions between the two parties
is acceptable.  Everyone comments on the match,
but only two at a time compete. Everyone learns new programming
techniques, any language is acceptable in the challenges. (Except PHP.
Remember, we don't do drugs in the CF community...)
The community votes on the solutions and most votes wins.

Bring on the "Cage-Match Programming"!  Only one will survive!

Fight! Fight! Fight!

Rick


-Original Message-
From: Raymond Camden [mailto:rcam...@gmail.com] 
Sent: Friday, May 20, 2011 9:44 AM
To: cf-talk
Subject: Re: ColdFusion and AJAX choices


I think I can probably end this conversation right now.

The absolute BEST JavaScript Framework/Library/selfwritten code is...

whatever allows you to get the job down in the most efficient, easy to
maintain manner, and the one that addresses the needs of the users.

It just so happens that for a -majority- of folks, that's jQuery, but
there's also folks who like Ext and Prototype.

Seriously though - I use jQuery cuz I get crap done. End of story. ;)

On Thu, May 19, 2011 at 7:12 PM, Andrew Scott 
wrote:
>
> Andrei, I want to point your attention to your comment.
>
> " I am calling MY Web-site, I know EXACTLY what to expect"
>



~|
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:344752
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: ColdFusion and AJAX choices

2011-05-20 Thread Raymond Camden

I think I can probably end this conversation right now.

The absolute BEST JavaScript Framework/Library/selfwritten code is...

whatever allows you to get the job down in the most efficient, easy to
maintain manner, and the one that addresses the needs of the users.

It just so happens that for a -majority- of folks, that's jQuery, but
there's also folks who like Ext and Prototype.

Seriously though - I use jQuery cuz I get crap done. End of story. ;)

On Thu, May 19, 2011 at 7:12 PM, Andrew Scott  wrote:
>
> Andrei, I want to point your attention to your comment.
>
> " I am calling MY Web-site, I know EXACTLY what to expect"
>

~|
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:344749
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


RE: ColdFusion and AJAX choices

2011-05-19 Thread Andrew Scott

Andrei, I want to point your attention to your comment.

" I am calling MY Web-site, I know EXACTLY what to expect"

As a veteran Software Analyst my first reaction is WTF!!! You might be
calling your server but you have absolutely no control over the users
machine, nor do you have any control over the users network connection, nor
do you have any control over their internet connection. Unless you are in an
Intranet situation, then you have your own restrictions and unforseen
problems.

Either way, you CAN NOT guarantee that the connection is going to be up
between receiving the page and requesting the data. I think you might want
to think a bit more about how connections work, and how to deal with them
when they could break how you let the user know that there might be a
problem with the internet connection or even network connection.

I think that your type of attitude is the wrong attitude to have when
working in this field.

Now having said that, there is also another GREAT and in my opinion much and
far better framework than jQuery out there.

You might want to take a look at ExtJS Core this is also a very free
framework, and provides in my opinion a much better way of doing things in
JS than what jQuery is. 

Just something to consider that jQuery is not the only good tool out there,
nor is it the best for all situations either.


Regards,
Andrew Scott
http://www.andyscott.id.au/


> -Original Message-
> From: Andrei Kondrashev [mailto:adiab...@cs.com]
> Sent: Friday, 20 May 2011 6:16 AM
> To: cf-talk
> Subject: Re: ColdFusion and AJAX choices
> 
> 
> Didn't really wanted to start a discussion.  Just expressed my private
opinion
> applied to this particular situation, not really trying to make any
general
> claims.
> 
> > 1) It's 90k minified
> Only 90?  Great!
> 
> >2) Those 10 lines will inevitably be 1 line of jQuery
> No, my custom line will be 11th one.
> 
> >3) Those 10 lines will work in your favorite browser; then you find
> >that IE x has some quirk you didn't count on, etc
> XMLHTTPRequest is the only thing (thanks Computer God!) that works the
> same way everywhere.  All browsers employ MS XMLHTTP interface.  Only
> difference is in the initialization process, and this is why it requires
10 lines of
> code, not 1 or 2.
> 
> >4) You and Claude S will best friends, I can tell
> Does it mean I am blacklisted now?
> 
> > jQuery core is only 229K uncompressed...
> This, of course, is much better than 300.
> 
> >Do those 10 lines of code enable you to write different handlers
> >depending on the status code and success of the http call without any
> >fuss? Do they translate common response formats into plain js objects
> >for you?
> Yes, I could, but I don't need to, and I don't want to.  I am calling MY
Web-
> site, I know EXACTLY what to expect.  I don't want library function to
perform
> checks for situations, which will never happen. I want to have my own
> interface that fits my needs better. Unless I forced to do so, I will make
> entire HTML cooking on the server-side (this is why we use ColdFusion) and
> just dump results to the browser, to avoid annoying freezes of client's
> browser, while it processes "JS objects", JSONs, XMLs, and created HTML on
> the fly.  If you move server-side processing to the client side, than yes,
you
> might need something like jQuery to help you with this.  But, from my
point
> of view, this is some different programming concept that significantly
differs
> from the client-server paradigm that assumes that client must be as stupid
> and as simple, as possible.
> 
> 
> >To be clear, even on Edge or 56K dial-up, non-cached Jquery, with all
> >its built-in goodness, arrives in less than a second...so...I really
> >can't imagine why rolling your own "just-enough" JS would be better.
> >At least when it comes to speed/performance
> This is because you think that 1 sec is a short time and can be ignored.
I have
> a different vision of this.  I would fight for this 1 sec.  As well as for
the size of
> browser's working set.
> 
> 
> >Clearly, use whatever you like...but...wrt your harvester analogy: when
> >the harvester is free, doesn't impact speed/performance, and will
> >handle the 10 square feet of grass and the 10 hectares of grass...I'm
> >not seeing the drawback of using it for both
> No, this is a wrong example.  The correct one is when you try to build a
car
> that simultaneously can be used as a truck, limo, and participate in
Formula-1.
> And yes, it must be electrical.  Convertible?  Please...  Perhaps, you
could
> build something like this, but in reality it is much better to have 3 or 4
> DIFFERENT cars for d

Re: ColdFusion and AJAX choices

2011-05-19 Thread Michael Grant

>
> My definition of "library" is something that contains millions of books,
> but I can come there and borrow a SINGLE book I need, rather than carry back
> home all millions books.
>

Well, at less than 100k your library/millions of books analogy is
fundamentally flawed. It's probably more accurate to say that jQuery is an
encyclopedia vs the custom functions which are a few pages in a pamphlet.
However you have a backpack and are extremely muscular, making either choice
have virtually no impact on you. So then... why _not_ carry the
encyclopedia?


~|
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:344727
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: ColdFusion and AJAX choices

2011-05-19 Thread Michael Grant

>
> I've been developing my own functions far before jQuery existed and even
> the term AJAX was invented.


Most of us have. Big deal. I used to write all my own stuff too. Then I
wised up. Why reinvent the wheel over and over with code that is almost
certain to be of lower quality than the jQuery library? With virtually no
discernible advantage. It makes no sense. It's like refusing to buy clothes
because you know how to sew.


~|
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:344726
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: ColdFusion and AJAX choices

2011-05-19 Thread Steve Milburn

So you typically generate the HTML for an ajax call on the server side
and send that back to the browser?  From a person who is concerned
about that extra second and the size of the jQuery library, this
approach seems a little contradictory as those ajax responses have to
be bloated due to all the included markup as opposed to a simple JSON
object.

I'm curious, have you used any tools such as Firebug to actually see
if results in less network traffic over the long run, especially
considering the jQuery library can/will be cached?


On Thu, May 19, 2011 at 4:15 PM, Andrei Kondrashev  wrote:
>
> Didn't really wanted to start a discussion.  Just expressed my private 
> opinion applied to this particular situation, not really trying to make any 
> general claims.
>
>> 1) It's 90k minified
> Only 90?  Great!
>
>>2) Those 10 lines will inevitably be 1 line of jQuery
> No, my custom line will be 11th one.
>
>>3) Those 10 lines will work in your favorite browser; then you find
>>that IE x has some quirk you didn't count on, etc
> XMLHTTPRequest is the only thing (thanks Computer God!) that works the same 
> way everywhere.  All browsers employ MS XMLHTTP interface.  Only difference 
> is in the initialization process, and this is why it requires 10 lines of 
> code, not 1 or 2.
>
>>4) You and Claude S will best friends, I can tell
> Does it mean I am blacklisted now?
>
>> jQuery core is only 229K uncompressed...
> This, of course, is much better than 300.
>
>>Do those 10 lines of code enable you to write different handlers
>>depending on the status code and success of the http call without any
>>fuss? Do they translate common response formats into plain js objects
>>for you?
> Yes, I could, but I don't need to, and I don't want to.  I am calling MY 
> Web-site, I know EXACTLY what to expect.  I don't want library function to 
> perform checks for situations, which will never happen. I want to have my own 
> interface that fits my needs better. Unless I forced to do so, I will make 
> entire HTML cooking on the server-side (this is why we use ColdFusion) and 
> just dump results to the browser, to avoid annoying freezes of client's 
> browser, while it processes "JS objects", JSONs, XMLs, and created HTML on 
> the fly.  If you move server-side processing to the client side, than yes, 
> you might need something like jQuery to help you with this.  But, from my 
> point of view, this is some different programming concept that significantly 
> differs from the client-server paradigm that assumes that client must be as 
> stupid and as simple, as possible.
>
>
>>To be clear, even on Edge or 56K dial-up, non-cached Jquery, with all its
>>built-in goodness, arrives in less than a second...so...I really can't
>>imagine why rolling your own "just-enough" JS would be better.  At least
>>when it comes to speed/performance
> This is because you think that 1 sec is a short time and can be ignored.  I 
> have a different vision of this.  I would fight for this 1 sec.  As well as 
> for the size of browser's working set.
>
>
>>Clearly, use whatever you like...but...wrt your harvester analogy: when
>>the harvester is free, doesn't impact speed/performance, and will handle
>>the 10 square feet of grass and the 10 hectares of grass...I'm not seeing
>>the drawback of using it for both
> No, this is a wrong example.  The correct one is when you try to build a car 
> that simultaneously can be used as a truck, limo, and participate in 
> Formula-1.  And yes, it must be electrical.  Convertible?  Please...  
> Perhaps, you could build something like this, but in reality it is much 
> better to have 3 or 4 DIFFERENT cars for different purposes.  The only place 
> where you can find a piece of free cheese is a mousetrap...
>
>>jQuery (and other libraries) is well tested, well maintained, hugely
>>popular and well thought out. All these things will have an impact on
>>the speed of development and quality of code, especially for someone
>>who wasn't coding before these things were commonplace.
>>Andrei's assertion that using jQuery in this case would be 'nonsense'
>>ignores these pertinent benefits and is itself nonsense.
> My definition of "library" is something that contains millions of books, but 
> I can come there and borrow a SINGLE book I need, rather than carry back home 
> all millions books.  jQuery is a great exercise in JS programming.  Never 
> could imagine that so many things could be done in the browser!  All those 
> flying DIVs and popping images are amazing and REALLY require significant 
> amount of efforts to create and maintain, especially considering the 
> "browsers war".  But what it has to do with my simple task of dynamic update 
> of the application screen?  Therefore, my word "nonsense" should be applied 
> to THIS situation ONLY and should NOT be used in any other context.
>
>
>
> Again, I did not try to offend anybody.  The "best" 
> language/tool/browser/etc. is the one you know.  For example, we all read

Re: ColdFusion and AJAX choices

2011-05-19 Thread Mark Drew

The other side of the coin is that since a lot of people use JQuery, and a lot 
of people get it from the shared JQuery CDN, users are bound to already have it 
cached and therefore there will be little or no load time. 

What terrible performance of JQuery? I guess it depends, but if you have cases 
where it works slow I would be interested to know. I know with every release 
they increase the performance (be it of selectors or functions themselves)

MD


On 19 May 2011, at 02:42, Andrei Kondrashev wrote:

> 
> Carrying 300K of JS code (min) just to do something that takes 10 lines (or 
> less) of JS code is nonsense.  Not even speaking about its terrible 
> performance.
> 
>> jQuery + infinity
> 
> 
> 
> 

~|
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:344719
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: ColdFusion and AJAX choices

2011-05-19 Thread Andrei Kondrashev

Didn't really wanted to start a discussion.  Just expressed my private opinion 
applied to this particular situation, not really trying to make any general 
claims.

> 1) It's 90k minified
Only 90?  Great!

>2) Those 10 lines will inevitably be 1 line of jQuery
No, my custom line will be 11th one.

>3) Those 10 lines will work in your favorite browser; then you find
>that IE x has some quirk you didn't count on, etc
XMLHTTPRequest is the only thing (thanks Computer God!) that works the same way 
everywhere.  All browsers employ MS XMLHTTP interface.  Only difference is in 
the initialization process, and this is why it requires 10 lines of code, not 1 
or 2.

>4) You and Claude S will best friends, I can tell
Does it mean I am blacklisted now?

> jQuery core is only 229K uncompressed...
This, of course, is much better than 300.

>Do those 10 lines of code enable you to write different handlers
>depending on the status code and success of the http call without any
>fuss? Do they translate common response formats into plain js objects
>for you?
Yes, I could, but I don't need to, and I don't want to.  I am calling MY 
Web-site, I know EXACTLY what to expect.  I don't want library function to 
perform checks for situations, which will never happen. I want to have my own 
interface that fits my needs better. Unless I forced to do so, I will make 
entire HTML cooking on the server-side (this is why we use ColdFusion) and just 
dump results to the browser, to avoid annoying freezes of client's browser, 
while it processes "JS objects", JSONs, XMLs, and created HTML on the fly.  If 
you move server-side processing to the client side, than yes, you might need 
something like jQuery to help you with this.  But, from my point of view, this 
is some different programming concept that significantly differs from the 
client-server paradigm that assumes that client must be as stupid and as 
simple, as possible.


>To be clear, even on Edge or 56K dial-up, non-cached Jquery, with all its
>built-in goodness, arrives in less than a second...so...I really can't
>imagine why rolling your own "just-enough" JS would be better.  At least
>when it comes to speed/performance
This is because you think that 1 sec is a short time and can be ignored.  I 
have a different vision of this.  I would fight for this 1 sec.  As well as for 
the size of browser's working set.


>Clearly, use whatever you like...but...wrt your harvester analogy: when
>the harvester is free, doesn't impact speed/performance, and will handle
>the 10 square feet of grass and the 10 hectares of grass...I'm not seeing
>the drawback of using it for both
No, this is a wrong example.  The correct one is when you try to build a car 
that simultaneously can be used as a truck, limo, and participate in Formula-1. 
 And yes, it must be electrical.  Convertible?  Please...  Perhaps, you could 
build something like this, but in reality it is much better to have 3 or 4 
DIFFERENT cars for different purposes.  The only place where you can find a 
piece of free cheese is a mousetrap...

>jQuery (and other libraries) is well tested, well maintained, hugely
>popular and well thought out. All these things will have an impact on
>the speed of development and quality of code, especially for someone
>who wasn't coding before these things were commonplace.
>Andrei's assertion that using jQuery in this case would be 'nonsense'
>ignores these pertinent benefits and is itself nonsense.
My definition of "library" is something that contains millions of books, but I 
can come there and borrow a SINGLE book I need, rather than carry back home all 
millions books.  jQuery is a great exercise in JS programming.  Never could 
imagine that so many things could be done in the browser!  All those flying 
DIVs and popping images are amazing and REALLY require significant amount of 
efforts to create and maintain, especially considering the "browsers war".  But 
what it has to do with my simple task of dynamic update of the application 
screen?  Therefore, my word "nonsense" should be applied to THIS situation ONLY 
and should NOT be used in any other context.



Again, I did not try to offend anybody.  The "best" language/tool/browser/etc. 
is the one you know.  For example, we all reading this post because we all love 
ColdFusion and think it is "the best".  Want to learn an alternative point of 
view?  Go to PHP or .NET forums.  So, if you like jQuery, you comfortable with 
it, you totally trust and rely on it, could quickly produce desired results, or 
just because it is an internal standard of your company - USE IT.  But don't 
tell me this how EVERYBODY should program, because "this is the best", 
"everybody use it", "this is a common standard", "it increases (??) the code 
quality", and so on, and so on. By the way, if people who created jQuery would 
think the same way, they would never created it in the first place, since it 
wasn't a "common standard" and not "everybody" used it.  

Ther

Re: ColdFusion and AJAX choices

2011-05-19 Thread Claude Schnéegans

 >>He shows up nameless for Gmail users because of a character encoding
mismatch between Google's mail servers and his mail server.

Actually no, My name is correctly set up in Thunderbird and all messages 
replied to me show my name correctly.
Only those forwarded by CF_talk are messed up.
The mail server at housefusion.com does not interpret and reproduces the code 
correctly.

~|
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:344707
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: ColdFusion and AJAX choices

2011-05-19 Thread Dave Watts

> And btw - why do you show up nameles

He shows up nameless for Gmail users because of a character encoding
mismatch between Google's mail servers and his mail server.

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/
http://training.figleaf.com/

Fig Leaf Software is a Veteran-Owned Small Business (VOSB) on
GSA Schedule, and provides the highest caliber vendor-authorized
instruction at our training centers, online, or onsite.

~|
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:344705
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


RE: ColdFusion and AJAX choices

2011-05-19 Thread Rick Faircloth

> There are things my code do not check however:
>  - a tornado hit my server;
>  - the end user has an attack of scarlet fever...

Need some code for that? :o)



-Original Message-
From: Claude Schnéegans 
[mailto:=?ISO-8859-1?Q?Claude_Schn=E9egans >Do those 10 lines of code enable you to write different handlers
depending on the status code and success of the http call without any
fuss?

Better than that : they open a new window to display the CF error dump in
case the called template caused an error.

 >>Do they translate common response formats into plain js objects for you?

If I need this, I have other functions to do it.
I also have a function to autamatically populate a dynamic http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:344702
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: ColdFusion and AJAX choices

2011-05-19 Thread Dominic Watson

jQuery (and other libraries) is well tested, well maintained, hugely
popular and well thought out. All these things will have an impact on
the speed of development and quality of code, especially for someone
who wasn't coding before these things were commonplace.

Andrei's assertion that using jQuery in this case would be 'nonsense'
ignores these pertinent benefits and is itself nonsense.

On 19 May 2011 16:03, John M Bliss  wrote:
>> Of course I'm not against using libraries for complex apps if they do the
>> job, but for this particular instance in this thread, which is I recall
>> adding Ajax functionality, using jQuery just for this would be like using a
>> harvester to cut a 10 square foot grass.

~|
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:344693
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: ColdFusion and AJAX choices

2011-05-19 Thread John M Bliss

Clearly, use whatever you like...but...wrt your harvester analogy: when
the harvester is free, doesn't impact speed/performance, and will handle
the 10 square feet of grass and the 10 hectares of grass...I'm not seeing
the drawback of using it for both.

On Thu, May 19, 2011 at 9:57 AM, <> wrote:

>
>  >>Have you used jQuery Claude?
>
> I use a couple of libraries in my system, but most of the time, there is
> something I need they won't do, or 90% they do I don't need.
> I've been developing my own functions far before jQuery existed and even
> the term AJAX was invented.
> They do exactly what I want the way I need.
> I've been a professional programmer for about 40 years, coding a few lines
> is not a problem.
>
> Of course I'm not against using libraries for complex apps if they do the
> job, but for this particular instance in this thread, which is I recall
> adding Ajax functionality, using jQuery just for this would be like using a
> harvester to cut a 10 square foot grass.
>
>
> 

~|
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:344691
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: ColdFusion and AJAX choices

2011-05-19 Thread Claude Schnéegans

 >>Have you used jQuery Claude?

I use a couple of libraries in my system, but most of the time, there is 
something I need they won't do, or 90% they do I don't need.
I've been developing my own functions far before jQuery existed and even the 
term AJAX was invented.
They do exactly what I want the way I need.
I've been a professional programmer for about 40 years, coding a few lines is 
not a problem.

Of course I'm not against using libraries for complex apps if they do the job, 
but for this particular instance in this thread, which is I recall adding Ajax 
functionality, using jQuery just for this would be like using a harvester to 
cut a 10 square foot grass.


~|
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:344690
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: ColdFusion and AJAX choices

2011-05-19 Thread John M Bliss

To be clear, even on Edge or 56K dial-up, non-cached Jquery, with all its
built-in goodness, arrives in less than a second...so...I really can't
imagine why rolling your own "just-enough" JS would be better.  At least
when it comes to speed/performance.

Now, certainly, if you need to do X and Jquery doesn't help with X, that's a
different story.  But, since I started playing with Jquery, I've yet to find
an "X."

On Thu, May 19, 2011 at 9:42 AM, Dominic Watson <
watson.domi...@googlemail.com> wrote:

>
> I'd argue with that being better. Custom handlers for different
> responses allows you to tailor the reaction to failures either
> globally or case by case - you could open a new window with an error
> report, show a nice message for the user, do nothing, etc.
>
> I'm sure that your ajaxGet and ajaxPost methods are well written and
> do their job - but using jQuery goes well beyond a couple of ajax
> methods as I'm sure you know. Have you used jQuery Claude? (Ray, that
> is who the nameless one is - name appears on the HOF site ;)?
>
> On 19 May 2011 15:24,  <> wrote:
>
> > Better than that : they open a new window to display the CF error dump in
> case the called template caused an error.
> >
>
> 

~|
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:344688
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: ColdFusion and AJAX choices

2011-05-19 Thread Dominic Watson

I'd argue with that being better. Custom handlers for different
responses allows you to tailor the reaction to failures either
globally or case by case - you could open a new window with an error
report, show a nice message for the user, do nothing, etc.

I'm sure that your ajaxGet and ajaxPost methods are well written and
do their job - but using jQuery goes well beyond a couple of ajax
methods as I'm sure you know. Have you used jQuery Claude? (Ray, that
is who the nameless one is - name appears on the HOF site ;)?

On 19 May 2011 15:24,  <> wrote:

> Better than that : they open a new window to display the CF error dump in 
> case the called template caused an error.
>

~|
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:344686
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: ColdFusion and AJAX choices

2011-05-19 Thread Claude Schnéegans

 >>Eh? How does jQuery make it easier for folks to get a CF error dump?
Can you explain that?

I was talking about my own code, not jQuery.

~|
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:344683
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: ColdFusion and AJAX choices

2011-05-19 Thread Raymond Camden

On Thu, May 19, 2011 at 9:24 AM,  <> wrote:
>
>  >>Do those 10 lines of code enable you to write different handlers
> depending on the status code and success of the http call without any
> fuss?
>
> Better than that : they open a new window to display the CF error dump in 
> case the called template caused an error.

Eh? How does jQuery make it easier for folks to get a CF error dump?
Can you explain that?

>  >>Do they translate common response formats into plain js objects for you?
>
> If I need this, I have other functions to do it.
> I also have a function to autamatically populate a dynamic  template that will produce all  This one adds 15 lines to the code, including 7 lines to workaround a bug in 
> MSIE.

Great for you - but not everyone wants to write everything by hand. ;)

> There are things my code do not check however:
> - a tornado hit my server;
> - the end user has an attack of scarlet fever...
> - etc.

You aren't even making sense here. If I'm missing your point, speak up.

And btw - why do you show up nameles

~|
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:344682
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: ColdFusion and AJAX choices

2011-05-19 Thread Raymond Camden

So you agree with an incorrect assesment of the size of jQuery? It's
31KB minimized, not 300k.

On Thu, May 19, 2011 at 8:17 AM,  <> wrote:
>
>  >>Carrying 300K of JS code (min) just to do something that takes 10 lines 
> (or less) of JS code is nonsense.
>
> I agree 100%. I do all my Ajax stuff with only two functions: ajaxGET (url) 
> and ajaxPOST (url, sendText),
> exactly 10 lines each.
>
> 

~|
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:344681
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: ColdFusion and AJAX choices

2011-05-19 Thread Claude Schnéegans

 >>Do those 10 lines of code enable you to write different handlers
depending on the status code and success of the http call without any
fuss?

Better than that : they open a new window to display the CF error dump in case 
the called template caused an error.

 >>Do they translate common response formats into plain js objects for you?

If I need this, I have other functions to do it.
I also have a function to autamatically populate a dynamic http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:344680
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: ColdFusion and AJAX choices

2011-05-19 Thread Claude Schnéegans

 >>Carrying 300K of JS code (min) just to do something that takes 10 lines (or 
 >>less) of JS code is nonsense.

I agree 100%. I do all my Ajax stuff with only two functions: ajaxGET (url) and 
ajaxPOST (url, sendText),
exactly 10 lines each.

~|
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:344679
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: ColdFusion and AJAX choices

2011-05-19 Thread Gerald Guido

>>>Carrying 300K of JS code (min) just to do something that takes 10 lines
(or less) of JS code is nonsense.  Not even speaking about its terrible
performance.

The exact same argument could be made swapping out jQuery with CF and JS
with PHP.


On Thu, May 19, 2011 at 2:42 AM, Andrei Kondrashev  wrote:

>
> Carrying 300K of JS code (min) just to do something that takes 10 lines (or
> less) of JS code is nonsense.  Not even speaking about its terrible
> performance.
>
> >jQuery + infinity
>
>
>
> 

~|
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:344666
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: ColdFusion and AJAX choices

2011-05-19 Thread Dominic Watson

Do those 10 lines of code enable you to write different handlers
depending on the status code and success of the http call without any
fuss? Do they translate common response formats into plain js objects
for you?


On 19 May 2011 14:25,  <> wrote:
>
>  >>2) Those 10 lines will inevitably be 1 line of jQuery
>
> What's the difference between 1 line to call a jQuery function inside a 90k 
> JS code and 1 line to call a 10 lines function in your own JS code ?
>
>  >>Those 10 lines will work in your favourite browser; then you find
> that IE x has some quirk you didn't count on, etc
>
> This is your assumption, and of course you're wrong. If only one browser was 
> supported, you would only need 6 lines of code.
>
>  >>You and Claude S will best friends, I can tell
>
> You bet ! ;-)
>
>
> 

~|
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:344663
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: ColdFusion and AJAX choices

2011-05-19 Thread Raymond Camden

Simple. jQuery is so awesome it seems bigger than it really is. ;)

On Thu, May 19, 2011 at 7:03 AM, Rick Faircloth
 wrote:
>
> Where do you get 300K?
>
> jQuery core is only 229K uncompressed...
> 31K, minified and gzipped.
>
> www.jquery.com
>
>
>
> -Original Message-
> From: Michael Grant [mailto:mgr...@modus.bz]
> Sent: Thursday, May 19, 2011 6:45 AM
> To: cf-talk
> Subject: Re: ColdFusion and AJAX choices
>
>
> I used to feel the exact same way!
> Then I realized I was wrong.
>
>
> On Thu, May 19, 2011 at 2:42 AM, Andrei Kondrashev  wrote:
>
>>
>> Carrying 300K of JS code (min) just to do something that takes 10 lines
> (or
>> less) of JS code is nonsense.  Not even speaking about its terrible
>> performance.
>>
>> >jQuery + infinity
>>
>>
>>
>>
>
>
>
> 

~|
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:344657
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: ColdFusion and AJAX choices

2011-05-19 Thread Claude Schnéegans

 >>2) Those 10 lines will inevitably be 1 line of jQuery

What's the difference between 1 line to call a jQuery function inside a 90k JS 
code and 1 line to call a 10 lines function in your own JS code ?

 >>Those 10 lines will work in your favourite browser; then you find
that IE x has some quirk you didn't count on, etc

This is your assumption, and of course you're wrong. If only one browser was 
supported, you would only need 6 lines of code.

 >>You and Claude S will best friends, I can tell

You bet ! ;-)


~|
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:344651
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


RE: ColdFusion and AJAX choices

2011-05-19 Thread Rick Faircloth

Where do you get 300K?

jQuery core is only 229K uncompressed...
31K, minified and gzipped.

www.jquery.com



-Original Message-
From: Michael Grant [mailto:mgr...@modus.bz] 
Sent: Thursday, May 19, 2011 6:45 AM
To: cf-talk
Subject: Re: ColdFusion and AJAX choices


I used to feel the exact same way!
Then I realized I was wrong.


On Thu, May 19, 2011 at 2:42 AM, Andrei Kondrashev  wrote:

>
> Carrying 300K of JS code (min) just to do something that takes 10 lines
(or
> less) of JS code is nonsense.  Not even speaking about its terrible
> performance.
>
> >jQuery + infinity
>
>
>
> 



~|
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:344645
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: ColdFusion and AJAX choices

2011-05-19 Thread Raymond Camden

And add to that that if you use the CDN version, most people already
have it cached.

I've yet to see any performance issues with it.

Would things be faster w/o using a framework? Maybe - but as in all
things - you  make trades between performance and the ability to
maintain the code. I'm SO happy I don't have to write multiplatform
XHR handlers and just do

$.get

instead. :)

On Thu, May 19, 2011 at 2:06 AM, James Holmes  wrote:
>
> 1) It's 90k minified
> 2) Those 10 lines will inevitably be 1 line of jQuery
> 3) Those 10 lines will work in your favourite browser; then you find
> that IE x has some quirk you didn't count on, etc
> 4) You and Claude S will best friends, I can tell
> --
> WSS4CF - WS-Security framework for CF
> http://wss4cf.riaforge.org/
>
-- 
===
Raymond Camden, ColdFusion Jedi Master

Email    : r...@camdenfamily.com
Blog      : www.coldfusionjedi.com
Twitter   : cfjedimaster

Keep up to date with Android news: http://www.androidgat

~|
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:344643
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: ColdFusion and AJAX choices

2011-05-19 Thread Michael Grant

I used to feel the exact same way!
Then I realized I was wrong.


On Thu, May 19, 2011 at 2:42 AM, Andrei Kondrashev  wrote:

>
> Carrying 300K of JS code (min) just to do something that takes 10 lines (or
> less) of JS code is nonsense.  Not even speaking about its terrible
> performance.
>
> >jQuery + infinity
>
>
>
> 

~|
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:344641
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: ColdFusion and AJAX choices

2011-05-19 Thread James Holmes

1) It's 90k minified
2) Those 10 lines will inevitably be 1 line of jQuery
3) Those 10 lines will work in your favourite browser; then you find
that IE x has some quirk you didn't count on, etc
4) You and Claude S will best friends, I can tell
--
WSS4CF - WS-Security framework for CF
http://wss4cf.riaforge.org/



On 19 May 2011 14:42, Andrei Kondrashev  wrote:
>
> Carrying 300K of JS code (min) just to do something that takes 10 lines (or 
> less) of JS code is nonsense.  Not even speaking about its terrible 
> performance.
>
>>jQuery + infinit

~|
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:344639
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: ColdFusion and AJAX choices

2011-05-18 Thread Andrei Kondrashev

Carrying 300K of JS code (min) just to do something that takes 10 lines (or 
less) of JS code is nonsense.  Not even speaking about its terrible performance.

>jQuery + infinity



~|
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:344637
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: ColdFusion and AJAX choices

2011-05-18 Thread John Allen

jQuery forever

On Tue, May 17, 2011 at 6:09 PM, Michael Grant  wrote:

>
> jQuery + infinity
>
>
>
> On Tue, May 17, 2011 at 2:04 PM, Raymond Camden  wrote:
>
> >
> > jQuery + 10. ;)
> >
> > On Tue, May 17, 2011 at 12:56 PM, Carl Von Stetten
> >  wrote:
> > >
> > > jquery +1
> > >
> > > On 5/17/2011 8:50 AM, Darius Florczyk wrote:
> > >> Hi, I need to add AJAX functionality in a new project and wondering if
> > anyone had any recommendations for the most robust, stable choice. I will
> be
> > using it with CF7 but need for it to be easily portable to Railo. The
> need
> > is to easily load CMS content in to DIV layers depending on the users
> > selection and posting of form submits with confirmation alerts.
> > >>
> > >> So far I was looking at ajaxCFC, Prototype, maAjax, CFAjax, JSMX,
> > >>
> > >> Any recommendations?
> > >>
> > >> Thanks
> > >> Darius
> > >>
> > >
> >
> >
>
> 

~|
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:344612
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: ColdFusion and AJAX choices

2011-05-17 Thread Michael Grant

jQuery + infinity



On Tue, May 17, 2011 at 2:04 PM, Raymond Camden  wrote:

>
> jQuery + 10. ;)
>
> On Tue, May 17, 2011 at 12:56 PM, Carl Von Stetten
>  wrote:
> >
> > jquery +1
> >
> > On 5/17/2011 8:50 AM, Darius Florczyk wrote:
> >> Hi, I need to add AJAX functionality in a new project and wondering if
> anyone had any recommendations for the most robust, stable choice. I will be
> using it with CF7 but need for it to be easily portable to Railo. The need
> is to easily load CMS content in to DIV layers depending on the users
> selection and posting of form submits with confirmation alerts.
> >>
> >> So far I was looking at ajaxCFC, Prototype, maAjax, CFAjax, JSMX,
> >>
> >> Any recommendations?
> >>
> >> Thanks
> >> Darius
> >>
> >
>
> 

~|
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:344603
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: ColdFusion and AJAX choices

2011-05-17 Thread Darius Florczyk

thanks much 

~|
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:344597
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: ColdFusion and AJAX choices

2011-05-17 Thread Darius Florczyk

Thank you for the example, I used jQuery a few times but for a larger project 
that was a financial application I used wddxAjax but that was 5-6 years ago :) 

~|
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:344596
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


RE: ColdFusion and AJAX choices

2011-05-17 Thread Rick Faircloth

jQuery for the win...


-Original Message-
From: Raymond Camden [mailto:rcam...@gmail.com] 
Sent: Tuesday, May 17, 2011 2:05 PM
To: cf-talk
Subject: Re: ColdFusion and AJAX choices


jQuery + 10. ;)

On Tue, May 17, 2011 at 12:56 PM, Carl Von Stetten
 wrote:
>
> jquery +1
>
> On 5/17/2011 8:50 AM, Darius Florczyk wrote:
>> Hi, I need to add AJAX functionality in a new project and wondering if
anyone had any recommendations for the most robust, stable choice. I will be
using it with CF7 but need for it to be easily portable to Railo. The need
is to easily load CMS content in to DIV layers depending on the users
selection and posting of form submits with confirmation alerts.
>>
>> So far I was looking at ajaxCFC, Prototype, maAjax, CFAjax, JSMX,
>>
>> Any recommendations?
>>
>> Thanks
>> Darius
>>
>



~|
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:344585
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: ColdFusion and AJAX choices

2011-05-17 Thread Raymond Camden

jQuery + 10. ;)

On Tue, May 17, 2011 at 12:56 PM, Carl Von Stetten
 wrote:
>
> jquery +1
>
> On 5/17/2011 8:50 AM, Darius Florczyk wrote:
>> Hi, I need to add AJAX functionality in a new project and wondering if 
>> anyone had any recommendations for the most robust, stable choice. I will be 
>> using it with CF7 but need for it to be easily portable to Railo. The need 
>> is to easily load CMS content in to DIV layers depending on the users 
>> selection and posting of form submits with confirmation alerts.
>>
>> So far I was looking at ajaxCFC, Prototype, maAjax, CFAjax, JSMX,
>>
>> Any recommendations?
>>
>> Thanks
>> Darius
>>
>

~|
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:344584
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: ColdFusion and AJAX choices

2011-05-17 Thread Carl Von Stetten

jquery +1

On 5/17/2011 8:50 AM, Darius Florczyk wrote:
> Hi, I need to add AJAX functionality in a new project and wondering if anyone 
> had any recommendations for the most robust, stable choice. I will be using 
> it with CF7 but need for it to be easily portable to Railo. The need is to 
> easily load CMS content in to DIV layers depending on the users selection and 
> posting of form submits with confirmation alerts.
>
> So far I was looking at ajaxCFC, Prototype, maAjax, CFAjax, JSMX,
>
> Any recommendations?
>
> Thanks
> Darius
>
> 

~|
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:344583
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: ColdFusion and AJAX choices

2011-05-17 Thread Larry Lyons

> >JQuery... that's all you need
> >
> >
> >>
> 
> Thank you for the suggestion. Any good tutorials on using CF with 
> jQuery that you are aware of?  thanks 

Ray Camden's site has a bunch of excellent tutorials. You also may want to 
check jQuery.com - they list some there as well. But as a starter:

http://www.coldfusionjedi.com/index.cfm/2010/7/9/Another-simple-jQueryColdFusion-example


~|
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:344581
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: ColdFusion and AJAX choices

2011-05-17 Thread Gerald Guido

The jQuery docs are very good

http://api.jquery.com/jQuery.get/

This is an example of how to grab content and put it into a div with the id
of "myDiv".

$.get("getcontent.cfm", { id: "23", userId: "324" },
   function(data){
 $('#myDiv').html(data)
   });





On Tue, May 17, 2011 at 12:47 PM, Russ Michaels  wrote:

>
> If you look into those solutions you mentioned, many of them do in fact use
> jQuery, they are basically wrappers for CF to simplify Ajax with CF. It has
> been years since I used any them, and I used to use AjaxCFC, and it
> certainly did make things a bit quicker and easier than using raw JQuery.
>
> On Tue, May 17, 2011 at 5:18 PM, Darius Florczyk  >wrote:
>
> >
> > >JQuery... that's all you need
> > >
> > >
> > >>
> >
> > Thank you for the suggestion. Any good tutorials on using CF with jQuery
> > that you are aware of?  thanks
> >
> >
>
> 

~|
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:344580
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: ColdFusion and AJAX choices

2011-05-17 Thread Russ Michaels

If you look into those solutions you mentioned, many of them do in fact use
jQuery, they are basically wrappers for CF to simplify Ajax with CF. It has
been years since I used any them, and I used to use AjaxCFC, and it
certainly did make things a bit quicker and easier than using raw JQuery.

On Tue, May 17, 2011 at 5:18 PM, Darius Florczyk wrote:

>
> >JQuery... that's all you need
> >
> >
> >>
>
> Thank you for the suggestion. Any good tutorials on using CF with jQuery
> that you are aware of?  thanks
>
> 

~|
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:344579
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: ColdFusion and AJAX choices

2011-05-17 Thread Azadi Saryev

definitely jquery

Azadi

On 17/05/2011 23:50 , Darius Florczyk wrote:
> Hi, I need to add AJAX functionality in a new project and wondering if anyone 
> had any recommendations for the most robust, stable choice. I will be using 
> it with CF7 but need for it to be easily portable to Railo. The need is to 
> easily load CMS content in to DIV layers depending on the users selection and 
> posting of form submits with confirmation alerts.
>
> So far I was looking at ajaxCFC, Prototype, maAjax, CFAjax, JSMX,
>
> Any recommendations?
>
> Thanks
> Darius
>
> 

~|
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:344578
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: ColdFusion and AJAX choices

2011-05-17 Thread Darius Florczyk

>JQuery... that's all you need
>
>
>>

Thank you for the suggestion. Any good tutorials on using CF with jQuery that 
you are aware of?  thanks 

~|
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:344577
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: ColdFusion and AJAX choices

2011-05-17 Thread Greg Luce

jQuery.
-- 
Greg Luce
Luce Consulting Services, Inc.
(863) 273-0289


On Tue, May 17, 2011 at 10:50 AM, Darius Florczyk wrote:

>
> Hi, I need to add AJAX functionality in a new project and wondering if
> anyone had any recommendations for the most robust, stable choice. I will be
> using it with CF7 but need for it to be easily portable to Railo. The need
> is to easily load CMS content in to DIV layers depending on the users
> selection and posting of form submits with confirmation alerts.
>
> So far I was looking at ajaxCFC, Prototype, maAjax, CFAjax, JSMX,
>
> Any recommendations?
>
> Thanks
> Darius
>
> 

~|
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:344575
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: ColdFusion and AJAX choices

2011-05-17 Thread James Holmes

Yes; ignore everything in that list and use jQuery.
--
WSS4CF - WS-Security framework for CF
http://wss4cf.riaforge.org/



On 17 May 2011 23:50, Darius Florczyk  wrote:
>
> Hi, I need to add AJAX functionality in a new project and wondering if anyone 
> had any recommendations for the most robust, stable choice. I will be using 
> it with CF7 but need for it to be easily portable to Railo. The need is to 
> easily load CMS content in to DIV layers depending on the users selection and 
> posting of form submits with confirmation alerts.
>
> So far I was looking at ajaxCFC, Prototype, maAjax, CFAjax, JSMX,

~|
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:344574
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: ColdFusion and AJAX choices

2011-05-17 Thread Scott Stewart

JQuery... that's all you need

On Tue, May 17, 2011 at 11:50 AM, Darius Florczyk  wrote:
>
> Hi, I need to add AJAX functionality in a new project and wondering if anyone 
> had any recommendations for the most robust, stable choice. I will be using 
> it with CF7 but need for it to be easily portable to Railo. The need is to 
> easily load CMS content in to DIV layers depending on the users selection and 
> posting of form submits with confirmation alerts.
>
> So far I was looking at ajaxCFC, Prototype, maAjax, CFAjax, JSMX,
>
> Any recommendations?
>
> Thanks
> Darius
>
> 

~|
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:344573
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


ColdFusion and AJAX choices

2011-05-17 Thread Darius Florczyk

Hi, I need to add AJAX functionality in a new project and wondering if anyone 
had any recommendations for the most robust, stable choice. I will be using it 
with CF7 but need for it to be easily portable to Railo. The need is to easily 
load CMS content in to DIV layers depending on the users selection and posting 
of form submits with confirmation alerts.  

So far I was looking at ajaxCFC, Prototype, maAjax, CFAjax, JSMX,  

Any recommendations?

Thanks
Darius 

~|
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:344571
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm