Published On Aug. 18th 2016

The PHP Practitioner: Dry Up Your Views

Episode 17 Run Time 7:02

Download
Let's take some time to work on our views. At the moment, we've been rewriting the entire wrapping HTML for every single page. Naturally, this breaks down very quickly in real life. Each time you update, say, your navigation area, you'd need to open several different view files to make the change. No thanks. Instead, let's review the first step to drying up your templates.