Re: too many js libraries

2007-07-11 Thread Michael Traher
Thanks for all the suggestions and interesting chat! I think an easy win would be to create one combined js file to start with, but I guess there is no other way than to look for and properly document what is actually being used. I was hoping you guys had a nice eclipse or browser plugin that show

RE: too many js libraries

2007-07-11 Thread Dave Watts
> If you have a view within an application that uses an ajax > enabled datagrid but does not need autocomplete, form > validation, and an accordian... Why would you load your > entire toolbox into the back of the truck when all you need > is a box of nails and a hammer? So maybe you don't expir

RE: too many js libraries

2007-07-11 Thread Jim Rising
another way. :) Jim Rising Sr. Cold Fusion Developer ICGLink Inc. www.icglink.com -Original Message- From: Dave Watts [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 11, 2007 3:11 PM To: CF-Talk Subject: RE: too many js libraries > I figured it would be an issue with browser cac

RE: too many js libraries

2007-07-11 Thread Dave Watts
> I figured it would be an issue with browser caching... Hence > the 'of course I don't know how well this deals with browser > caching issues'. :) > > though I suspect that you could 'expire content immediately' > on the web server to remedy this. That gets a distinctly suboptimal result. If

RE: too many js libraries

2007-07-11 Thread Andy Matthews
See my previous email. You don't want the browser to load a new JS file each time. That would be silly if they've already got it. -Original Message- From: Jim Rising [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 11, 2007 2:31 PM To: CF-Talk Subject: RE: too many js libra

RE: too many js libraries

2007-07-11 Thread Jim Rising
[mailto:[EMAIL PROTECTED] Sent: Wednesday, July 11, 2007 2:38 PM To: CF-Talk Subject: RE: too many js libraries You wouldn't want to expire that content though. You WANT to cache it. ~| Deploy Web Applications Quickly acros

RE: too many js libraries

2007-07-11 Thread Dave Watts
> For instance, if I dump (www.netgrow.com.au/files) a JavaScript > array while using the prototype library, there are a crap load of > extra functions tacked on to each array and that kind of stuff > has to add up. Why does it have to add up? They're not passed by value when you create a new a

RE: too many js libraries

2007-07-11 Thread Andy Matthews
You wouldn't want to expire that content though. You WANT to cache it. -Original Message- From: Jim Rising [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 11, 2007 2:06 PM To: CF-Talk Subject: RE: too many js libraries I figured it would be an issue with browser caching... Henc

RE: too many js libraries

2007-07-11 Thread Jim Rising
PROTECTED] Sent: Wednesday, July 11, 2007 1:47 PM To: CF-Talk Subject: RE: too many js libraries Would probably be better to include javascript.cfm, which then writes each individual script tag to the page. Otherwise the browser is only going to try and cache javascript.cfm. -Original Message

RE: too many js libraries

2007-07-11 Thread Jim Rising
n Developer ICGLink Inc. www.icglink.com -Original Message- From: Dave Watts [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 11, 2007 1:37 PM To: CF-Talk Subject: RE: too many js libraries > If I was to try and solve the problem on the other end (after the site > was developed), I w

RE: too many js libraries

2007-07-11 Thread Jim Rising
That would be sweet! Jim Rising Sr. Cold Fusion Developer ICGLink Inc. www.icglink.com -Original Message- From: Andy Matthews [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 11, 2007 1:45 PM To: CF-Talk Subject: RE: too many js libraries Right... You create a build that contains

RE: too many js libraries

2007-07-11 Thread Andy Matthews
: CF-Talk Subject: RE: too many js libraries Yeah I know... But I still like how mootools allows the developer to download only those portions of the library that they need for the parts that they are actually using into a tidy little compressed package. :) the core is under 3k. The core + all

Re: too many js libraries

2007-07-11 Thread Barney Boisvert
It's not necessarily terrible if you use proper expiration headers. But I agree, better (and easier) to smash all the JS into a single static file and just use that. On 7/11/07, Dave Watts <[EMAIL PROTECTED]> wrote: > > If I was to try and solve the problem on the other end (after > > the site was

RE: too many js libraries

2007-07-11 Thread Andy Matthews
From: Jim Davis [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 11, 2007 12:59 PM To: CF-Talk Subject: RE: too many js libraries > -Original Message- > From: Andy Matthews [mailto:[EMAIL PROTECTED] > Sent: Wednesday, July 11, 2007 12:49 PM > To: CF-Talk > Subject: RE: too many

RE: too many js libraries

2007-07-11 Thread Dave Watts
> If I was to try and solve the problem on the other end (after > the site was developed), I would first identify all the > javascript objects that were in use, and where they were > being used within the application. No idea on the best > approach for this... Seems like a manual search. Once I

Re: too many js libraries

2007-07-11 Thread Cutter (CFRelated)
This will be (somewhat) resolved in the final build. Steve "Cutter" Blades Adobe Certified Professional Advanced Macromedia ColdFusion MX 7 Developer _ http://blog.cutterscrossing.com Casey Dougall wrote: > On 7/11/07, Robertson-Ravo, Neil (RX) <[EMAIL PROTECTED]> > wr

Re: too many js libraries

2007-07-11 Thread Robertson-Ravo, Neil (RX)
-Talk Sent: Wed Jul 11 17:43:57 2007 Subject: Re: too many js libraries On 7/11/07, Robertson-Ravo, Neil (RX) <[EMAIL PROTECTED]> wrote: > > Surely if you are not using it all it would be 0k compressed or otherwise? Just waite till you use some of the cfajax tags in CF8... talk ab

RE: too many js libraries

2007-07-11 Thread Jim Rising
om: Andy Matthews [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 11, 2007 11:49 AM To: CF-Talk Subject: RE: too many js libraries He's talking about downloading the code in production to the client computer. You're talking about a "build" for the developer Jim. -Original

RE: too many js libraries

2007-07-11 Thread Andy Matthews
ECTED] Sent: Wednesday, July 11, 2007 11:44 AM To: CF-Talk Subject: Re: too many js libraries On 7/11/07, Robertson-Ravo, Neil (RX) <[EMAIL PROTECTED]> wrote: > > Surely if you are not using it all it would be 0k compressed or otherwise? Just waite till you use some of the cfajax ta

RE: too many js libraries

2007-07-11 Thread Jim Davis
> -Original Message- > From: Andy Matthews [mailto:[EMAIL PROTECTED] > Sent: Wednesday, July 11, 2007 12:49 PM > To: CF-Talk > Subject: RE: too many js libraries > > He's talking about downloading the code in production to the client > computer. You'

RE: too many js libraries

2007-07-11 Thread Brad Wood
Bango [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 11, 2007 11:53 AM To: CF-Talk Subject: Re: too many js libraries Add another vote for jQuery from me. It really does encompass most of the functionality that I've needed for my apps. Rey Christopher Jordan wrote: > +1 for jQuery. Eve

Re: too many js libraries

2007-07-11 Thread Rey Bango
Add another vote for jQuery from me. It really does encompass most of the functionality that I've needed for my apps. Rey Christopher Jordan wrote: > +1 for jQuery. Even though I've not seen your site, I'd almost be > willing to bet that it will do everything you want. > > Chris > > Ben Nadel

RE: too many js libraries

2007-07-11 Thread Jim Davis
> -Original Message- > From: Michael Traher [mailto:[EMAIL PROTECTED] > Sent: Wednesday, July 11, 2007 11:26 AM > To: CF-Talk > Subject: too many js libraries > > Hi All, We have developed a large new website and used a number of > javascript libraries along the way for some effects and so

RE: too many js libraries

2007-07-11 Thread Andy Matthews
He's talking about downloading the code in production to the client computer. You're talking about a "build" for the developer Jim. -Original Message- From: Jim Rising [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 11, 2007 11:06 AM To: CF-Talk Subject: RE: too

Re: too many js libraries

2007-07-11 Thread Casey Dougall
On 7/11/07, Robertson-Ravo, Neil (RX) <[EMAIL PROTECTED]> wrote: > > Surely if you are not using it all it would be 0k compressed or otherwise? Just waite till you use some of the cfajax tags in CF8... talk about js files!!! Casey ~~~

Re: too many js libraries

2007-07-11 Thread Christopher Jordan
+1 for jQuery. Even though I've not seen your site, I'd almost be willing to bet that it will do everything you want. Chris Ben Nadel wrote: > For my 2 cent plug, I can tell you that the new jQuery library is only > 20k compressed... So, even if you are not using it all, it's a really > tight li

Re: too many js libraries

2007-07-11 Thread Robertson-Ravo, Neil (RX)
al Message- From: Ben Nadel To: CF-Talk Sent: Wed Jul 11 16:40:58 2007 Subject: RE: too many js libraries For my 2 cent plug, I can tell you that the new jQuery library is only 20k compressed... So, even if you are not using it all, it's a really tight library wi

RE: too many js libraries

2007-07-11 Thread Jim Rising
I like mootools' approach... They have a downloader that allows you to download only what you need: http://www.mootools.net/download Jim Rising Sr. Cold Fusion Developer ICGLink Inc. www.icglink.com -Original Message- From: Michael Traher [mailto:[EMAIL PROTECTED] Sent: Wednesday, July

Re: too many js libraries

2007-07-11 Thread Barney Boisvert
As long as you've got reasonable caching directives in place and you have a fair number of repeat visitors, I wouldn't worry about it much. Once the files are downloaded, they'll not be downloaded again, so their size is only relevant on the first access. What would probably be a better use of op

RE: too many js libraries

2007-07-11 Thread Ben Nadel
For my 2 cent plug, I can tell you that the new jQuery library is only 20k compressed... So, even if you are not using it all, it's a really tight library with a simple API. .. Ben Nadel Certified Advanced ColdFusion MX7 Developer www.bennadel.com Need ColdFusion Help? www.