Modelling business requirements in Eloquent

posted 15 Dec 2015

Modelling business requirements is an aspect of software development that is really rather difficult. Many solutions exist and many think that this simply isn't possible with an active record implementation like Eloquent. Well, I'm here to prove them wrong. Read more

Where to use facades in Laravel

posted 08 Dec 2015

Facades in Laravel provide a very simple API for accessing complex components, without the need for dependency injection - but are they just a hidden trap, or are they indeed a useful tool in your toolbox? Read more

Eloquence is now 2.0

posted 04 Dec 2015

Eloquence is my "flagship" open source product. It's been my most succesful, and one I continue to enjoy tinkering with. In version 2.0, Eloquence gains a wealth of new features, improvements and API enhancements. Read more

Absence makes the heart grow fonder

posted 20 May 2015

It's been nearly 2 years since I wrote anything, and I've missed it. Check out what I've been up to, why I've been so absent and where we're gonna go from here! Read more

Making the Paginator API-friendly in Laravel 4

posted 10 Sep 2013

A while ago I wrote an article on how you can build pagination with Angular JS and Laravel 4. I missed one critical piece, that being; how the paginator can actually be consumed by simply returning it from your controller action. In this article we'll go through how you can update Laravel 4's Paginator without touching its code, and ensuring that you can use it as easily as I do. Read more

Laracon EU - PHP event of the year!

posted 18 Aug 2013

It isn't very often I get excited about conferences and events - but Laracon EU, despite it's name could very well be the PHP event of the year. The reason is because Laracon isn't just about Laravel, it's about PHP technologies and practises in general. Read more

Data, *Context*, Interaction - the DCI design pattern in PHP 5.4

posted 16 Aug 2013

The DCI design pattern in PHP in the past has only been plausible. But thanks to PHP 5.3 and 5.4, it's now possible to implement the pattern and along the way, demonstrate just how expressive PHP has become in the past 2 years. There are many ways to implement the DCI design pattern, but in this article I'll show you how I've done it - and how you can use it in your own PHP projects, including how to tie in with Laravel 4. Read more

Pagination with Laravel 4 and Angular JS

posted 15 Aug 2013

Pagination on the server is a pretty easy task to accomplish. As applications move more and more to the front-end, we have to find new ways of solving old problems. Pagination on one-page applications is no different, but it's really not that difficult. In this article I'll demonstrate just how easy it is do pagination using Laravel 4 and Angular JS. Read more