Modern Wordpress theme development with Sage
If I could be bold enough to say that theme development in Wordpress sucks. I remember how much I dreaded the repetition i.e. copying and pasting code. Views were always tightly coupled to the business logic with no clear separation of concerns. Templates would end up having spaghetti PHP code scattered around. Wordpress plugin development is, however, somewhat better compared to theme development; where at least you can isolate the logic in classes.
Wordpress itself is evolving drastically by introducing features like Gutenberg and WP Rest API. However even with these advanced and cool features, unfortunately, theme development experience hasn't changed much. But don't despair, Roots have you covered. The community behind Roots has introduced some awesome development tools like sage starter them, Bedrock and Trellis, which makes theme development fun.
It has been quite a while since I developed any Wordpress theme. However, recently I started to have the usual developer itch to visit the WordPress world once again but with rather a different mindset and the OOPish way. A friend of mine mentioned Roots and their starter theme i.e. Sage. I must say it looks very interesting. Therefore I have decided to record the whole journey and see how Sage starter theme plays out.
If you are a WordPress theme developer or like me, you just need a refresher, then come along with me on this ride by clicking the link below. You might teach me or learn a few things along the way.
Modern WordPress theme development with Sage 9
Peace out and have fun !!