Podcast: Under PHP’s Hood
The folks over at iBuildings recently put up an mp3 version of Johannes Schlüter’s talk “Under PHP’s Hood”. It was recorded at the Dutch PHP Conference 2010. Schlüter describes how common PHP operations are actually executed in the Zend Engine and the performance impact each has. He covers:
- How your PHP script is run: compilation, opcodes, zend engine
- How objects and arrays are stored: hashtables, refcount
- include vs include_once vs require vs require_once
- References (and why you shouldn’t use them in PHP5)
- Garbage collection in PHP 5.3+
Optimizing a Kohana Based Website
A question about increasing the speed and scalability of a Kohana powered website was recently asked on Stackoverflow. User Pascal Martin replied with an incredibly detailed response on the different techniques available to speed up PHP powered websites. In his answer he goes into detail about using a reverse proxy, an opcode cache and implementing data caching in the application. He then explains how to profile your application using xdebug and how to view and interpret the results from that. If you run a PHP powered website (doesn’t necessarily have to run Kohana) then I highly recommend you read this answer.
Initializr is a simple tool to help you getting started with an HTML5 project. It is built on HTML5 Boilerplate, a powerful HTML5 template created by Paul Irish and Divya Manian. Initializr will generate for you a clean customizable template based on Boilerplate with just what you need to start.