Categories


Recent Posts


Archives


October, 2014 4

PHP Traits

It's another quick primer this time. Today we're going to talk about a PHP 5.4+ feature called traits. While Laravel doesn't make heavy use of traits they are sprinkled around the core codebase, so you'll want to get familiar with them.

astorm

Laravel Facade Troubleshooting

Last time we described the PHP patterns used to implement Laravel's facade feature, and started to describe some of the "gotchas" involved. We briefly discussed how a facade introduces a second type of singleton/shared service into the system, as well as the inherent problem

astorm
email hidden; JavaScript is required