Laravel 11 & Livewire 3 CRUD: A Full-Stack Mini Project | Single Page Application SPA - source code

  Рет қаралды 13,383

code with SJM

code with SJM

Күн бұрын

Welcome to our comprehensive tutorial on building a Single Page Application (SPA) using Laravel 11 and Livewire 3! In this step-by-step guide, we'll walk you through the process of creating a powerful CRUD (Create, Read, Update, Delete) application, leveraging the latest features of Laravel and Livewire.
Whether you're a beginner looking to dive into Laravel development or an experienced developer aiming to enhance your skills, this tutorial is perfect for you. We'll start from scratch, setting up Laravel 11 and integrating Livewire 3 to build a dynamic SPA that delivers seamless user experiences.
Here's what you'll learn:
- Setting up Laravel 11: We'll guide you through installing Laravel 11 and configuring your development environment to get started with ease.
- Introduction to Livewire 3: Discover the basics of Livewire 3 and how it simplifies building interactive user interfaces without writing JavaScript.
- Creating CRUD Functionality: Learn how to implement Create, Read, Update, and Delete operations within your Laravel application using Livewire.
- Building a Single Page Application: Understand the principles behind SPA development and see how Laravel and Livewire make it effortless to create a smooth, responsive user interface.
By the end of this tutorial, you'll have a solid understanding of building SPAs with Laravel 11 and Livewire 3, empowering you to create dynamic web applications with confidence.
Don't miss out on this opportunity to level up your Laravel skills and master the art of building SPAs. Hit the play button now and let's dive into the world of Laravel and Livewire development! If you find this tutorial helpful, don't forget to like, share, and subscribe for more insightful content.
How to install your first Laravel 11.x project: • Laravel 11 Tutorial fo...
Project Source code:
github.com/sha...
Also watch these videos from my best video list:
Laravel 10 Crud with Ajax | part 1:
• Laravel 10 CRUD Tutori...
Laravel 10 Crud with Ajax | part 2:
• Laravel 10 CRUD Tutori...
Laravel 10 Crud:
• Laravel 10 Crud Syste...
Laravel 10 How to send Email like Pro:
• How to Send Email in L...
Buy me a Coffee:
www.buymeacoff...

Пікірлер: 34
@fortunato220
@fortunato220 3 ай бұрын
I follow you from Italy... You are really really amazing.. good explanations and competent. I congratulate you and thank you
@shadrackmballah80
@shadrackmballah80 3 ай бұрын
Thanks friend 🙏, much more are coming.
@carlosluistorres
@carlosluistorres 5 ай бұрын
Thanks for sharing! I can't wait to see the end
@shadrackmballah80
@shadrackmballah80 5 ай бұрын
Thanks, soon as possible it'll be uploaded and many more. Stay tuned and thank you again.🙏
@syahircoding
@syahircoding 5 күн бұрын
What a great video, but I am currently stuck with the quickstart in Livewire Documentation. The button I click when doing the counters does not change the count by increasing or decreasing it. May I know if there's any setup needs to be done after the command 'composer require livewire/livewire'?
@shadrackmballah80
@shadrackmballah80 5 күн бұрын
Have you created the component with function that you can call in on an event of onClick of your button in your button you should call the increment or decrement of your count and make sure they exist in your component
@syahircoding
@syahircoding 4 күн бұрын
@@shadrackmballah80 I did, in Controller.php is the function increment and decrement, in the controller.blade.php is the button with wire:click="functionName".
@shadrackmballah80
@shadrackmballah80 4 күн бұрын
Now it is hard to guess where did it goes wrong, can we have a way I can see your code like a meeting or something?
@shreejamanandhar3228
@shreejamanandhar3228 Ай бұрын
by using live wire, Will it affect in SEO ?? if yes, how do we do SEO when we use livewire?
@shadrackmballah80
@shadrackmballah80 Ай бұрын
Yes it will affect, simply because livewire uses Javascript to render pages dynamically, so you can use livewire built-in SEO best practices. You see this discussion may help out: forum.laravel-livewire.com/t/how-to-set-title-and-meta-tags/72 and this also laracasts.com/discuss/channels/livewire/is-it-a-bad-practice-for-seo-when-i-make-a-livewire-component-from-the-head-section-of-a-page
@netnation1288
@netnation1288 4 ай бұрын
Why not just use a usual controllers and just import the use of livewire
@shadrackmballah80
@shadrackmballah80 3 ай бұрын
Laravel Livewire gives you the ability to play around with it even without the use of controllers as before. But you may use the Laravel controllers! What you'll find is, the project logics are still controlled by the Livewire components and the essence of this approach is to give you ability to utilize powerful livewire features like model bindings and so on. So you can see this project i used the controllers as required. Laravel 11 & Livewire 3 Blog Application: kzbin.info/aero/PLdj_kazFZvyz5saAng6TV6LEH0_2E2wPO But also you can see here the documentation for more details on how you can foster Laravel and livewire 3 livewire.laravel.com/
@netnation1288
@netnation1288 3 ай бұрын
@@shadrackmballah80 that's amazing
@shadrackmballah80
@shadrackmballah80 3 ай бұрын
Yeah that's it, for me it is interesting feature! I like it, since it removes the headache of code organization.😇
@FerdITSolutions
@FerdITSolutions 4 ай бұрын
Localhost:8000 welcome page doesn't open once I change my database from sqlite to mysql. How can I fix it pls?
@shadrackmballah80
@shadrackmballah80 4 ай бұрын
Thanks for asking! I can't tell straight away what is the issue but sorry, could you please provide what error does it give to the browser?
@FerdITSolutions
@FerdITSolutions 4 ай бұрын
@@shadrackmballah80 I see SQLSTATE[42S02]: Base table or view not found: 1146 Table 'gpglobal.sessions' doesn't exist and I also see ->handleRequest(Request::capture());
@shadrackmballah80
@shadrackmballah80 4 ай бұрын
Double-check if the table `sessions` exists in the specified schema or database, if not exist. Please! try this commands: php artisan session:table then, php artisan migrate if the table `sessions` exist try to re-migrate the database by running this command: php artisan migrate:fresh If doesn't work for you, please! let me know.
@FerdITSolutions
@FerdITSolutions 4 ай бұрын
@@shadrackmballah80 Fixed. Session was not created because my secret key was too long so I created a schema then created the migrate and it fixed it. Thanks so much
@shadrackmballah80
@shadrackmballah80 4 ай бұрын
@FerdITSolutions Good to hear that, 👍
@Алексей127-г6э
@Алексей127-г6э 2 ай бұрын
34:37 where did we have "new Car" did we have to import it?
@shadrackmballah80
@shadrackmballah80 2 ай бұрын
No, just continue up to 38:15
@Алексей127-г6э
@Алексей127-г6э 2 ай бұрын
@@shadrackmballah80 got it, models is in singular. in DB it's in plural thnx
@shadrackmballah80
@shadrackmballah80 2 ай бұрын
You're welcome.👍
@manishkrmaurya
@manishkrmaurya 5 ай бұрын
When to upload part 2
@shadrackmballah80
@shadrackmballah80 5 ай бұрын
Already uploaded, find it here please:kzbin.info/www/bejne/p3a5Ynt-fKadadk
@manishkrmaurya
@manishkrmaurya 5 ай бұрын
Thanks
@shadrackmballah80
@shadrackmballah80 5 ай бұрын
Your welcome.
@sisfoysp1176
@sisfoysp1176 2 ай бұрын
Livewire is not working without PHP artisan serve can you help me?
@shadrackmballah80
@shadrackmballah80 2 ай бұрын
If I get you well, you mean the project is not working without you running the command right? if so, it is because a project can not work without running it. and it is only running from the command you showed. So Livewire and the whole project will work if and only if you start the server with php artisan serve
@brettsnow5005
@brettsnow5005 4 ай бұрын
*PromoSM* 🤔
@shadrackmballah80
@shadrackmballah80 4 ай бұрын
🤔🤷‍♂️
Caleb Porzio "Livewire 3" - Laracon US 2023 Nashville
43:28
Laravel + Livewire todo app (and so much more)
16:41
Aaron Francis
Рет қаралды 44 М.
ПРИКОЛЫ НАД БРАТОМ #shorts
00:23
Паша Осадчий
Рет қаралды 5 МЛН
Magic or …? 😱 reveal video on profile 🫢
00:14
Andrey Grechka
Рет қаралды 90 МЛН
5 Laravel Livewire Projects For Beginners
1:13:25
The Codeholic
Рет қаралды 54 М.
I Never Want To Build Authentication Any Other Way
2:03:20
Elliott Chong
Рет қаралды 24 М.
Getting started with Laravel 11 Reverb, Livewire 3, and Broadcasting
54:30
Build Data Table with Livewire 3 for beginners
42:46
Yelo Code
Рет қаралды 27 М.
Laravel First Impressions From A JavaScript Dev
21:08
adamdotdev
Рет қаралды 130 М.
Mary UI Components for Laravel Livewire Full Tutorial
54:10
Tony Xhepa
Рет қаралды 8 М.
The Tools I Use to Build Products in Laravel
19:00
Josh Cirre
Рет қаралды 29 М.
Laravel Origins: A PHP Documentary
33:27
OfferZen Origins
Рет қаралды 159 М.
Livewire VS Vue.js: Practical Example of Dependent Dropdowns
13:40
Laravel Daily
Рет қаралды 43 М.
ПРИКОЛЫ НАД БРАТОМ #shorts
00:23
Паша Осадчий
Рет қаралды 5 МЛН