A Facade is a name given to a type of class in the Laravel framework that enables beginner-friendly and/or aesthetically pleasing access to tools and services held within the framework’s IoC container. Here’s a quick example of …
Read More
Howdy readers! I'm here today to bring you some good news. An update on 'Code Smart'! I announced Code Smart a while ago, and many of you lovely folks have been asking how it's been progressing. Let's answer all those …
Read More
After several months in the making I'm pleased to announce the print copy of Code Happy. The print copy is available from Lulu in A4 format, with nicely sized type and code samples, and a beautiful glossy coa... cover. The …
Read More
Hopefully you have heard about the Laravel conference that is taking place next week in Washington DC. I was kindly offered a speaking slot at the conference and how could I say no? So you might be wondering what I’ …
Read More
You may have seen Laravel's core libraries use method chaining as an elegant way of providing multiple user definable settings to a library, for example the Fluent Query Builder allows you to chain methods together to build your SQL query …
Read More
Welcome to one of the Primer topics within Code Bright. Hey this chapter wasn’t in Code Happy!? As a true fan of Code Happy I just can’t put anything past you! Well done loyal reader! You see, Laravel …
Read More
Laravel 4 has now been in active development for many months, and is finally taking shape as a framework, I feel it's now in a state that we can share some information about what's new and what's exciting. However before …
Read More
I always write my talks in Markdown format, so for those people who couldn't make it to Laracon, here's my notes in their rough format. It should tide you over until the conference videos make an appearance. Hi everyone, and …
Read More
Often when dealing with Eloquent models you will fall into the pattern of retrieving data from the user, validating it, filling the model and saving it. This is perfectly fine, but can lead to a large amount of validation code …
Read More
Are you looking to learn the Laravel PHP Framework? Well 640+ readers think that my book Laravel: Code Happy is the best way to get started. With 22 chapters and all future additions and updates for free, its a bargain …
Read More
Why? Added to_array method to the base Eloquent model. Added $hidden static variable to the base Eloquent model. Added sync method to has_many_and_belongs_to Eloquent relationship. Added save method to has_many Eloquent relationship. Added unless …
Read More