Hi, I'm Vietnamese, I'm starting to self-study Laravel and I found your RU-vid. I found your instructions very detailed, thank you for the lesson is very useful. Because I'm not good at English, I used google translate to support. If the wording is not appropriate, please forgive.
It was super exciting to see how the event and listener works in laravel. I was kinda overwhelmed while reading the docs, but now the basics of events & listener is clear to me! WohHoo! Thanks Dary
Can i use event to send notifications like user follow another user but not in email is there another way to make notification appear on user profile view؟
This is a nice video bro , in my opinion using events and listeners is more of a long process …. There are shorter ways to do it with the controller and optimize time ! What do you think? Nice video btw ✅
3 года назад
Thanks for the tutorial. It's very clear! My only question is when should we trigger the e-mail sending through the event instead of doing it directly within the controller?
I guess, it is better to send an email via event because this kind of task may require some time to process. I mean, saving data to DB via listener - is kinda weird, there is a repository for that, but handling logs and email seems appropriate
Hi , bro i have questions aut of topic . Can you make a video which is about working as a frelancer . As a laravel developer , i am student at the international education programme . In the field of computer science ... It would be better , i will wait .👍👍🙂
Hi, here's a video where I setup VS code: ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-KAUxgUvC514.html And I use Material Theme (I think palenight) for my theme :)
Think about emailing a user when they subscribe to your newsletter of when they buy a product. You can fire an event to send them either the confirmation or just a thank you message. Or even a better example: send a discount code to customers that buy products in let's say 5 days from the purchase!
@@codewithdary Hi, How can we pass more info into the Event. Like we want to show in the received email, the Name of Person, email address etc who has subscribed.