Advanced Concepts of PHP Reactive Programming

Advanced Concepts of PHP Reactive Programming
Advanced Concepts of PHP Reactive Programming
English | MP4 | AVC 1920×1080 | AAC 48KHz 2ch | 1h 42m | 379 MB

Combining the power of reactive programming and PHP

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.

What You Will Learn

  • Get introduce to the PHP Streams API and event loops
  • Builds a chat manager, server and client as three separate processes that communicate with each other via Unix sockets
  • Learn the concept of multicasting in Rx and all the components that RxPHP
  • Introduce the Gearman framework as a way to distribute work among multiple processes
  • Take a look at advanced operator and techniques in RxPHP
Table of Contents

1 The Course Overview
2 Using Promises in PHP
3 PHP Streams API
4 Higher-Order Observable
5 Backpressure in Reactive Extensions
6 Implementing ProcessObsevable
7 Server Manager Application
8 Server Manager and the Unix Socket Server
9 Subject
10 Multicasting
11 Introduction to the PHP Parser Library
12 Introduction to Gearman
13 Different Types of Advanced Operator
14 Error Handling in RxPHPOperator Chains
15 The Observable::create() Method Versus the Subject Class
16 Call Stack Length and EventLoopScheduler
17 Unsubscribing Versus Completing an Observable
18 Anonymous Operators
19 Writing a Custom DirectoryIteratorObservable