6min chapter

Django Chat cover image

htmx - Carson Gross

Django Chat

CHAPTER

Building JSON APIs in Django

The encoding difference between HTM and JSON is almost nailed, like, In terms of size. And it can often feel faster because you don't have a lot of JavaScript living between the HTML and the actual DOM itself. The reason why GraphQL is becoming so popular is because if you try to build an API without a powerful expressive query language like that inJSON, your front end developers are going to ask for like a thousand different endpoints for all their real needs in the app. It's got to have these fields and it's got to be just, the feedback cycle there is just painful and difficult as well. So one of the really nice things about using something like XMX is that

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