Many Laravel apps don’t warrant the complexity of a full front-end framework like Vue or React. In this series, we’ll walk through a handful of simple ways to add dynamic functionality to your apps. By combining various strategies, you can keep your simple Laravel stack, but still build interfaces that feel fast, fresh, and dynamic.
Added 11 months ago
In this video, we'll apply the “server fetched partials” concept to entire page loads using Watch
Many Laravel apps don’t warrant the complexity of a full front-end framework like Vue or React. In this series, we’ll walk through a handful of simple ways to add dynamic functionality to your apps. By combining various strategies, you can keep your simple Laravel stack, but still build interfaces that feel fast, fresh, and dynamic.
Added 11 months ago
I'd like to demonstrate a powerful little pattern called “Server-Fetched Partials” that offers some tangible benefits over alternatives like VueJS for simple page interactions.
Now that we’ve reviewed the basics of server-fetched partials, let's look at another common use-case and demonstrate how we can make the experience even smoother by caching the partials. We’ll also pull in a library called Include Fragment Element to make the fetching process even easier!
View the source code for this episode on GitHub.
In this video, we'll apply the “server fetched partials” concept to entire page loads using Turbolinks. By adding one line of code, we'll make a server-side Laravel app feel like an SPA.
View the source code for this episode on GitHub.
There's no shortage of content at Laracasts. In fact, you could watch nonstop for days upon days, and still not see everything!