Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

phpGuru.org:
Correcting Application Structure
Mar 14, 2005 @ 13:27:47

phpGuru.org has a new posting today with a few views on application structure and where most developers seem to get it wrong.

A lot of errors commonly made with applications and websites are made right at the very start - when laying out the structure of your application. It can make the difference between coding being a joy, and a chore. Not only this, but it can also help to make your app/website more secure, by preventing you having to remember important tasks like authentication. So onward...

He suggests using a very strict site layout (the directories behind everything) when developing your application, using directories like: cron, htdocs, includes, logs, templates, etc. I'd have to agree with him on this kind of a layout (or at least the well-structured idea of it all). I'm just as guilty as the rest - my site structures are pretty bad, but that's why we have articles like this to help us along...

tagged:

Link:


Trending Topics: