No video

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

  Рет қаралды 25,043

Ajay yadav

Ajay yadav

Күн бұрын

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.

Пікірлер: 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
@emotionally001
@emotionally001 Жыл бұрын
sooo goooood teacher , thanks
@ajay-yadav
@ajay-yadav Жыл бұрын
sure, thanks
@ayazahamed8254
@ayazahamed8254 10 ай бұрын
Very well explained.
@ajay-yadav
@ajay-yadav 10 ай бұрын
Glad it was helpful!
@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.
@nuruzzanamhimel5911
@nuruzzanamhimel5911 Жыл бұрын
wonderful video
@eastmedinipurboxs6488
@eastmedinipurboxs6488 2 жыл бұрын
Good explain
@ajay-yadav
@ajay-yadav 2 жыл бұрын
Thanks and welcome, keep watching
@mazharulislam1276
@mazharulislam1276 2 жыл бұрын
You are explaining very well but why you are doing so fast it's irritating.
@AnkeshDaheriya
@AnkeshDaheriya 6 ай бұрын
great explanation sir ...☺☺
@AnkeshDaheriya
@AnkeshDaheriya 6 ай бұрын
sir my logic is not building what should i do😔
@rehmanghani6726
@rehmanghani6726 Жыл бұрын
Nice video 👍
@ramkeshbairwa4185
@ramkeshbairwa4185 2 жыл бұрын
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.
@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
@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
@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
@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
@zainuleman0.191
@zainuleman0.191 5 ай бұрын
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
@shivesh96
@shivesh96 Жыл бұрын
Please tell me, how can we handle when user is 3 lakhs or 4 lakhs. Please reply.
@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
@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
@mustafizurrahman8681
@mustafizurrahman8681 11 ай бұрын
Sir have any way to run job automatically.
@ajay-yadav
@ajay-yadav 11 ай бұрын
Yes, you can use a supervisor in real-world operations. To learn more about it, just visit the official Laravel website.
@sachchidanandgupta8845
@sachchidanandgupta8845 2 жыл бұрын
sir plz explain more queue and jobs .
@ajay-yadav
@ajay-yadav 2 жыл бұрын
Sure noted thanks
@Pramodsharma-uz8ix
@Pramodsharma-uz8ix 2 жыл бұрын
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)); } }
Glow Stick Secret Pt.4 😱 #shorts
00:35
Mr DegrEE
Рет қаралды 18 МЛН
مسبح السرير #قصير
00:19
سكتشات وحركات
Рет қаралды 11 МЛН
09 - Events & Listeners
11:01
Laravel
Рет қаралды 22 М.
Get started with Laravel events and listeners
15:37
Andrew Schmelyun
Рет қаралды 19 М.
Laravel 11 tutorial in Hindi #23 What is Middleware in laravel
11:46
Code Step By Step
Рет қаралды 2,9 М.
Laravel Events and Listeners: $dispatchesEvents in Models
4:19
Laravel Daily
Рет қаралды 10 М.
Events in Javascript | chai aur #javascript
36:57
Chai aur Code
Рет қаралды 208 М.
#03 Vanita Junior Laravel Developer Interview Live
24:19
Career Development Lab
Рет қаралды 7 М.
Glow Stick Secret Pt.4 😱 #shorts
00:35
Mr DegrEE
Рет қаралды 18 МЛН