Derick Rethans is a PHP internals expert, author of Xdebug and an OpenStreetMap and mapping enthusiast. He has contributed in a number of ways to the PHP project, including the Xdebug debugging tool, and various extensions and additions. He's a frequent lecturer at conferences, the author of php|architect's Guide to Date and Time Programming, and the co-author of PHP 5 Power Programming. He is now working at MongoDB to work on the PHP driver for MongoDB.
Saturday 3rd October 10.45 - 11.35
In this talk, I am explaining how we went from supporting a legacy driver for one language engine (PHP) to an architecture where multiple language engines are supported. This is the tale of the new MongoDB driver for PHP and HHVM. We started off with one massively complex (and legacy) driver. The goal was an easy to maintain extension. In our case that became a joint venture between core drivers (in C/C++), and a user-land supporting library in PHP. Because there are now other engines that run PHP, such as HHVM and PHP 7, the only real work that needs to be done for porting to a new engine is the basic core driver. This talk explains the choices, considerations and issues that we ran into while developing the driver to work with multiple engines; and our first steps supporting Facebook's HHVM.