I've been doing web development for years, and I've always done a web structure similar to this:
public_html/login.php public_html/css/login.css public_html/js/login.js public_html/img/logo.png
I've seen other people use:
And then recently I found out that my co-worker likes:
public_html/a/login.js - application public_html/s/login.css - styles public_html/i/logo.png - images public_html/p/photo1.jpg - photos public_html/f/menu.swf - flash
Other than saving a byte or two, are there any advantages or disadvantages to any of these options? Is there a best practice for this concept?