Laravel I Made a Huge Mistake Last year I wrote three different articles. And I have to admit something… Repositories After reading Fowler's "Patterns of Enterprise Application Architecture", I found that I royally messed things up. Repositories actually
Laravel Make Laravel 4 Feel Like New After creating an API with Laravel 5 about a month ago, I was really liking the new directory structure and some of the features that were available. Today, I tried to replicate this
Software Architecture Everything is a Trade-off In development, everything that we do is a trade-off. Sometimes, we don't act like it is, and we are lying to ourselves. Languages are a trade-off I spend almost all
Action Domain Responder Multiple Front Controller Layers? In my persuit to continue making my code more maintainable and a bit cleaner, I have come across a new question with controllers. Is it ok to have multiple layers of front-controllers.
Laravel OOP API Responders The first thing that started getting me interested in a new way of emitting responses was listening to talks on hexagonal architecture. Essentially, having methods on a listener that would call a success
Caching A Different Way of Thinking About Nested Caching So, I do have to start off and say that I have not implemented a Russian Doll Caching solution. This article is highly theoretical and just meant to start a conversation about a
API Why I Am Deprecating Eloquent-Ember If you follow me, you know that I am heavily involved in both the Ember and Laravel communities. Thus, I have taken it upon myself to help define the development story for working
Code We Are Complicating Things a Bit too Much (TDD & DDD) The other day, I saw something that really encompasses one of the biggest hurdles for younger developers to get through. That hurdle is terminology. These days, there is all sorts of "___ driven
Laravel Proxies, Service Locators, Alias, Facades, and War There has been a recent resurgence of trolling the use of "Facades" in Laravel and in other PHP projects as well. The recent storm comes on the heels of a massive trolling of
Code Literate Programming Today, I finally read Jeremy Ashkenas's blog post on [Literate Coffeescript]() and really have to say, I agree with the point that he is trying to make. In essence, we as programmers
Code Getting Inheritance Straight In the world of PHP, it seems like there has been a flurry of different inheritance and contract patterns being used. Unfortunately, a lot of developers seem to be running around like headless
Code Juggling Larger Laravel Applications When working with larger Laravel projects, one question always seems to come up: "How do I organize all of this code?" Many people have begun to suggest new ways to go about this.
Code An Eloquent Notification Strategy There comes a time in all of our lives where we want to deal with a heap of notifications to present to a user on a dashboard. This seems like it could be
Code Pivot Tables vs Pivot Models Lately, I have been working on multiple projects that have to deal with Polymorphic relationships, Many-To-Many, relationships, and the occasional Polymorphic Many-To-Many relationship. In working with these, a few
Software Repositories - Not Everything is a Nail I feel that Taylor and I may have led some of you astray in the Laravel community. After a few posts about dependency injection and the Repository pattern, it seems as if it
Software Stop Being Afraid Of Old Technologies Let's face it, web-design has had some huge anti-patterns to grow out of. Luckily, I started a bit later in the game where things like the new HTML5 and CSS3
Code The Repository Pattern in Action Two weeks ago, I discussed Two Design Patterns That Will Make Your Applications Better. Since then, there has been high demand for a demonstration of the Repository Pattern in action. Today, we'll
Code Next Week's Posts The last two weeks, I have tried to look at Routing a bit more indepth and have tried to suggest conventions that can help your code perform better and be easier to modify
Code Two Design Patterns That Will Make Your Applications Better Getting into design patterns can be a bit of a tricky subject. An analogy would be like having a kid interested in engineering go from playing with box cars to telling them to
Code Why Method Overloading Can Signal Bad Design Coming from Java and C++ and moving into PHP and Javascript, one of the problems that I ran into was the fact that PHP and Javascript don't have traditional ways to overload
Code A Wardrobe Overhaul Make your choice, adventurous Stranger, Strike the bell and bide the danger, Or wonder, till it drives you mad, What would have followed if you had C.S. Lewis Things today have been
Code Organizing Routes in Laravel 4 One of the big learning curves for creating Laravel projects is working with routes and how to organize everything in your project. Today's post is going to look at just this problem.
Code Multi-TLD Routing in Laravel While working with more advanced Laravel applications, you come to question how to work with more advanced routing circumstances. Laravel 4 gave a ton of features with the more advanced features in route