•  

Real-time Dashboards With Async PHP

A session at Lone Star PHP 2017

Thursday 20th April, 2017

1:00pm to 4:00pm (CST)

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.

About the speaker

This person is speaking at this event.
Daniel LaBarge

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

Tell your friends!

When

Time 1:00pm4:00pm CST

Date Thu 20th April 2017

Short URL

lanyrd.com/sfqdzp

Official event site

lonestarphp.com

View the schedule

Share

See something wrong?

Report an issue with this session