
Episode 108
108: Jonathan Reinink - Client-Side Rendering, Server-Side Routing
In this episode, Adam talks to Jonathan Reinink about a new approach he has been using to build Laravel and Vue.js apps that lets him match the UI fidelity of an SPA, without abandoning server-side routing or data fetching.
February 14, 20191h 9m
Audio is streamed directly from the publisher (media.transistor.fm) as published in their RSS feed. Play Podcasts does not host this file. Rights-holders can request removal through the copyright & takedown page.
Show Notes
Topics include:
- Why the UI fidelity threshold for building an SPA feels so low
- How forcing yourself to prepare data for Vue helps avoid putting too much logic into your templates
- Why it's still worth building your app as a traditional server-based web app, even if you are using Vue for your entire UI
- Performance and complexity benefits of being able to prepare data for the view in a controller instead of having to build an API
- Strategies for dealing with things like accessing routes, checking authorization rules, and other things you'd normally do in a Blade template
- Switching from a template-inheritance mindset to a component mindset
Sponsors:
- Rollbar, sign up at https://rollbar.com/fullstackradio and install Rollbar in your app to receive a $100 gift card for Open Collective
- Cloudinary, sign up and get 300,000 images/videos, 10GB of storage and 20GB of monthly bandwidth for free
Links:
- Laravel
- Vue.js
- Server-side apps with client-side rendering, from Jonathan's blog
- Example project
- Ziggy, package for accessing your Laravel routes on the client
Topics
technologysoftwarewebdevelopmentproductstartup