Re: Web Site Directory Layout
| From: | Robert Cummings | Date: | Sat, 26 Sep 2009 02:26:14 +0000 |
| Subject: | Re: Web Site Directory Layout | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-298359@lists.php.net to get a copy of this message | ||
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