PLAY PODCASTS
What is the one true way to do this?
Episode 8

What is the one true way to do this?

No Compromises

October 27, 202012m 14s

Audio is streamed directly from the publisher (media.transistor.fm) as published in their RSS feed. Play Podcasts does not host this file. Rights-holders can request removal through the copyright & takedown page.

Show Notes

We discuss a couple scenarios where there's more than one way to do something, and how we think through our decision.

  • 00:00 How to pick what file to put this code in?
  • 01:51 An example of a single-action controller
  • 03:15 Should everything be single-action?
  • 04:58 How many methods on a controller is too many?
  • 06:10 Where do you put authorization logic?
  • 08:00 Consistency is important
  • 08:45 Silly bit

Topics

laravel