Laravel: How many controllers are too many?

Laravel, Software

Recently, in a phone interview for a remote positions,¬†this post of mine was called out by the interviewer. His comment was, more or less, that it was stupid to worry about the number of controller in an MVC application. He said that putting logic in controller is a very bad practice, and that I should […]

March 2, 2018

How many Controllers should you have? [Laravel]

Frameworks, Laravel, PHP

Controllers are the life and blood of a Laravel application. It’s impossible to imagine a framework without them (well, it is, but technically something has to receive the route action, and whether it’s a class or function, it becomes a controller, so to speak). In the last 3-4 years of my development experience, I went […]

December 16, 2017

The curious relationship between Laravel and Node.js

Laravel, PHP

Even a cursory survey of skills (try LinkedIn) will tell you that a huge percentage of Laravel developers end up learning Node.js. The skills list goes something like this: “LAMP, Laravel, Ionic, Node, Full Stack Developer”. And it’s not just beginners bragging about their skill-set, mind you; I’ve met serious architects who passionately love Laravel¬†and […]

December 14, 2017