05 Mar 2025
54m

882: Aaron Francis is putting PHP in Your JS Files

Podcast cover

Syntax - Tasty Web Development Treats

This podcast interviews Aaron Francis about Laravel Fusion, a library that allows embedding PHP code within Vue.js single-file components. The discussion covers Fusion's architecture, its build process (writing PHP to disk and injecting data into the Vue component), and how it handles state management and data synchronization between front-end and back-end. Francis explains that Fusion aims to bridge the gap between Laravel and JavaScript frameworks, offering a more streamlined development experience. The interview also touches upon database choices (SQLite, Postgres, MySQL), and the challenges and future directions of the project, including potential React.js integration. A specific example discussed is how Fusion handles data updates, using a reactive approach where changes on the front-end trigger back-end calls and subsequent UI updates.

Outlines

Part 1: Introduction to Laravel Fusion

Part 2: Technical Deep Dive

Part 3: Future Plans and Frontend Ecosystem

Part 4: Database Considerations

Part 5: Conclusion and Plugs

Sign in to continue reading, translating and more.

Continue
 
mindmap screenshot
Preview
preview episode cover
How to Get Rich: Every EpisodeNaval