PHP: View template class
Below, I’ve created a very simple view template class. Similar to the ever popular Smarty framework, although not nearly as big or feature rich. Typically you would use this to separate design from code (mvc pattern), which makes things much easier to manage over time. Another use for…