Artwork

Contenuto fornito da Jared White. Tutti i contenuti dei podcast, inclusi episodi, grafica e descrizioni dei podcast, vengono caricati e forniti direttamente da Jared White o dal partner della piattaforma podcast. Se ritieni che qualcuno stia utilizzando la tua opera protetta da copyright senza la tua autorizzazione, puoi seguire la procedura descritta qui https://it.player.fm/legal.
Player FM - App Podcast
Vai offline con l'app Player FM !

Designing Your API for Their API (Yo Dawg!)

28:07
 
Condividi
 

Manage episode 445305299 series 3295904
Contenuto fornito da Jared White. Tutti i contenuti dei podcast, inclusi episodi, grafica e descrizioni dei podcast, vengono caricati e forniti direttamente da Jared White o dal partner della piattaforma podcast. Se ritieni che qualcuno stia utilizzando la tua opera protetta da copyright senza la tua autorizzazione, puoi seguire la procedura descritta qui https://it.player.fm/legal.

It’s tempting to want to take the simplistic approach of writing “to the framework” or to the external API directly in the places where you need to interface with those resources, but it’s sometimes a much better approach to create your own abstraction layer. Having this layer which sits between your high-level business logic or request/response handling, and the low-level APIs you need to call, means you’ll be able to define an API which is clean and makes sense for your application…and then you can get messy down in the guts of the layer or even swap out one external API for another one. I explore all this and more in another rousing episode of Fullstack Ruby.
Links & Show Notes

Become a part of the Fullstack Ruby community and learn how to put your Ruby skills to work on the backend AND the frontend. Know somebody who's a JavaScript developer but is interested in learning more about Ruby? Share the site, podcast, or newsletter with them!
Theme music courtesy of Epidemic Sound.

  continue reading

Capitoli

1. Introduction (00:00:00)

2. Gems for use in *any* Ruby web application (emphasis *any*!) (00:01:06)

3. Fullstack Ruby is now part of Intuitive+ (00:02:55)

4. Bridgetown 2.0 is in beta (00:04:54)

5. MM v DHH (00:05:43)

6. Writing an abstraction layer to connect to APIs (00:08:00)

7. HTTP REST API calls with Faraday (00:13:50)

8. Some individual methods call multiple API endpoints (00:16:58)

9. Future improvement: async requests in parallel (00:20:39)

10. Yo dawg, I heard you like APIs, so I put an API in your API… (00:23:22)

11. Outro (00:26:52)

12 episodi

Artwork
iconCondividi
 
Manage episode 445305299 series 3295904
Contenuto fornito da Jared White. Tutti i contenuti dei podcast, inclusi episodi, grafica e descrizioni dei podcast, vengono caricati e forniti direttamente da Jared White o dal partner della piattaforma podcast. Se ritieni che qualcuno stia utilizzando la tua opera protetta da copyright senza la tua autorizzazione, puoi seguire la procedura descritta qui https://it.player.fm/legal.

It’s tempting to want to take the simplistic approach of writing “to the framework” or to the external API directly in the places where you need to interface with those resources, but it’s sometimes a much better approach to create your own abstraction layer. Having this layer which sits between your high-level business logic or request/response handling, and the low-level APIs you need to call, means you’ll be able to define an API which is clean and makes sense for your application…and then you can get messy down in the guts of the layer or even swap out one external API for another one. I explore all this and more in another rousing episode of Fullstack Ruby.
Links & Show Notes

Become a part of the Fullstack Ruby community and learn how to put your Ruby skills to work on the backend AND the frontend. Know somebody who's a JavaScript developer but is interested in learning more about Ruby? Share the site, podcast, or newsletter with them!
Theme music courtesy of Epidemic Sound.

  continue reading

Capitoli

1. Introduction (00:00:00)

2. Gems for use in *any* Ruby web application (emphasis *any*!) (00:01:06)

3. Fullstack Ruby is now part of Intuitive+ (00:02:55)

4. Bridgetown 2.0 is in beta (00:04:54)

5. MM v DHH (00:05:43)

6. Writing an abstraction layer to connect to APIs (00:08:00)

7. HTTP REST API calls with Faraday (00:13:50)

8. Some individual methods call multiple API endpoints (00:16:58)

9. Future improvement: async requests in parallel (00:20:39)

10. Yo dawg, I heard you like APIs, so I put an API in your API… (00:23:22)

11. Outro (00:26:52)

12 episodi

Alle episoder

×
 
Loading …

Benvenuto su Player FM!

Player FM ricerca sul web podcast di alta qualità che tu possa goderti adesso. È la migliore app di podcast e funziona su Android, iPhone e web. Registrati per sincronizzare le iscrizioni su tutti i tuoi dispositivi.

 

Guida rapida

Ascolta questo spettacolo mentre esplori
Riproduci