@speeddefrost "PHP is just a crap language. You don't embed HTML in program logic and expect the code to stay simple and clean. It's the most idiotic thing in the world and how it became popular is scary to even think about." True, embedding display markup into program logic is a mistake. Embedding program logic into display markup (as is often the case in PHP) is also a mistake. But even # allows one to separate the two. Not as much as it should, but it is possible. For example, the Smarty templating language is usually available wherever PHP is. Also: MVC http://url.federati.net/1rzfN and MVP http://en.wikipedia.org/wiki/Model%E2%80%93view%E2%80%93presenter [both links: wikipedia]