This post originated from an RSS feed registered with PHP Buzz
by Husain Shabbir.
Original Post: Structure in PHP Applications
Feed Title: Husain Shabbir
Feed URL: http://www.husainshabbir.com/category/php/feed/
Feed Description: Posts about my experiences as a PHP developer.
I came upon this article over at phpguru.org that talks about structuring a PHP application. It is an interesting article and I learnt an ingenious tip to find the location of a directory outside the parent directory. I never thought of this:
dirname(dirname(FILE)) . "/";
Anyway, the article outlines a pretty basic directory structure that one should [...]