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.
Watch video WebSockets! With Chris Boden online without registration, duration hours minute second in high quality. This video was added by user PHP User Group 02 October 2014, don't forget to share it with your friends and acquaintances, it has been viewed on our site 22,289 once and liked it like people.