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: Laravel Facades
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: Code Smart Questions Answered
I would simply like to bring to your attention the Blade language tm files created by Medalink from the Laravel community. The tmfile can be used with Sublime Text 2, Textmate, or any other texteditor that supports the tmLanguage extension, …
Read more: Notable: Blade syntax highlighting by Medialink
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: Code Happy: Now in print!
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: What to expect from me at Laracon.
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: Trick: Chainable Libraries
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 Primer: JSON
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: Laravel: The Bright Future
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: Breaking the Mold
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: Trick: Validation within models.
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: Code Happy
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: Why Laravel 3.2 is going to rock!