DejaVue

Inertia.js (with Joe Tannenbaum)

Oct 10, 2024
In this engaging discussion, Joe Tannenbaum, a Software Engineer at Laravel and a contributor to Inertia, dives into the intricate world of linking JavaScript and PHP. He discusses how Inertia.js acts as a powerful bridge for developing applications, highlights exciting features in the upcoming version 2, and explains the importance of session management and client-side security. Joe also uncovers the advantages of using the Composition API in Vue.js and shares insights on working within a thriving remote team. Prepare to enhance your development game!
Ask episode
AI Snips
Chapters
Transcript
Episode notes
ANECDOTE

TUI Video in Terminal Anecdote

  • Joe Tannenbaum shared his journey with text-based user interfaces (TUIs) via the Laravel package Prompts.
  • He demonstrated live video displayed in ASCII art in the terminal at Laracon US, pushing TUI capabilities to the limit.
INSIGHT

Inertia's Glue Concept

  • Inertia.js acts as a thin glue layer linking Laravel backend and Vue (or React/Svelte) frontend.
  • It enables server-side routing with SPA-like navigation by returning JSON responses instead of full page reloads.
ADVICE

Best of Backend and Frontend

  • Use Inertia to write frontend in Vue while leveraging Laravel's powerful backend features.
  • Accept that backend is PHP and frontend is JavaScript, but type sharing via packages can help.
Get the Snipd Podcast app to discover more snips from this episode
Get the app