August 14, 2016
WordPress coders have gotten a bad rap for writing messy code. Its a little unfair as there are many great programmers in the community. However, some of the criticism is well deserved. There are far too many plugins and themes that are one big mess of spaghetti php.
WordPress is great, but it doesn’t give us the best tools to write quality code. However, with the use of a templating library such as twig, blade and many others, we have a tool that will help us write a higher quality piece of software. Templates not only have much cleaner syntax then using straight php tags, but they also enforce a separation of concerns.
This talk will cover the various templating options that are available as well the basic methodology and functions of templates.