DEV Community

Discussion on: Simplifying WordPress's functions.php with OOP

Collapse
codingmindfully profile image
Daragh Byrne

You might be interested in Sage from roots.io - it’s a starter theme that makes WordPress MVC and uses Laravels blade engine

Collapse
tylerlwsmith profile image
Tyler Smith Author

I'm a fan of Sage! I'm launching a site that I built with Sage next month, and I especially love having Blade in WordPress.

It's great for big data-heavy sites, though I tend to avoid it for smaller sites because it ends up feeling like too much tool for the job. Its folder structure can overwhelm me, and I sometimes feel like using PHP namespaces with WordPress feels like a "square block in a round hole" kind of thing.

The Blade templating though; I'll definitely be using Sage again in the future for that alone!

Collapse
codingmindfully profile image
Daragh Byrne

Yes - I’ve made similar observations - the templating is gold, and if you hook it up to advanced custom fields life gets so much easier!