Model View Controller

http://seagullfiles.phpkitchen.com/images/PSG_MVC.gif

The above diagram gives a broad overview of how the Model View Controller design pattern works. One of the better discussions of this pattern in the context of PHP can be found on the WACT wiki