Re: [jQuery] Need your opinion you ALL!!!

2010-01-07 Thread John Norcott
Hi Erik,

I'm not really sure about speed, and I can't speak about Unix (I'm a Windows
developer), but one thing I can tell you about relative paths vs. absolute
paths is relative paths will allow the site to be moved easily.

For example, if you develop the site on one machine, test it on another, and
have a third box for production, if you use absolute paths, you need to make
sure you put the site one the same drive letter, in the same path, on all
three machines.  With relative paths, you can place the site anywhere you
need, and there should be no issues resolving pages/resources.

Also, if there is ever a chance your employer will want to move this site to
another production machine, using relative paths now will make that future
move immensely easier.

Hope that helps.

-John

On Wed, Jan 6, 2010 at 10:14 PM, Erik R. Peterson eriks...@mac.com wrote:

 Hello everyone,

 Someone wants me to use FULL DIRECTORY PATHS for every page and script for
 a website I just completed.  I argued that it would slow down the website
 for users...  I prefer relative paths such as /src/ and /img/.

 Am I wrong to say this?

 Is there really a difference in performance with speed whether I use
 absolute or relative paths?

 Love to hear your opinion...

 Thanks.

 Erik

 BTW - the website was transferred from WINDOWS SERVER to a UNIX...  I
 actually preferred Windows.  I'm dealing
 with a Network Admin that doesn't know web design...



Re: [jQuery] Need your opinion you ALL!!!

2010-01-07 Thread Jonathan Vanherpe (T T NV)

Erik R. Peterson wrote:

Hello everyone,

Someone wants me to use FULL DIRECTORY PATHS for every page and script for a website I just 
completed.  I argued that it would slow down the website for users...  I prefer relative paths such 
as /src/ and /img/.

Am I wrong to say this?

Is there really a difference in performance with speed whether I use absolute 
or relative paths?

Love to hear your opinion...

Thanks.

Erik

BTW - the website was transferred from WINDOWS SERVER to a UNIX...  I actually 
preferred Windows.  I'm dealing
with a Network Admin that doesn't know web design...



Using relative paths is the way to go, otherwise moving the site or 
changing a domain name will cause you tons of extra work (tell your 
client you'll have to charge more down the road if they ever change the 
domain name). It won't make a difference speed-wise, though.


Note that most Unix systems are case-sensitive (I know Linux is, but Mac 
OS X isn't). So always use lowercase for all your filenames, folders and 
links.

http://www.example.com/jQuery.js is not the same as
http://www.example.com/jquery.js

Jonathan
--
Jonathan Vanherpe - Tallieu  Tallieu NV - jonat...@tnt.be


Re: [jQuery] Need your opinion you ALL!!!

2010-01-07 Thread Nathan Klatt
 Someone wants me to use FULL DIRECTORY PATHS for every page

Assuming you're generating your html on the back-end, just use a
variable for the base URL and no worries.

Stict with UNIX through the learning curve and I guarantee you'll
never go back, at least not voluntarily. :)

Nathan


[jQuery] Need your opinion you ALL!!!

2010-01-06 Thread Erik R. Peterson
Hello everyone,

Someone wants me to use FULL DIRECTORY PATHS for every page and script for a 
website I just completed.  I argued that it would slow down the website for 
users...  I prefer relative paths such as /src/ and /img/.

Am I wrong to say this?

Is there really a difference in performance with speed whether I use absolute 
or relative paths?

Love to hear your opinion...

Thanks.

Erik

BTW - the website was transferred from WINDOWS SERVER to a UNIX...  I actually 
preferred Windows.  I'm dealing
with a Network Admin that doesn't know web design...