Тёмный
No video :(

Laravel Event And Listener | When and How to Use Event And Listener | Laravel 9 | Ajay Yadav 

Ajay yadav
Подписаться 14 тыс.
Просмотров 25 тыс.
50% 1

In this video, We are going to discuss Laravel Event And Listener and When and How to Use Event And Listener, Events are the ways we hook into the activities of our application, it is just a way to observe an activity, for instance, login, a class can be created to monitor the activity of login, when a user logs in, the event class can execute some functions.
A Listener is a class that listens to the events that they are mapped to and execute a task, that is they are the ones that perform a given task for an event.
Real-Time Chat Application: (Without Puser)
• Laravel Real Time Chat...
Gates and Plicies video :
• Video
Admin And User Login :(Multi Auth - Guards )
• Laravel Admin And User...
Our Playlist:
Computer Facts: • Computer facts
Laravel User Management System :
• Laravel User Managemen...
Laravel Auth System :
• Laravel Multi Auth System
Laravel And Vuejs
• Laravel And Vuejs
Laravel Eloquent Relationships
• Laravel Eloquent Relat...
#LaravelEventAndListener #EventListener #Laravel9
Please subscribe to my channel and share the video with your friends.

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

 

23 авг 2024

Поделиться:

Ссылка:

Скачать:

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

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 51   
@abdulgadgets6453
@abdulgadgets6453 2 года назад
The most incredible way you work and teach! One of my best. Keep it up Sir!
@ajay-yadav
@ajay-yadav 2 года назад
Thanks a ton , Keep watching
@khizer3528
@khizer3528 2 года назад
Explained good with real time debugging error 👍
@ajay-yadav
@ajay-yadav 2 года назад
Glad it helped
@hiteshkhandar6087
@hiteshkhandar6087 Год назад
Really Great, best explanation.
@hiteshkhandar6087
@hiteshkhandar6087 Год назад
Hii Ajay Can you explain how to improve site performance in Laravel. Perfomance checked in lighthouse in crome browser.
@ayazahamed8254
@ayazahamed8254 9 месяцев назад
Very well explained.
@ajay-yadav
@ajay-yadav 9 месяцев назад
Glad it was helpful!
@emotionally001
@emotionally001 Год назад
sooo goooood teacher , thanks
@ajay-yadav
@ajay-yadav Год назад
sure, thanks
@AnkeshDaheriya
@AnkeshDaheriya 6 месяцев назад
great explanation sir ...☺☺
@AnkeshDaheriya
@AnkeshDaheriya 6 месяцев назад
sir my logic is not building what should i do😔
@nuruzzanamhimel5911
@nuruzzanamhimel5911 Год назад
wonderful video
@rehmanghani6726
@rehmanghani6726 Год назад
Nice video 👍
@mazharulislam1276
@mazharulislam1276 Год назад
You are explaining very well but why you are doing so fast it's irritating.
@eastmedinipurboxs6488
@eastmedinipurboxs6488 2 года назад
Good explain
@ajay-yadav
@ajay-yadav 2 года назад
Thanks and welcome, keep watching
@hafizimran9721
@hafizimran9721 2 года назад
Nice explanation, I have a question: how we can use this model event when we are using DB façade? I mean when I use DB::insert or DB::update query builder methods how to use or trigger this event?
@piyushkumardongre5873
@piyushkumardongre5873 2 года назад
Hi Ajay, Do we need to run queue:listen manually? as shown in video. What can we do to run them automatically in production? cron jobs?
@ajay-yadav
@ajay-yadav 2 года назад
Hi piyush, yes we'll have to run queue:listen on production server... Search and Read supervisor on laravel documentation page... It's very easy to implement
@ramkeshbairwa4185
@ramkeshbairwa4185 Год назад
nice video
@akshayprathap5912
@akshayprathap5912 Год назад
your explanation was good but one doubt at last was make a command to run to send mails that in manual mode! is any other way to make it fast
@RajaBabu-vm5fn
@RajaBabu-vm5fn Год назад
Sir, you are requested to make a video of a Google socialite in that API section, so that the frontend can register it with a token.
@zafeerahmad4705
@zafeerahmad4705 2 года назад
What is difference between bridge auth you have used and normal auth
@ajay-yadav
@ajay-yadav 2 года назад
breeze is just an authentication package that uses normal auth under the hood.
@shahzaibanwar8368
@shahzaibanwar8368 Год назад
End me sara kam kr k jo queue:listen ki command run ki hai us kam ko kya hum automate ni kr skty?
@shahzaibanwar8368
@shahzaibanwar8368 Год назад
k humey bar bar command run na krni parey or mail chali jyn
@shahzaibanwar8368
@shahzaibanwar8368 Год назад
Reply (:
@ajay-yadav
@ajay-yadav Год назад
@@shahzaibanwar8368 ye command run krna pdega.... Production me supervisor ki help se automate ho jata h
@shahzaibanwar8368
@shahzaibanwar8368 Год назад
@@ajay-yadav Thanku Sir
@durveshkumar618
@durveshkumar618 2 года назад
Sir server pr queue job ko kese implement krenge I mean jo ap artisan command run kr rahe ho ye server pr chalani pdegi
@ajay-yadav
@ajay-yadav 2 года назад
Uske liye aap ko ek supervisor create krna rhega ... aap laravel ki documentation pr ja kr supervisor search kijiye
@deepikarajput8772
@deepikarajput8772 Год назад
Hi I have to know about every time we need to run queue job after saving jobs in queue or there is another way to run queue...
@ajay-yadav
@ajay-yadav Год назад
Could you explain this a bit more?
@deepikarajput8772
@deepikarajput8772 Год назад
@@ajay-yadav yeah sure... My question is as we have seen after saving job in a queue we have to run command to execute jobs which is must go process so can we have another alternative to run queue job automatically
@ajay-yadav
@ajay-yadav Год назад
@@deepikarajput8772 it is mandatory, configure the supervisor on the production server for the same
@deepikarajput8772
@deepikarajput8772 Год назад
@@ajay-yadav thanku so much
@shivesh96
@shivesh96 Год назад
Please tell me, how can we handle when user is 3 lakhs or 4 lakhs. Please reply.
@aistoredotcom
@aistoredotcom Год назад
Write all the commands below in the descriptions with sequence as well voice to text method also watching video and doing practise with you also needed
@SHADAN.__.KHAN077
@SHADAN.__.KHAN077 2 года назад
Could you make video about polymorphic relationship how fetch data or insert or update.
@ajay-yadav
@ajay-yadav 2 года назад
sure
@asifuddin7044
@asifuddin7044 Год назад
Plz upgrade ur mouth speaker. No doubt ur video is awesome enough ✌️ but sound quality is too poor. 😢
@ajay-yadav
@ajay-yadav Год назад
I've improved, watch my latest videos
@kevinkaneriya6874
@kevinkaneriya6874 Год назад
Sir your content is very good and explanation is good but you are too fast to understand
@ajay-yadav
@ajay-yadav Год назад
Sorry for that
@sachchidanandgupta8845
@sachchidanandgupta8845 2 года назад
sir plz explain more queue and jobs .
@ajay-yadav
@ajay-yadav 2 года назад
Sure noted thanks
@mustafizurrahman8681
@mustafizurrahman8681 10 месяцев назад
Sir have any way to run job automatically.
@ajay-yadav
@ajay-yadav 10 месяцев назад
Yes, you can use a supervisor in real-world operations. To learn more about it, just visit the official Laravel website.
@zainuleman0.191
@zainuleman0.191 4 месяца назад
But why? Ye kamm direct bhi to ho sacta tha jab post create kr di os k niche mail send krne ki job run kr k return redirect back ho jay
@Pramodsharma-uz8ix
@Pramodsharma-uz8ix Год назад
Bhai aapko Error nhi aaya ?? Error : " Expected response code "354" but got code "550", with message "550 5.7.0 Requested action not taken: too many emails per second". " Mailtrap 2 mail allow krta hai per second, Aur Mai kra mujhe error aaya Fix bhi kiya..But aapka to hogya ???? I really like the way you teach, have recommended in my circle as well.. But a Request, don't trim videos Bro, Ek bar error dikha do fir trim kr Fix dikha do. Plz If anyone facing error here, go like this : public function handle(PostEvent $event) { $users = User::get(); foreach ($users as $user) { sleep(1); Mail::to($user->email)->send(new UserMail($event->post)); } }
Далее
Мама приболела😂@kak__oska
00:16
Просмотров 821 тыс.
Девочки, у вас тоже так? 💅🏻✨
00:17
#03 Vanita Junior Laravel Developer Interview Live
24:19
Get started with Laravel events and listeners
15:37
Просмотров 19 тыс.
What’s new in Angular v18
20:08
Просмотров 117 тыс.