As people carry out more of their daily interactions online, giving them the best experience possible is our key focus as web software engineers. One way we can do that is providing views which can update dynamically as information changes - train times that adapt to delays without a page refresh, new comments on social media items engaging users by appearing in real time, bids on ecommerce websites updating as the market changes. It’s not just chat apps that can benefit from real time components.

Websockets allows a persistent 2-way connection between client and server that you can use to adapt faster to changing data. WebRTC provides a universal API for two browsers to establish a direct link, no servers involved (sort of ) to stream audio, video or files direct.

In the talk we’ll walk through where these real time services come from, and what you can use them for. We’ll look at client and server side APIs, including the popular PHP event library React and PHP Websocket client Ratchet. We’ll drill into the difference between 2-way interactions and existing so-called dynamic web technologies like AJAX, and explore how real-time event based protocols could take on a lot of what we presume only HTTP can do. Finally we’ll see some common pitfalls when integrating both Websockets and WebRTC into your own applications, including monitoring, logging and 3rd party tools.

Comments

Comments are closed.

Very intresting, clear explanation on the topic. Thanks for it!
but it was a bit too dense and you speak a bit too fast for me. But explaining theses two topics (webrtc and websocket) so clearly that's was really good!

Tobias Nyholm at 11:48 on 8 Jun 2019

I knew nothing about websockets when I entered the room. Now I’m confident enough to start implementing this myself.

Thank you.

Dennis C. at 13:18 on 8 Jun 2019

Very informative, some jokes to keep it light and a good speed!

Very interesting, fast and furious, fun!
Very motivated to start hacking with those technologies after the conference!

Rob Smeets at 17:11 on 11 Jun 2019

~