Re: Web Site Directory Layout

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Caner Bulut wrote:
Hi All,

Is there a stable or standart directory layout for PHP project (like web
sites)?.
Example;

index.php
img/
css/
js/
lib/
doc/
tools/

Thanks.

There's no standard. My advice is to use easily identifiable names. The above are quite obbvious. My own preference though is to not shorten names. For instance, I would use the following in place of what you have provided as examples:

index.php
images/
css/
javascript/
lib/
documents/
tools/

That's just personal preference though :)

Cheers,
Rob.
--
http://www.interjinn.com
Application and Templating Framework for PHP

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux