Photo of Mike Lehan

Mike Lehan

Speaker Bio

Mike has been working in web application development using PHP for 10 years, including 4 years managing a development team for a property tech startup and before that 4 years building a real time application for managing operations at skydiving centres, as well as some time freelancing. Through working on business critical systems with real time elements Mike has learned the value of comprehensive logging & monitoring, redundant checks on applications & infrastructure, and of course well written testable code!

Workshop: Websockets calling: Building a Real-time application with PHP

Full day "deep dive" workshop Friday 12th April 2019

Websockets provides a way to have a persistent 2-way connection between your server and your client’s browser. This allows for more efficient communication than traditional front end mechanisms such as XHR or long polling, and allows for better web native applications as a result. Starting out with websockets in the browser has its complications, especially regarding how they can hook into your existing application.

The tutorial will cover the basics of websockets, and then move on to PHP workers and the React event library for PHP. Using these we can implement PHP clients as part of a websocket application, allowing your existing stack to communicate with a websocket server and your users in the browser. The tutorial requires no existing familiarity with websockets or event-based frameworks, though basic knowledge of JavaScript and a reasonable knowledge of OOP PHP and PHP via CLI are recommended.

Whilst the application will be generic there will be time to see how components could interact with your businesses existing projects, so you can deploy real time applications to benefit your users with minimal overhead.

Purchase for only £264