Blog
How To Speed Up The Code Review
29 Dec 2018

How does the code review process look? You submit a request, then receive feedback, make some fixes, push them, then receive approval and the request is being merged. Sounds nice, right? But sometimes the review process can become really painful....
READ MOREManaging Concurrency: From Promises to Coroutines
26 Oct 2018

What does concurrency mean? To put it simply, concurrency means the execution of multiple tasks over a period of time. PHP runs in a single thread, which means that at any given moment there is only one bit of PHP...
READ MOREFast Web Scraping With ReactPHP: Download All Images From a Website
31 Aug 2018

Web scraping relies on the HTML structure of the page, and thus cannot be completely stable. When HTML structure changes the scraper may become broken. Keep this in mind when reading this article. At the moment when you are reading...
READ MOREPHP Roundtable 76: Concurrency, Generators & Coroutines - Oh My!
26 Jul 2018

Today was my first experience of being a guest on the podcast. Really excited about it! We had a very interesting discussion about asynchronous PHP, generators, and coroutines.
READ MOREFast Web Scraping With ReactPHP. Part 3: Using Proxy
20 Jun 2018

Web scraping relies on the HTML structure of the page, and thus cannot be completely stable. When HTML structure changes the scraper may become broken. Keep this in mind when reading this article. At the moment when you are reading...
READ MORESending Email Asynchronously With ReactPHP Child Processes
04 May 2018

Introduction In PHP the most of libraries and native functions are blocking and thus they block an event-loop. For example, each time we make a database query with PDO, or check a file with file_exists() our asynchronous application is being...
READ MOREFast Web Scraping With ReactPHP. Part 2: Throttling Requests
19 Mar 2018

Web scraping relies on the HTML structure of the page, and thus cannot be completely stable. When HTML structure changes the scraper may become broken. Keep this in mind when reading this article. At the moment when you are reading...
READ MOREUsing Router With ReactPHP Http Component
13 Mar 2018

Router defines the way your application responds to a client request to a specific endpoint which is defined by URI (or path) and a specific HTTP request method (GET, POST, etc.). With ReactPHP Http component we can create an asynchronous...
READ MOREWorking With FileSystem In ReactPHP
27 Feb 2018

I/O operations in the filesystem are often very slow, compared with CPU calculations. In an asynchronous PHP application this means that every time we access the filesystem even with a simple fopen() call, the event loop is being blocked. All...
READ MOREAmp Promises: From Generators To Coroutines
15 Feb 2018

Generators Generators become available in PHP since version 5.5.0. The main idea is to provide a simple way to create iterators but without creating a class that implements Iterator interface. A generator function looks like a normal function, except that...
READ MOREFast Web Scraping With ReactPHP
12 Feb 2018

Video Web scraping relies on the HTML structure of the page, and thus cannot be completely stable. When HTML structure changes the scraper may become broken. Keep this in mind when reading this article. At the moment when you are...
READ MOREAsynchronous PHP: Why?
02 Feb 2018

Video What is ReactPHP Asynchronous programming is on demand today. Especially in web-development where responsiveness of the application plays a huge role. No one wants to waste their time and to wait for a freezing application, while you are performing...
READ MOREDoes Static Factory Violate Open/Closed Principle?
25 Jan 2018

Consider an application that provides some statistics reports. Reports are present in different formats: JSON for API, HTML for viewing in a browser and pdf for printing on the paper. It has StatisticsController that receives a required format from the...
READ MOREIntroduction To Amp Event Loop
19 Jan 2018

Event Loop All asynchronous magic would be impossible without Even loop. It is the core of any asynchronous application. We register events and handlers for them. When an event is fired the event loop triggers an appropriate handler. This allows...
READ MOREManaging ReactPHP Promises
16 Jan 2018

Asynchronous application is always a composition of independently executing things. In concurrency, we are dealing with a lot of different things at once. You can compare it with I\O driver in your OS (mouse, keyboard, display). They all are managed...
READ MORERECENT POSTS
- How To Speed Up The Code Review
- Managing Concurrency: From Promises to Coroutines
- Fast Web Scraping With ReactPHP: Download All Images From a Website
- PHP Roundtable 76: Concurrency, Generators & Coroutines - Oh My!
- Fast Web Scraping With ReactPHP. Part 3: Using Proxy
- Sending Email Asynchronously With ReactPHP Child Processes
- Fast Web Scraping With ReactPHP. Part 2: Throttling Requests
- Using Router With ReactPHP Http Component
- Working With FileSystem In ReactPHP
- Amp Promises: From Generators To Coroutines
- Fast Web Scraping With ReactPHP
- Asynchronous PHP: Why?
- Does Static Factory Violate Open/Closed Principle?
- Introduction To Amp Event Loop
- Managing ReactPHP Promises
- Test Coverage: Integration Between CodeClimate and Travis CI
- ReactPHP HTTP Server Middleware
- ReactPHP PromiseStream: From Promise To Stream And Vice Versa
- Building ReactPHP Memcached Client: Unit-Testing Promises
- Building ReactPHP Memcached Client: Emitting Events