Template code in functions kill kittens: MVC within WordPress Themes and Plugins

You’ve seen it before, one big file of PHP code and HTML all mangled together like a coughed up furball. There’s another, dare I say, a better way of structuring your code so that not only you as the developer can go back and make updates with ease, but others can as well.