Thursday 20th April, 2017
1:00pm to 4:00pm
When having the critical information available in an instant, businesses look to develop real-time dashboards and data streams. You’ve heard of websockets and everyone knows there is Socket.io and Node.js but what if you could do it all in PHP? In Real-Time Dashboards With Async PHP we demonstrate how to write an event loop and then create non-blocking code which can communicate bi-directionally with one or more connections. We will write up a responsive web interface that can provide real-time stats as a reactive dashboard. While an advanced topic, we will build up from the entry-level sparing no details or introducing any magic along the way. At the end we refactor utilizing a few abstractions which make our maintained codebase smaller and finally replace the plain-vanilla JS dashboard with a frontend view framework (Vue.js) to help with the client-side heavy-lifting. The result is a synchronous and asynchronous bridge that makes frontend and backend communicate as a seamless evented application.
I am an Artisan at @artisanscollab, a small team of dedicated artisans who work together to create meaningful solutions to business challenges. bio from Twitter
Sign in to add slides, notes or videos to this session