Model View Controller

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