3min chapter

Frontend First cover image

JavaScript needs a model layer

Frontend First

CHAPTER

How to Compose Data in Ruby on Rails

When you're composing data for a bunch of different services, there's no ORM that knows how to talk to The four services that we use nor nor should there be. And so you're just fetching data and passing around Jason You know that data you've heard from the service that comes back as Jason objects, right? It's painful how much latency there is where if you if you like Fetch them data and then you need to to see like oh like do I have access to this video? Well Is this video part of a bundle? Well, let me go talk to the CMS to find out if this video ispart of a bundle Like that latency just it adds up where

00:00

Get the Snipd
podcast app

Unlock the knowledge in podcasts with the podcast player of the future.
App store bannerPlay store banner

AI-powered
podcast player

Listen to all your favourite podcasts with AI-powered features

Discover
highlights

Listen to the best highlights from the podcasts you love and dive into the full episode

Save any
moment

Hear something you like? Tap your headphones to save it with AI-generated key takeaways

Share
& Export

Send highlights to Twitter, WhatsApp or export them to Notion, Readwise & more

AI-powered
podcast player

Listen to all your favourite podcasts with AI-powered features

Discover
highlights

Listen to the best highlights from the podcasts you love and dive into the full episode