
Episode 35
35: Jonathan Reinink - Fixing Common API Design Mistakes
In this episode, Adam talks to Jonathan Reinink of Code Distillery about common API design challenges and how to fix them.
February 12, 201649m 33s
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
Topics include:
- Does it make sense to scope resources to the authenticated user or should you always use sub-resources?
- When to use nested resources and when to avoid them
- Strategies for dealing with actions that don't seem to fit into REST
- Breaking the mapping between your API and your database
- Using singular sub-resources and optional fields to simplify your responses
Links:
- Jonathan's personal website
- Plates templating library
- Glide image manipulation library
- Nesting resources by Jamis Buck
- There's a model hiding in your REST API
- Build APIs You Won't Hate by Phil Sturgeon
- Sponsored by Laracasts
Topics
technologysoftwarewebdevelopmentproductstartup