Swoole PHP: Creating a WebSocket Server | Dev Days

Published: 03 June 2021
on channel: Dias de Dev
19,872
1.1k

It's a very common question: How to create a #WebSocket server with PHP? In this video, we'll use #Swoole, a PHP extension, to create a WebSocket server in a very simple and easy way.

We've already learned how to create a WebSocket client in this video:    • Comunicação em Tempo Real com WebSockets |...  

If you want to deepen your knowledge of Swoole, it's worth reading this book:

https://amzn.to/3vRGauM

There are other materials available to study about WebSockets as well. Here are a few:

https://amzn.to/2RiTWHG
https://amzn.to/3peXG9s
https://www.alura.com.br/curso-online...

(0:00) - Introduction
(1:35) - WebSocket client review
(3:28) - Creating a server with Swoole
(4:36) - Reacting to messages
(7:23) - Seeing it in practice
(7:44) - Considerations about Swoole
(8:21) - Code review
(9:00) - Conclusion

----------------------------------

For more content on programming best practices, testing, software architecture and everything good, don't forget to subscribe and activate the bell to receive notifications.

To get in touch:

Telegram: https://t.me/diasdedev
Twitter:   / cviniciussdias  
LinkedIn:   / cviniciussdias  
GitHub: https://github.com/CViniciusSDias/


On this page of the site you can watch the video online Swoole PHP: Creating a WebSocket Server | Dev Days with a duration of hours minute second in good quality, which was uploaded by the user Dias de Dev 03 June 2021, share the link with friends and acquaintances, this video has already been watched 19,872 times on youtube and it was liked by 1.1 thousand viewers. Enjoy your viewing!