React.js continues to be the most popular frontend framework, by a wide margin, in the JavaScript ecosystem today, and for good reason: React offers a declarative, component-oriented approach to building highly-scalable web UIs. But how can we take advantage of a JavaScript library like React in our server-side PHP applications?

In this talk I’ll cover the different ways React.js can be integrated into an existing PHP web application: from a client-side only approach to multiple techniques that support full server-side rendering with a Node.js server or PHP’s v8js. I’ll also discuss the trade-offs in each of these designs and the challenges involved with adding React to a PHP site. Most importantly, I’ll consider the higher-level issue of how to improve view cohesion across the client-server divide in a PHP application.


Comments are closed.