Im not sure on how to go about this, but Id like to see what other people to do get the most practical idea when organizing a large system.

How might you do it?

/
__/controls
____db.php
____config.php
____session.php
__/functions
____process.forms.php
____validation.php
____process.edit.php
__/templates
____header.tpl
____footer.tpl
__/includes
____required.php
____other.php
__index.php
__login.php

Really is there a standard way of doing this?