What is the Decorator Pattern?

If you read through the source code of popular applications it can seem a bit confusing as to why exactly code has been written or structure in a certain way. There are many well used Design Patterns in computer programming that allow us to solve problems. Once you start to recognise these patterns, you begin […]

Continue reading...

Creating a basic Invitation system with Laravel 4

A common requirement of new consumer web applications is the ability to restrict new registration requests behind an invitation process. This could be for the “velvet rope” experience or simply because you want to limit the initial users for testing. Building an invitation process is not really that difficult because all of the individual components […]

Continue reading...

Design Inspiration #133

Design Inspiration from InVision, RelateIQ, Calibre, Omada Health and Prismic! Design Inspiration is a weekly post that showcases examples of some of the best new web design from around the internet. InVision http://www.invisionapp.com RelateIQ http://www.relateiq.com Calibre https://calibreapp.com Omada https://omadahealth.com Prismic https://prismic.io

Continue reading...

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...

Supported by