North Meets South Web Podcast
Laracon, controller middleware, and permissions

Episode 179 · Season 1

Laracon, controller middleware, and permissions

North Meets South Web Podcast

50:50

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 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…

37m

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…

1h 7m