Module based web project directory layout with git and symlinks
- by karlthorwald
I am planning my directory structure for a linux/apache/php web project like this:
Only www.example.com/webroot/ will be exposed in apache
www.example.com/
webroot/
index.php
module1/
module2/
modules/
module1/
module1.class.php
module1.js
module2/
module2.class.php
module2.css
lib/
lib1/
…