PHP Extending/Embedding Tutorial
Marcus Börger, Google
Date: Monday, July 23
Time: 8:30am - 12:00pm
Built on a foundation of providing the glue to bring disparate areas of the software world together, PHP has seen a rapid growth in the availability of extensions and libraries that define that glue and bring the power of rapid prototyping to the world of web scripting and beyond. Unfortunately, from time to time, developers are faced with a legacy system or proprietary interface for which no extensions yet exist. This is where our adventure begins.
Although PHP has been designed from the ground-up to make interfacing to external code as easy as possible, the API itself can be dauntingly extensive. This forces the new extension developer to embrace multiple layers of reference counting, memory management, and life-cycle timing to a degree beyond that which is required by more traditional standalone applications.
Join PHP core developers Marcus Boerger, Wez Furlong, and Sara Golemon in a fast-paced exploration of the PHP API from simple module loading to complex data types, persistent resource management, and a sneak peak at the quickly evolving world of PHP6. After building an example extension, the model will be turned on its head as we identify other applications and extend them to support embedded PHP interpreters. You'll see how, by adding a few short blocks of code, most any application can gain the power and flexibility that comes with support for custom scripting.
So come early, stay late, and bring a healthy curiosity along with a strong background in C. We'll see you there.