[jQuery] Re: best practices for scripts dir structure, etc.

2008-09-04 Thread Richard D. Worth
Here's one way to go:

/scripts/jquery.js
/scripts/jquery.simple.tree.js
/scripts/jquery.ui/effects.*.js
/scripts/jquery.ui/ui.*.js

Using version numbers can be a real pain. I don't find that it's worth it.
Great for dev/code repos. Not great for prod.

- Richard

On Thu, Sep 4, 2008 at 12:23 AM, Eric P [EMAIL PROTECTED] wrote:


 Hi,

 Are there any good practices for how to keep the jQuery scripts (core, ui,
 plugins, etc.) organized?

 I currently have something like this.

 /jquery/jquery-1.2.6.js
 /jquery/ui/1.5.2/effects.*.js
 /jquery/ui/1.5.2/ui.*.jg
 /jquery/plugins/jquery.simple.tree.js

 I don't know what exactly makes sense and don't like what I've got so far
 since I'm using version numbers
 inconsistently, both in filenames and dir names, or not at all.

 Any tips would be great.

 Thanks!
 Eric P.



[jQuery] Re: best practices for scripts dir structure, etc.

2008-09-04 Thread MorningZ

my 2 cents:

using versions is very handy when you want to incorporate the latest
version on a new page in your project, but don't want to go back and
regression test all the other pages in the application

i've got structure like:
- /jquery/
   -/1.1.8/
   - jquery.js
   - jquery.pack.js
   ..etc etc..
   -/1.2.6/
   - jquery.js
   - jquery.pack.js



[jQuery] Re: best practices for scripts dir structure, etc.

2008-09-04 Thread Eric P

 using versions is very handy when you want to incorporate the latest
 version on a new page in your project, but don't want to go back and
 regression test all the other pages in the application

 i've got structure like:
 - /jquery/
   -/1.1.8/
   - jquery.js
   - jquery.pack.js
   ..etc etc..
   -/1.2.6/
   - jquery.js
   - jquery.pack.js



Huge improvement over what I had.

Thanks a lot!
Eric