Reactive Programming helps
us write code that is concise, clear, and readable. Combining the power
of reactive programming and PHP, one of the most widely used languages,
will enable you to create web applications more pragmatically. PHP
Reactive Programming will teach you the benefits of reactive programming
via real-world examples with a hands-on approach. Reactive programming
goes hand in hand with asynchronous programming; we’ll work a lot with
event loops, blocking and non-blocking code, sub processes and IPC.We
start with introducing PHP streams and event loop. We’ll also introduce
the concept of higher-order Observables as a more advanced functionality
of Rx. Moving on to more interesting aspects; you will implement a web
socket backend by developing a browser game. You will learn to implement
quite complex reactive systems while avoiding pitfalls such as circular
dependencies by moving the RxJS logic from the frontend to the backend.
The video will then focus on writing extendable RxPHP code by
developing a code testing tool and also cover Using RxPHP on both the
server and client side of the application. With a concluding video on
reactive programming practices, this video will serve as a complete
guide for you to start writing reactive applications in PHP.
About The Author
Martin Sikora has been professionally programming since 2006 for companies such as Miton CZ, Symbio Digital, and PRIA in various languages, mostly PHP and TypeScript. Since 2017, he's freelancing, trying to work on open source projects in TypeScript, PHP, Dart, C, and Python. He's been actively contributing to RxPHP and RxJS 5 on both Github and Stack Overflow. He is a Zend certified engineer and was a member of the winning team during Google Dart Hackathon 2012 in Prague. His first publication was Dart Essentials, by Packt, published in May 2015.