
The other day I had an Eloquent query that wasn’t returning what I expected it to. I started looking for a way to determine what was happening “under the hood” so to speak. It turns out it’s very simple.
Read More
I wanted to take a quick break in my barrage of Artisan posts to write about defining one-to-many and many-to-many relationships in Laravel’s Eloquent. Eloquent also supports one-to-one relationships but I felt like those are used so rarely that I could skip it.
Read More
Here are two useful commands that you can use every day and one that’s good for getting yourself setup.
Read More
As I’ve been organizing the flow of this series there’s a random set of commands that don’t really have a good home. I thought I would cover them now so they’re out of the way.
Read More
Now that we’ve learned how to create our migrations it’s time to discuss how to work with them using the migrate family of commands.

Let’s start with my favorite feature so far: database migrations. I’m going to start with this command because I think it’s one of the more critical components and because the next article will involve working with them. :-)
Read More
Book cover copyright Martin Fowler
This chapter explains several methods that that allow you to refactor classes.
I love the concept of “Replace Type Code with Subclasses”. This has been an effective way to remove complexity because each subclass can handle it’s logic in it’s own set of functions.
I hope everyone enjoyed the book!
subscribe via RSS