Search a title or topic

Over 20 million podcasts, powered by 

Player FM logo
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://podcastplayer.com/legal.
Player FM - Podcast App
Go offline with the Player FM app!

Designing Your API for Their API (Yo Dawg!)

28:07
 
Share
 

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://podcastplayer.com/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

Chapters

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 episodes

Artwork
iconShare
 
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://podcastplayer.com/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

Chapters

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 episodes

All episodes

×
 
Loading …

Welcome to Player FM!

Player FM is scanning the web for high-quality podcasts for you to enjoy right now. It's the best podcast app and works on Android, iPhone, and the web. Signup to sync subscriptions across devices.

 

Copyright 2025 | Privacy Policy | Terms of Service | | Copyright
Listen to this show while you explore
Play