clem liked a comment+100 XP
3mos ago
Jeremy's Larabits: Ep 28, Where Should This Code Go?
Nice breakdown 👏 I’ve found the actions pattern works great here too — small scopes on the model, then an action like GetRecentlyPublishedArticles to compose them. Keeps controllers lean, models clean, and logic reusable anywhere.
clem wrote a comment+100 XP
3mos ago
AI Developer Workflows: Ep 2, Refactoring AI
Fully agree. Great videos Jeffrey! As a senior dev I haven't watched much Laracasts lately (I used to watch EVERY video 10+ years ago) but these AI workflow videos are right on point.
clem liked a comment+100 XP
3mos ago
AI Developer Workflows: Ep 2, Refactoring AI
Could also remove the trim() as the middleware TrimStrings should already apply this on the request.