
Episode 179 · Season 1
Laracon, controller middleware, and permissions
About this episode
In this episode, Michael and Jake kick things off with some Laracon travel talk, sharing their hotel plans, coffee quests, and even jokes about pillow fights at the conference hotel. Michael reveals his precise coffee scouting for the Vib by Best Western hotel, determined not to survive three days on Starbucks alone.
- Should you define middleware in a controller’s constructor?
Michael explains why he avoids it - preferring to keep all middleware in route definitions for better visibility and maintainability. Jake explores the pros and cons and why he’s still tempted to use it for certain edge cases. - Dynamic permissions vs. static definitions:
We switch gears to talk about the balance between flexibility and clarity when defining permissions for applications, especially when it comes to handling user roles, teams, and complex business rules.
Mentioned in this episode:
- Laracon US travel plans
- Vib by Best Western (the hotel coffee and tacos!)
- Laravel middleware usage
- Permission handling in apps
- Travel gear for developers on the go
More from North Meets South Web Podcast
In this episode, Jake and Michael kick back for a Thanksgiving episode. Jake has joined the Tesla club, so the pair compare notes on home charging, rooftop solar and batteries in Australia, wind farms…
In this episode, Jake and Michael catch up on the final preparations for Laracon AU, using AI to build and rehearse conference presentations, and the tools and workflows making their lives easier. Mic…
In this episode, Jake and Michael discuss the value of consistency, the final preparations for Laracon AU, and how AI is changing the economics of building software. Michael shares how his custom-buil…
Michael and Jake celebrate episode 200 in the most outlandish way possible: with no special plan whatsoever. Michael shares an update on his home renovation, including construction progress, verandah…
Jake and Michael are joined by TJ Miller, David Hemphill, and Chris Gmyr to talk about the realities of working with non-technical stakeholders that are now empowered to deliver software through AI. S…