File structure for PHP-based website.

Posted by John Berryman on Stack Overflow See other posts from Stack Overflow or by John Berryman
Published on 2011-01-01T17:46:06Z Indexed on 2011/01/01 17:53 UTC
Read the original article Hit count: 173

I'm building a PHP-based web app for the first time and I haven't found anything to pattern it after. At this point I'm mostly curious about how the files should be arranged into directories so that development of the website can be manageable. This includes javascript scripts, images, stylesheets, cgi scripts, html files, pure php files that define common functions, etc.

Question: Can someone point me to an explanation about how such a website is typically organized on the server?

© Stack Overflow or respective owner

Related posts about web-development

Related posts about web-services