Code Bright

Posted on the 28th of May 2013.

Welcome back to Laravel. Last year I wrote a book about the Laravel PHP framework. It started as a collection of tutorials on my blog, and eventually became a full book. I definitely didn’t expect it to be as popular as it was. Code Happy has sold almost 3000 copies, and is considered to be one of the most valuable resources for learning the Laravel framework.

Read more →

PHP Namespaces Explained

Posted on the 20th of May 2013.

In PHP version 5.3 a new feature known as namespacing was added to the language. Many modern languages already had this feature for some time, but PHP was a little late to the scene. None the less, every new feature has a purpose, let’s find out why PHP namespaces can benefit our application.

Read more →

Composer primer

Posted on the 14th of April 2013.

Please note that this article acts as an introduction to Composer to be included with my upcoming title 'Code Bright' for Laravel. However, it could just as easily represent a guide to composer for newcomers without the intention of using the Laravel framework. Enjoy!

Read more →

Laravel 4 Primer: JSON

Posted on the 13th of April 2013.

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!

Read more →

Nginx configuration for the site.

Posted on the 12th of April 2013.

A few people were asking to see the nginx configuration used on my website. Here it is with a few comments to help it all make sense. I don't claim to be an nginx expert, because I've only recently switched to it from Apache. Please feel free to offer any advice and suggestions.

Read more →