You might think "Memoization" is a typo, but it's not. Memoization is a simple technique to improve software performance. Unfortunately, the technique relies upon repetitive boilerplate. In this article, I show you how to use memoization without any boilerplate code.
Thursday, January 15, 2015
Tuesday, January 13, 2015
Laravel Tip: API Quick reference with Liona
If you've never visited the #Laravel IRC channel, today might be the day to stop by. Besides offering authoritative answers to Laravel questions, the channel also offers instant access to all the Laravel API documentation. In this article, I show you the secret command to find all the Laravel API documentation.
Saturday, January 10, 2015
Pudgy controllers? Try the Route diet!
Nestled between user and controller, the routing layer is a perfect home for common filtering and access-control oriented code. But you have to know your framework's routing capabilities to exploit this location. In this article, I share a users' group presentation on the supple Laravel 4
Route
facade.Thursday, January 8, 2015
Zero to PSR-4 in 60 seconds
By and large PSR-0 and PSR-4 are identical. Comparing and contrasting the two doesn't illuminate the crucial, but small, surface area where they differ. Sadly, most documentation takes this compare and contrast approach. In this article, I break with that documentation pattern and rather focus on the essence of PSR-4.