Websockets in Laravel - Part 3: Handling Socket Server Events

  Рет қаралды 36,940

DevMarketer

DevMarketer

Күн бұрын

Пікірлер: 106
@peternguyen2423
@peternguyen2423 3 жыл бұрын
The best of the best websocket tutorials on the internet so far, thank you for helping me understand all the fundamentals of complex topic like websocket. Before, I thought websocket was the hardest thing in the world, I couldn't understand it. Now I find that applying it to my project is extremely easy after watching all your series. Please continue to make more tutorials on complicated topics like this, it will help many less intelligent and slow understanding developers like me a lot.
@zabihullahsirat9731
@zabihullahsirat9731 2 жыл бұрын
I had downloaded these videos but intentionally navigate to your KZbin channel to subscribe you for ever and give you my honor to such a useful tutorial .
@UTravis
@UTravis 2 жыл бұрын
I can't tell you how helpful these sets of lessons on WebSockets have been to me
@lolasandrareen5026
@lolasandrareen5026 2 жыл бұрын
I learnt more than a lot from this tut, now I don't have to disturb myself about learning NodeJs
@ΤΟΝΙΑΧΡΙΣΤΙΔΟΥ
@ΤΟΝΙΑΧΡΙΣΤΙΔΟΥ 3 жыл бұрын
Bro why did you stop making these videos ? You were a very good teacher you had your way eplaining complex concepts making them simple !
@hoseahkiplangat
@hoseahkiplangat 4 жыл бұрын
Had headache trying to implement this BUT your tutorial is all I ever needed to solve this. Thanks for this tutorial
@burnt3436
@burnt3436 3 жыл бұрын
Awesome tutorial. You're such a good teacher. Other tutorials i found just zoom past everything and not explaining (or give very little explanation) why they did it.
@PildorasMusicales
@PildorasMusicales 4 жыл бұрын
Excellent! Congratulations, awesome tutorial. I like how you make pauses before making decisions and taking your time to explain other multiple possible decisions. Thank you!
@jashanpreet832
@jashanpreet832 3 жыл бұрын
One of the best video for web sockets
@РоманСуворов-е8д
@РоманСуворов-е8д 5 жыл бұрын
30:50 "haay, you are listening port 10" just made my day!! Thanks for the tutorial!
@mrparadox9683
@mrparadox9683 4 жыл бұрын
You don't make things difficult, this is a good job!
@VadimBesedin
@VadimBesedin Жыл бұрын
To broadcast an event you can use either "event(new TestEvent('Hi'))" or "broadcast(new TestEvent('Hi'))": • Use broadcast() when you explicitly want to send information to the client side and you don't have any local event listeners to trigger. • Use event() when you also have some local handlers that should catch the event, or when you have implemented queuing and you want the event to be queued.
@PardeepKumar-hv7vf
@PardeepKumar-hv7vf 6 жыл бұрын
This thing is so awesome i love that way you teach ......Thank You!........
@ciprianserban
@ciprianserban 4 жыл бұрын
Great teacher 👨‍🏫
@kotnikd3
@kotnikd3 6 жыл бұрын
It didnt work for me. After I changed in the following files, it started working: - broadcasting.php: 'encrypted': false - if you used 'broadcastAs() { return "NewComment"; }' method, you should change in show.blade.php: .listen('.NewComment'). Check the Laravel documentation about that dot.
@BoolFalse
@BoolFalse 5 жыл бұрын
Hey man, thanks for sharing your results.. You're really helped me to find the reason immediately ;) I've checked this case on L5.8 (for custom channel names via broadcastAs() method), and found this: 1. don't need to disable encryption from 'config/broadcasting.php/pusher.options.encrypted', and can just use as 'encrypted => true' 2. recommended to have channel names without any dashes symbols (only alphabetical characters) 3. in blade need to start with "." (dot) symbol for custom broadcast channel names only
@maherylala2153
@maherylala2153 Жыл бұрын
Pretty complete and helpful ! Nice work
@gameplaywithbilal
@gameplaywithbilal 5 жыл бұрын
Thanks a lot sir you are doing great Love and Respect From Pakistan
@petiibhuzah908
@petiibhuzah908 6 жыл бұрын
your the best keep posting i do appreciate your work
@pashamaggot
@pashamaggot 6 жыл бұрын
Thanks man ! That's actually what I was looking for. Waiting for next videos !
@sigeldesu
@sigeldesu 4 жыл бұрын
Hi! I'm making a queue management system. Can I use this function to display or broadcast the called queue on the display? IF yes, Can I do it with notification sound that a queue has been called?
@librasulus
@librasulus 3 жыл бұрын
Great series, thank you for helping me clear things in my head.
@Jimu4283
@Jimu4283 4 жыл бұрын
You have done so much you deserve ur skills
@futbolclipsfast
@futbolclipsfast 4 жыл бұрын
Amazing, thanks for explained so well, you are the best
@hamzanouali6051
@hamzanouali6051 6 жыл бұрын
i love you man
@estousemcriatividadepraumnome
@estousemcriatividadepraumnome 5 жыл бұрын
what should be used for the mission critical functionalities?
@onakoyakorede
@onakoyakorede 6 жыл бұрын
Thanks Alex for keeping to your word... really appreciate it?
@davidespigolon8170
@davidespigolon8170 6 жыл бұрын
Can you build an ecommerce in laravel?
@lolsamcute
@lolsamcute 6 жыл бұрын
Yes very well
@isisoakjsjsjsjs9666
@isisoakjsjsjsjs9666 5 жыл бұрын
Hello! Weitten tuturoal does not have vadil links.
@SaywanGanji
@SaywanGanji 2 жыл бұрын
Great tutorial
@xploitguardian
@xploitguardian 3 жыл бұрын
Hi, I have a question. Why is that everytime I refresh the page assigned value coming from the event is gone? Or whenever a user go to another page, a variable holding the value from the event fired is gone. What could be the problem? I am using laravel and vue. Thank you!
@diyang3845
@diyang3845 3 жыл бұрын
AWESOME! Thanks, Could you please submit about Custom event handler on laravel websocket also?
@steveskye5989
@steveskye5989 4 жыл бұрын
Thanks for the great video !
@ojdgaf
@ojdgaf 6 жыл бұрын
so simple and painless, thanks!
@allawitte8681
@allawitte8681 5 жыл бұрын
You are awesom! Can we expect continuation of Websockets in Laravel
@kvpfear
@kvpfear 5 жыл бұрын
You're awesome!Thank you so much!
@certificationcaci6469
@certificationcaci6469 3 жыл бұрын
great job, we appreciate it
@avinashdawane8976
@avinashdawane8976 Ай бұрын
really helpful lactures
@FawzyTat
@FawzyTat 5 жыл бұрын
That was amazing and very helpful , Thank you :)
@tokomeno9533
@tokomeno9533 6 жыл бұрын
thank you so much for great videos what you are doing for us
@misc9700
@misc9700 4 жыл бұрын
It worked for me by changing $comment->post->id to $this->comment->post->id at min 16:45
@yonann7899
@yonann7899 5 жыл бұрын
Hi, Do have any video that make silent print to printer?
@dafloca2002
@dafloca2002 4 жыл бұрын
Amazing tutorial! congrats and thank you, really hepls a lot.
@playonmob7060
@playonmob7060 5 жыл бұрын
What you are doing with the event can be done also with observer ?
@surajnirala9072
@surajnirala9072 6 жыл бұрын
thanks for teach us.. your videos always good
@mohamedmanas3055
@mohamedmanas3055 3 жыл бұрын
this is awesome!! Thanks mate! :)
@cufs-xq2gj
@cufs-xq2gj 6 жыл бұрын
please continue with advanced blog/cms
@Shaharcutenum6
@Shaharcutenum6 4 жыл бұрын
The best. Can't say much but Thanks!
@LearnphpPhpforbeginners
@LearnphpPhpforbeginners 3 жыл бұрын
Failed to connect pusher on server . How will I solve this
@kajmnietegomakowca1900
@kajmnietegomakowca1900 3 жыл бұрын
If you are using broadcastAs() you need to prepend '.' in listen function before channel name. For example if you specified "my-event" in Event->broadcastAs() then in laravel-echo "listen('.my-event")". That's because events are namespaced. Example 2, this is how laravel-echo sees you event without the dot: "App.Eventsmy-event", and with the dot: "App.Events.my-event"
@onlineenergy7151
@onlineenergy7151 6 жыл бұрын
Awesome Sir. . . . . Amazing Nice Work It
@anwarhamoude2637
@anwarhamoude2637 5 жыл бұрын
Thanks for the tutorial.
@ashrafsaleh8654
@ashrafsaleh8654 5 жыл бұрын
excellent tutorial, thanks a lot
@Almarghulani
@Almarghulani 5 жыл бұрын
Great tutorial!
@NovinyoAMEGADJE
@NovinyoAMEGADJE 6 жыл бұрын
You are AWESOME!!!!!! Yeah
@techkumar3829
@techkumar3829 6 жыл бұрын
What Happened with the advanced blog cms with laravel series??
@JoseHernandez-ew2en
@JoseHernandez-ew2en 5 жыл бұрын
Thanks, great video!!
@haseemxyt2375
@haseemxyt2375 6 жыл бұрын
Great tutorials 😊
@silasgameplaychannel3391
@silasgameplaychannel3391 5 жыл бұрын
Hey, can anyone tell me about queues with pusher? Cant find information about them.
@rajithsam
@rajithsam 6 жыл бұрын
Really awesome!!
@surajnirala9072
@surajnirala9072 6 жыл бұрын
can u make a video on laravel api docs generator
@moemengaballa
@moemengaballa 3 жыл бұрын
thank you very much
@saeedakhshijan8159
@saeedakhshijan8159 6 жыл бұрын
thank you so so so much. you are more like teachers :D
@BeaconofHopeNetwork
@BeaconofHopeNetwork 5 жыл бұрын
great video bang(!) happily subscribed bang(!)
@mohamedkaddouri5318
@mohamedkaddouri5318 5 жыл бұрын
I don't know why?? when i open up a incognito window and log the user in and type a comment for a blog and i press save comment. the author of the comment get's to see it but the other doesn't. anybody any idea?
@irfanakram
@irfanakram 6 жыл бұрын
I am learning vue.js with laravel, what i can do? I am jr PHP developer. please help me.
@irfanullahshakir3568
@irfanullahshakir3568 5 жыл бұрын
Good tutorial
@heewungsong8081
@heewungsong8081 6 жыл бұрын
Really helpful!!
@jebbush2964
@jebbush2964 6 жыл бұрын
Please teach us how to create full feature ecommere app in Laravel, with shipping classes and dashboard. THank you
@pedropeter2717
@pedropeter2717 4 жыл бұрын
thanks a lot
@meseretkassaye8550
@meseretkassaye8550 4 жыл бұрын
Hi,there Can you guide me how can i connect laravel event with reactJS. the reactJS app is in another folder not with blade help me please
@praisegodudeh6913
@praisegodudeh6913 4 жыл бұрын
Hey man.. did you figure it out?
@nicolasromero6144
@nicolasromero6144 5 жыл бұрын
THANKZ
@mohsenmahoski6659
@mohsenmahoski6659 6 жыл бұрын
thanks man. I owe you
@blry
@blry 6 жыл бұрын
Thanks man! Ur the best! :D
@mohammedrowad9983
@mohammedrowad9983 6 жыл бұрын
Thank You
@paulmooney1092
@paulmooney1092 4 жыл бұрын
Awesome on Laravel 6
@craigreeves5465
@craigreeves5465 5 жыл бұрын
I just got Echo is not defined...
@brainenergy4663
@brainenergy4663 6 жыл бұрын
Could you help please, when I submit comment I got this error: 500(Internal Server Error)
@farisdewantoro5069
@farisdewantoro5069 6 жыл бұрын
me too
@roguez93
@roguez93 6 жыл бұрын
I have the same problem, Did you fixed ?
@brainenergy4663
@brainenergy4663 6 жыл бұрын
Not yet
@roguez93
@roguez93 6 жыл бұрын
I found the solutions, its necessary to return data in a Array... it can be "return ['something']" or "return ['json' => 'something']"
@sravankumarsriramula6841
@sravankumarsriramula6841 6 жыл бұрын
Attach the screenshot of your error.
@amardev2224
@amardev2224 6 жыл бұрын
hello master this is last video ?
@ylberprapashtica2249
@ylberprapashtica2249 6 жыл бұрын
If i set 'encrypted' => false in broadcasting.php everything works fine, but if i set it to true, i get an 'error: 500(Internal Server Error)' any idea how to fix this?
@roguez93
@roguez93 6 жыл бұрын
I have the same problem, Did you fixed ?
@roguez93
@roguez93 6 жыл бұрын
I found the solution, its necessary to return data in a Array... it can be "return ['something']" or "return ['json' => 'something']"
@danielmquintero2691
@danielmquintero2691 5 жыл бұрын
@@roguez93 in broadcastWith() ?
@AhmedSaadGmail
@AhmedSaadGmail 6 жыл бұрын
Thanks Bro,
@iaskakho5646
@iaskakho5646 Жыл бұрын
Very good vid vue is a bit outdated
@midoriya1183
@midoriya1183 5 жыл бұрын
No written tutorial... Great tutorial by the way but voice make me so sleepy.
@the2worlds
@the2worlds 5 жыл бұрын
Omg he repeats every the explanation 20 times. I have to keep skipping forward. Just explain it once and move on.
@mdatiqurrahman2561
@mdatiqurrahman2561 2 жыл бұрын
Hey, I really enjoyed this video a lot, learned so many stuff and make socket learning easier. 🤎
@Jimu4283
@Jimu4283 4 жыл бұрын
You have done so much you deserve ur skills
@luizfernandomaltamartins4471
@luizfernandomaltamartins4471 3 жыл бұрын
Thanks for tutorial, is great.
Websockets in Laravel - Part 4: Authenticating Private Channels
11:55
Websockets in Laravel - Part 1: Configuring Laravel for Websockets
30:47
World’s strongest WOMAN vs regular GIRLS
00:56
A4
Рет қаралды 46 МЛН
ТЫ В ДЕТСТВЕ КОГДА ВЫПАЛ ЗУБ😂#shorts
00:59
BATEK_OFFICIAL
Рет қаралды 4,1 МЛН
Who's spending her birthday with Harley Quinn on halloween?#Harley Quinn #joker
01:00
Harley Quinn with the Joker
Рет қаралды 27 МЛН
Websockets in Laravel: Part 0 - What are Websockets?
14:28
DevMarketer
Рет қаралды 37 М.
Why is Laravel NOT used in Big Development Projects?
11:53
Stefan Mischook
Рет қаралды 183 М.
Websockets in Laravel - Part 2: Setting up Comments API & AJAX
47:24
Ep52 - Laravel Websocket: Sending Realtime Data With RPC
13:32
Getting Started with Laravel Reverb
10:44
Laravel
Рет қаралды 34 М.