108: Jonathan Reinink - Client-Side Rendering, Server-Side Routing

Full Stack Radio

Episode | Podcast

Date: Thu, 14 Feb 2019 17:21:00 +0000

<p>Topics include:</p><ul> <li>Why the UI fidelity threshold for building an SPA feels so low</li> <li>How forcing yourself to prepare data for Vue helps avoid putting too much logic into your templates</li> <li>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</li> <li>Performance and complexity benefits of being able to prepare data for the view in a controller instead of having to build an API</li> <li>Strategies for dealing with things like accessing routes, checking authorization rules, and other things you'd normally do in a Blade template</li> <li>Switching from a template-inheritance mindset to a component mindset</li> </ul><p>Sponsors:</p><ul> <li> <a href="https://rollbar.com/fullstackradio">Rollbar</a>, sign up at https://rollbar.com/fullstackradio and install Rollbar in your app to receive a $100 gift card for <a href="https://opencollective.com/">Open Collective</a> </li> <li> <a href="https://cloudinary.com/users/register/free?utm_source=fullstackradio&amp;utm_medium=Sponsored_Podcast&amp;utm_content=fullstackradio_PodCast">Cloudinary</a>, sign up and get 300,000 images/videos, 10GB of storage and 20GB of monthly bandwidth for free</li> </ul><p>Links:</p><ul> <li><a href="https://laravel.com">Laravel</a></li> <li><a href="https://vuejs.org/">Vue.js</a></li> <li> <a href="https://reinink.ca/articles/server-side-apps-with-client-side-rendering">Server-side apps with client-side rendering</a>, from Jonathan's blog</li> <li><a href="https://github.com/reinink/client-side-rendering-in-laravel">Example project</a></li> <li> <a href="https://github.com/tightenco/ziggy">Ziggy</a>, package for accessing your Laravel routes on the client</li> </ul>