Enter The Facade

Enter The Facade

Young Laraveler, do you believe in fate? Why not? Because you are not in control? You are here because you know something. It is not easy for you to explain, however you feel it. You have felt it since you began programming in PHP. There is something wrong with PHP and it’s frameworks. You are not sure what it is, but it is there. Like a memory leak you can not find, driving you mad.…

Many to Many Relationships in Laravel

Many-to-Many-Relationships-in-Laravel

Many to many relationships use the belongsToMany paradigm and can be a little tricky at first as they are a bit more advanced than the hasMany and belongsTo relationships, but once you spend some time digging into them, they are not as bad as they first seem. Many to Many relationships are everywhere out in the wild. They can be implemented by hand or in a variety of different languages and frameworks.…

What is a Laravel Interface?

What Is A Laravel Interface

In Laravel, an interface is a contract for what methods will be used in a specific class. Actually, interfaces are not specific to Laravel, or even native PHP for that matter. Since we’ve been on a roll with Laravel, we’ll talk about interfaces in Laravel. Let’s investigate what interfaces are and why we might want to use them, let’s jump in!


When would I want to use an Inteface?

What is the IoC Container in Laravel?

Laravel IoC Container

So you’re learning Laravel you say? Well what is this IoC Container you speak of?! For a lot of us PHP programmers, we may not be familiar with this concept, but thanks to Laravel, proper software engineering is being brought into the PHP world. By getting a handle on what and how the IoC Container works in Laravel, we’ll have a better understanding of how Laravel provides the magic that it does when coding.…

JSON in Laravel

JSON-In-Laravel

If you know the name Douglas Crockford, you know JSON. Mr Crockford is a Chuck Norris of sorts in the Javascript world and created the JSON standard. It stands for JavaScript Object Notation and it provides a great way to share data between languages and applications. Douglas I’m sure is proud of his baby, and we can thank him for declaring himself a standards body and bringing JSON into existence.…