Actions and filters in Laravel

I really like the way events work in WordPress. It’s just really simple how you can hook into difference points in your code.

Yes, Laravel has it’s own event system. But I found this to be both confusing and hard to use. While classes are all fine and dandy, I do feel there are such things as too many of them. I also like the idea of events being triggered on hook names.

So that’s why I made Eventy (yes, stupid name, but that’s what I got).

Eventy is the WordPress action & filters in Laravel. You add actions/filters in your code, and add listeners to them later.

Check out Eventy on Github!

Blade for WordPress

Lately I’ve been working on an internal project that we’ve chosen to build on Laravel. Laravel is packed with amazing things like the Eloquent ORM and the general “easyness” of the API. The most amazing thing, however, is the Blade templating engine. I love this thing!

You can easily extend templates and include them with a breeze. It really helps you with your rapid front-end development.

So, I’m in love with Blade, but I’m primarily a WordPress developer. Sucks to be me right?

My starter theme

Working as a professional WordPress developer I’ve tried a number of different starter themes, but the common denominator is that you always end up changing most of the theme. This is fine, and I think you should. But the workflow of most of these themes are poor.

jQuery DOM Router

For a while I’ve been using my own fork of the Roots (now Sage) starter theme for most of my WordPress projects. The theme is packed with awesome twists of the WordPress we all know and love. We have the Theme Wrapper, which sticks with the D.R.Y. (Don’t Repeat Yourself) principles. And one thing I especially fell in love with, a DOM-based router.