|
Posted by tuergeist@googlemail.com on 05/21/07 12:11
Hi *,
I searched for best practises for php apps, especially if you're using
phpunit as testframework.
I found nothing interesting, so I ask you, what do you think is a best
practise on directory hierarchy.
I'm actually using
/
config/ - contains config-files and is unreadable from internet ;)
classes/ - where my ownclasses/libraries are
doc/
lib/ - foreign libs, e.g., smarty if not installed on host
templates/ - smarty template dir..
tests/ - phpunit tests
I also read http://framework.zend.com/wiki/display/ZFDEV/Choosing+Your+Application%27s+Directory+Layout
but it says nothing about tests. Maybe the guys from Zeev and Andi do
not test :)
Cheers,
tuergeist
[Back to original message]
|