Laravel is a SPA framework
Vložit
- čas přidán 28. 06. 2024
- Modern web, whether you like it or not, needs to have indicators that something is actually happening behind the scenes. But what if you could just have that automatically happen in your TALL stack application? Let's take a look.
Help me choose my next video:
cir.re/suggest
Links:
Hassan's post: x.com/HassanZahirnia/status/1...
Gist with NProgress code: gist.github.com/joshcirre/e7c...
livewire.laravel.com/docs
00:00 Hassan's Livewire NProgress Tweak
01:08 Livewire out-of-the-box functionality
02:04 Wire navigate functionality
03:12 Lazy loading with Livewire
04:14 Adding NProgress indicator
04:36 Seeing NProgress in action
05:27 Conclusion
for the algo:
javascript loading spinners, javascript fetch data, laravel livewire load dynamic, laravel livewire spa loading, javascript ajax requests, javascript simulate slow database, laravel livewire progress indicators, javascript async rendering, laravel breeze scaffold app, laravel ajax CRUD operations, laravel livewire ajax, javascript async hydration, simulating ajax calls, laravel livewire ajax loading, progressive web apps - Hudba
Laravel (and Livewire) are criminally underrated. Great video!
Agreed. As a former JS dev, Livewire is all of the magic I need and I don't have to think about 80% of it.
brother your VS-Code looks really clean, can you please share the extensions or the customization you did in this 🥰
Thanks for the support! I don't want to create a video just because almost all of my customizations that I've done are using Caleb Porzio's VS Code course. So check that out, but the windowless settings to make it that clean are done using APC Customize. You can change any element of VS Code like if it was a browser (because it is.) :)
@@joshcirre cool! thanks (🥰) for sharing this information. I'll definitely check out his course for tweaking vs-code. Can you share your settings.json with a github repo or something, that's much better for me to understand (if you don't mind)
Loving this. Keep it up!
Thanks Sydney! Appreciate the support! :)
Hi Josh, im about to start on my first real project after finishing computer science ( im working in another field now than web development). First i was thinking react, due to the popularity, but really didnt like the thousands of plugins that come with it, and i found your channel, and it sounds like the framework i want to try out. How hard would it be to make a facebook clone in laravel ? ive seen there is guides on this. but i havent heard anyone discuss how easy it is to make reusable code, and if its beginner friendly to start on such a project. i hope you can give a little guidance.
Hey Seranova!
Thanks for the feedback. I have a 3+ hour video coming out showing how to build a Laravel app from start to finish, and then I am planning on starting to stream in the coming weeks to help answer these questions in more depth.
Welcome to the coding and Laravel world! It's definitely possible!
I like your videos
Thank you! Appreciate the support!
Is there any Best practices or Design patterns using Laravel and Livewire? When using Laravel to build API s we have repository patterns bla bla bla… What’s with TALL stack? 🤔
I'm not the best at knowing what's the best practices and design patterns, but I think looking at Laravel Breeze for Volt is a great example of what the folks at Laravel recommend. And then there's some demo applications built with MaryUI that are a good example of some ways of creating applications in Laravel, Livewire, and Volt.