What are PHP Magic Methods?

If you have ever looked at the source code of open source PHP projects, you might have noticed object methods that begin with a double underscore. These are Magic Methods that allow you to react to certain events when using these particular objects. This means when certain things happen to your object, you can define […]

Continue reading...

Sending Email with Laravel 4

An extremely common requirement of modern web applications is the ability to send email. The need to send email ranges from resetting passwords to delivering receipts. In any case, sending email usually ends up being a pretty critical requirement in just about every type of web application these days. A couple of years ago, sending […]

Continue reading...

Design Inspiration #132

Design Inspiration from Carousel, FBF8, Narrative, Sleepasaurus and Picturelife! Design Inspiration is a weekly post that showcases examples of some of the best new web design from around the internet. Carousel https://www.carousel.com FBF8 https://www.fbf8.com Narrative http://getnarrative.com Sleepasaurus http://sleepasaurusapp.com Picturelife https://picturelife.com

Continue reading...

When should you use an Exception?

Exceptions are a wonderful aspect of programming languages because they allow you to notice when something has gone wrong and deal with it gracefully. Without exceptions your application would end up presenting errors to the user and it would be much more difficult to diagnose what went wrong if your code failed silently. Unfortunately exceptions […]

Continue reading...

Working with Configuration in Laravel 4

Configuration settings are something that you have to deal with in just about every type of web application. The majority of web applications will have at least a database, but its pretty common to have a number of third-party providers who you rely upon for different services. I think the problem of managing configuration data […]

Continue reading...

Design Inspiration #131

Design Inspiration from Storehouse, LiveAreaLabs, Niche, Built and Gareth Emery! Design Inspiration is a weekly post that showcases examples of some of the best new web design from around the internet. Storehouse https://www.storehouse.co LiveAreaLabs http://livearealabs.com Niche http://helloniche.com Built http://builtthings.com Gareth Emery http://garethemery.com

Continue reading...

When should I code to an Interface?

The use of Interfaces in programming seems to be something that is often either confused or misinterpreted as being unnecessary. Whilst it is true that you aren’t required to use Interfaces in your code, an Interface provides a contract and ensures that the standard of development remains high. In this article I’m going to look […]

Continue reading...

Multi-Tenancy in Laravel 4

Multi-tenant applications are where you create a single application that is used independently by many different clients. When a client authenticates with your application, they are only able to access the data that they have created in your application and cannot see any data that was created by any of your other clients. A typical […]

Continue reading...

Design Inspiration #130

Design Inspiration from Heren, Aviate, Indatus, Inside Travel Guide and Brahma! Design Inspiration is a weekly post that showcases examples of some of the best new web design from around the internet. Heren http://www.protest.eu/nl/heren Aviate http://getaviate.com Indatus http://indatus.com Inside Travel Guides https://inside.co Brahma http://www.brahma.com.br

Continue reading...

What are Abstract classes?

Abstract classes are a common feature of Object Orientated Programming languages such as PHP, Java or C#. I tend to think of Abstract Classes as a way to ensure a certain level of code quality because they enforce certain standards and can reduce the amount of duplicate code that you have to write. If you […]

Continue reading...

Supported by