Bohuslav Šimek

Bohuslav Šimek works as a lead programmer at PeoplePath, where he is primarily responsible for the underlying architecture. In his free time, he is trying to apply Atwood’s Law to PHP. This fruitless effort can be summarized with the following words: “Any application that can be written in PHP, will eventually be written in PHP.”

Articles

Implementing the MySQL Protocol in Pure PHP: Are You Ready to Dive Deep?

By Bohuslav Šimek

The MySQL protocol underpins seamless communication between applications and databases, yet its inner workings often remain hidden behind libraries like PDO or MySQLi. This article embarks on a journey to implement the MySQL protocol in pure PHP, offering an in-depth look at packet structures, authentication flows, and query execution. Whether for learning, innovation, or debugging, this exploration reveals the unseen architecture powering MySQL/MariaDB. by Bohuslav Šimek

Published in Cranking PHPStan to 10, January 2025

A Guide to Practical Usage of PHP FFI

By Bohuslav Šimek

In this article, practical examples will teach you how to communicate with external libraries using PHP FFI. Together, we will navigate common challenges and explore the rising star of the database world, DuckDB. by Bohuslav Šimek

Published in Box of PHP, March 2023