Syntax - Tasty Web Development Treats cover image

Syntax - Tasty Web Development Treats

882: Aaron Francis is putting PHP in Your JS Files

Mar 5, 2025
Aaron Francis, a Laravel developer and co-founder of Try Hard Studios, dives into the innovative Fusion for Laravel—an exciting way to merge PHP with JavaScript. He discusses how Fusion enhances front-end interactions and simplifies full-stack development while addressing challenges like state management and data fetching. The conversation also explores optimistic UI for smoother user experiences and hints at future collaborations between PHP and JavaScript, particularly with React support. Plus, he shares amusing stories about domain name acquisitions!
54:10

Episode guests

Podcast summary created with Snipd AI

Quick takeaways

  • Laravel Fusion allows seamless integration of PHP within JavaScript, enhancing backend and frontend interactions for developers.
  • Fusion simplifies state management by ensuring data synchronization between frontend actions and backend responses for real-time updates.

Deep dives

Introduction to Laravel Fusion

Laravel Fusion is a new library that allows PHP code to be integrated seamlessly within JavaScript, aiming to bridge the gap between backend and frontend development. It builds upon existing tools like Inertia and Livewire, offering a unique combination that leverages the strengths of both PHP and JavaScript frameworks. The library aims to simplify the development process by allowing developers to interact with backend functionalities directly from the JavaScript UI, which is particularly appealing for those familiar with PHP but eager to explore the JavaScript ecosystem. The initial discussions centered around how this integration can either enhance or complicate both languages involved, highlighting a mix of excitement and skepticism within the developer community.

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