Note: This should be considered part 2 of a series. The talk "Reacting: Event Driven Programming" covers core concepts in understanding the fundamentals underneath WebSockets.
With asynchronous programming now under your belt we're going to cover a very fun and practical application of network programming: WebSockets! WebSockets are a technology that allow 2-way real-time communication between web browsers and servers. It's 2013, let's do push notifications on the web already!
WebSockets were a feature introduced under the HTML5 umbrella but for developers the majority (and hardest part) of the work involved in implementation is done on the server side.
You will learn what WebSockets are and how they work, their shortcomings and pitfalls, and how to (mostly) overcome them. After some fundamentals you'll be introduced to Ratchet, the PHP WebSocket library, as well as how to incorporate your PHP sync-stack architecture with another language/utility to use WebSockets in your application.
Finally we'll circle back to the browser and discuss consumption, browser issues/fixes, and messaging protocols.
Смотрите видео WebSockets! With Chris Boden онлайн без регистрации, длительностью часов минут секунд в хорошем качестве. Это видео добавил пользователь PHP User Group 02 Октябрь 2014, не забудьте поделиться им ссылкой с друзьями и знакомыми, на нашем сайте его посмотрели 22,289 раз и оно понравилось like людям.