Can we ONLY Have Single Action Controllers? (Taking SOLID to extreme)
Автор: Laracasts
Загружено: 2025-07-22
Просмотров: 4688
In this video, we dive into the idea of using single action controllers in Laravel—why some developers swear by them and how they can lead to cleaner, more maintainable code. Prompted by a couple of thoughtful YouTube comments, I walk through refactoring a standard controller into multiple focused single action classes. We'll cover naming conventions, routing changes, and the small gotchas that pop up along the way. If you've ever felt your controllers were getting messy or hard to manage, this might be a great approach to try out in your next project. Let’s refactor together and see what happens!
Also available at: https://laracasts.com/series/jeremys-...
Watch thousands of videos, track your progress, and participate in a massive Laravel community at Laracasts.com.
Laracasts: https://laracasts.com
Laracasts X: https://x.com/laracasts
Доступные форматы для скачивания:
Скачать видео mp4
-
Информация по загрузке: