Тёмный

Livewire CRUD with Modals - Code Review 

Laravel Daily
Подписаться 141 тыс.
Просмотров 27 тыс.
50% 1

In this video, I will showcase and review the code of a simple Laravel + Livewire CMS.
Repository: github.com/BadreddineZatout/s...
My Courses about Livewire: laraveldaily.teachable.com/co...
- - - - -
Support the channel by checking out my products:
- My Laravel courses membership: laraveldaily.teachable.com/p/...
- Laravel QuickAdminPanel: bit.ly/quickadminpanel
- Livewire Kit Components: livewirekit.com
- - - - -
Other places to follow:
- My weekly Laravel newsletter: bit.ly/laravel-newsletter
- My personal Twitter: / povilaskorop

Хобби

Опубликовано:

 

2 июл 2022

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 33   
@adityakadam2256
@adityakadam2256 2 года назад
That’s a great video. Thanks for sharing it. Would like to mention my personal experience of using Livewire for CMS. Our SaaS app Garchi CMS was made with Livewire initially but it was a nightmare when more functionalities were added over the period of time. The event messages used to mess up a lot plus it was a pain to use third party libraries in modal. Not to mention about component rendering on every event. Finally we switched to Inertia Vue 3 and it solved tons of problems allowing the app to be more customisable. I have nothing against Livewire it is great for CRUD. I feel Vue 3 and Inertia though you have to write extra code but it is worth it, especially for complex apps.
@MrNotsoft
@MrNotsoft 2 года назад
How do you transition from livewire methods in view to liveware controller code? Some special plugin for phpstorm?
@ricko13
@ricko13 2 года назад
Nice t-shirt man
@necrotikS
@necrotikS 2 года назад
Thank you for your knowledge. I'm looking for ways to keep checking for start / end date in Laravel, and do something when the time comes (e.g., post should start 2022-05-05 10:00:00 (notify frontend at this time), end at 2022-05-05 18:00:00 (notify frontend at this time)). Which is the best way to implement this using Laravel?
@LaravelDaily
@LaravelDaily 2 года назад
Maybe a scheduler that would run the check every hour and notify everyone? ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-r-KrsQ0dN80.html
@jagdishpatel7405
@jagdishpatel7405 Год назад
Do you know any source where I can get help to achieve same using Yajra Datatables? I have used single modal for create and update data and Yajra Datatable for listing data. While clicking on edit button I want to open modal with data and save it but I did not found any source to achive the same.
@user-fj7td1nd6b
@user-fj7td1nd6b 2 года назад
Hello, Povilas. Thank you for your lessons. I have an idea for your next video. It would be nice to see how to protect images from public folder in address bar using middleware or something else. Can we only show files to auth users?
@LaravelDaily
@LaravelDaily 2 года назад
My old article about it: laraveldaily.com/laravel-upload-file-and-hide-real-url-for-secure-download-under-uuid/
@user-fj7td1nd6b
@user-fj7td1nd6b 2 года назад
​@@LaravelDaily Thx, your article is really helpful!
@alishan5901
@alishan5901 8 месяцев назад
Hello, Povilas I'm using livewire with custom modals/drawers but the issue is I have dynamic Fields with select2 and each time I have to reinitialize them and as I have each field against a array index it's a bit messy couldn't find a logic or think of any : as we update any property component gets refreshed which refreshes the select2 to normal select I have to check this on every property update any solution for that ??
@LaravelDaily
@LaravelDaily 8 месяцев назад
I advise to NOT use any jQuery scripts woth Livewire, they just don't work properly. I suggest Tom Select or Virtual Select.
@alishan5901
@alishan5901 8 месяцев назад
@@LaravelDaily thanks for the quick response let me try those
@masonhows6352
@masonhows6352 2 года назад
Hello sir. I'm sorry. I need to analyze the tables related to the product's dynamic attribute, that a product can have one or more attributes, such as a mobile product that also has a color attribute and a warranty attribute. Do you have any reference for the attributes of a product?
@LaravelDaily
@LaravelDaily 2 года назад
I have a video about it: ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-S-d4xrJA_Zs.html
@GergelyCsermely
@GergelyCsermely 2 года назад
Livewire is a back-end street for big projects. It is really easy to start with it, bite there are too many limitations and slow.
@krekas
@krekas 2 года назад
What's slow? For example filament admin works very quick with many records
@arifdevcoding
@arifdevcoding 2 года назад
​@@krekas it is very very slow when you have hundreds of deeply nested components constantly updating themselves. i am nerver going back to livewire again.
@martinh4982
@martinh4982 2 года назад
@@arifdevcoding I have to ask: What sort of an application are you making that requires "hundreds of deeply nested components" on a single page? Sounds like a complete nightmare in any framework.
@kito2266
@kito2266 Год назад
@@arifdevcoding sir? Can you answer the question above? Don't get me wrong, I'm curious too with your thoughts. So please answer the question if you have time
@ilhampamungkas5716
@ilhampamungkas5716 Год назад
You like part of competitor livewire 😂😂 like vue or react .. maybe 😂😂
@saravanasai2391
@saravanasai2391 2 года назад
Hi sir really a great content. I have gained experience in web development for 1 year. I have worked in laravel Vue 3 and react. Build some decent application. I have attend interview yesterday. They asked some question on laravel about middileware and some more. Then interviewer asked me what is the output of this code should snippet $a='1' ; $b = &$a ; $b = "2$a" echo $a. ', '. $b I know it's as variable passed by referrence but I can't tell crt output Doest it really determine my skills on development or else I need learn php fundamental again with more in depth suggest me a good answer sir And its question of all other team members of my office as junior
@LaravelDaily
@LaravelDaily 2 года назад
Such "tricky" questions about the output is the WORST way to interview a candidate, because in real projects you wouldn't need to perform such $a $b manipulations. So don't pay attention and keep looking for a job elsewhere.
@saravanasai2391
@saravanasai2391 2 года назад
@@LaravelDaily thanks for the suggestion.... Sir. But what skills does really need to one year of experience in laravel or general as full stack web developer...
@nrzaly
@nrzaly 2 года назад
21, 21
@saravanasai2391
@saravanasai2391 2 года назад
@@nrzaly i have answered same ..and got selected in that interview but i really don't think it determine my skill
@ahmedsafaa1097
@ahmedsafaa1097 2 года назад
The smart dialogue for update and create That what i was talking about about one disadvantage of quick admin panel Your system generate 2 forms for each model create and update Hope this would be a a choice in the future
@LaravelDaily
@LaravelDaily 2 года назад
That was actually a deliberate choice by us: two separate forms are easier to customize however you want, and for our users, the goal was to be as easy to customize as possible, the goal wasn't the re-usability and smart structures of everything.
@surendrabudhathoki8069
@surendrabudhathoki8069 2 года назад
Jack of traits
@mohamed77599
@mohamed77599 2 года назад
laravel 9 with vite
@waleedikhlaq5277
@waleedikhlaq5277 2 года назад
Hi! I am stuck in my project at one point, and want to share with you the issue via email since I wrote a document and included images in it of the project. Can you please share your email address?
@LaravelDaily
@LaravelDaily 2 года назад
Sorry I don't have time for any new code reviews until at least September.
@waleedikhlaq5277
@waleedikhlaq5277 2 года назад
@@LaravelDaily no worries I managed to solve it.
Далее
14 Quick Laravel Tips in 9 Minutes: May 2024
9:09
Просмотров 9 тыс.
Real Time Chat With Laravel Reverb
49:22
Просмотров 11 тыс.
Livestream: Digging Into Laravel Breeze's Livewire Stack
1:17:08
9 Tips for Shorter Laravel Code
10:16
Просмотров 61 тыс.
Laravel Modal Using Alpine JS + Livewire 3
31:27
Просмотров 22 тыс.
3 "Hidden" Laravel Features To Be Careful About
6:34
Laravel Reverb : Getting started
30:26
Просмотров 7 тыс.
13 FREE Livewire Components I've Found
6:44
Просмотров 23 тыс.
Creating a Todo List with Laravel and Livewire 3
16:12
это самое вкусное блюдо
0:12
Просмотров 2,6 млн
making a knife from an old file
0:58
Просмотров 12 млн