Artwork

Content provided by Jared White. All podcast content including episodes, graphics, and podcast descriptions are uploaded and provided directly by Jared White or their podcast platform partner. If you believe someone is using your copyrighted work without your permission, you can follow the process outlined here https://ro.player.fm/legal.
Player FM - Aplicație Podcast
Treceți offline cu aplicația Player FM !

Designing Your API for Their API (Yo Dawg!)

28:07
 
Distribuie
 

Manage episode 445305299 series 3295904
Content provided by Jared White. All podcast content including episodes, graphics, and podcast descriptions are uploaded and provided directly by Jared White or their podcast platform partner. If you believe someone is using your copyrighted work without your permission, you can follow the process outlined here https://ro.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

Capitole

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)

11 episoade

Artwork
iconDistribuie
 
Manage episode 445305299 series 3295904
Content provided by Jared White. All podcast content including episodes, graphics, and podcast descriptions are uploaded and provided directly by Jared White or their podcast platform partner. If you believe someone is using your copyrighted work without your permission, you can follow the process outlined here https://ro.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

Capitole

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)

11 episoade

Toate episoadele

×
 
Loading …

Bun venit la Player FM!

Player FM scanează web-ul pentru podcast-uri de înaltă calitate pentru a vă putea bucura acum. Este cea mai bună aplicație pentru podcast și funcționează pe Android, iPhone și pe web. Înscrieți-vă pentru a sincroniza abonamentele pe toate dispozitivele.

 

Ghid rapid de referință