Realtime PHP using websockets

Websockets give real-time access to your PHP application, facilitating data transfer between the browser and the server. With the popularity of Javascript libraries like Node.js and Meteor, websockets are Hot Stuff™. But just because they’re popular with the Javascript crowd doesn’t mean PHP applications are left out in the cold.


In this talk, we will discuss some use cases for websockets as well as strategies for implementing websockets into your PHP application. We will look at the most popular websocket protocols and specifically an overview of the WAMP protocol (the protocol, not the stack - http://wamp-proto.org) and the PHP Ratchet library. Additionally, we’ll talk about WAMPv2 and Thruway. At the end of this talk, you’ll have a better sense of what websockets are, how they work, and how to use them in your application.

Slides: https://truedeveloper.co//wp-content/uploads/2016/08/The-websockets-awaken-1.pdf

Session Track

PHP

Experience level

Advanced

Drupal Version

N/A

Session Time Slot(s)

Time: 
04/26/2017 - 17:00 to 04/26/2017 - 18:00
Room: 
319 - Platform.sh