Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

Sankuru Blog:
A pluggable compiler and virtual machine in PHP
Jan 10, 2012 @ 17:53:15

On the Sankuru blog today the next post in the series about creating a compiler in PHP has been posted. In this latest tutorial he shows how to set up a plugin architecture for the compiler that allows you to quickly and easily extend it beyond its base functionality.

A plugin architecture allows multiple developers to work on the same application and let yet another person assemble their work later on. It allows the plugin developer to understand just his plugin API without having to understand all the details of the entire application.

He describes a few platforms that already have the concept of plugins including Joomla, Mediawiki and SugarCRM. He explains what a plugin architecture should be and what it shouldn't be. All of this is his first steps towards building a plugin-enabled compiler and virtual machine in PHP.

tagged: compiler virtualmachine plugin architecture tutorial

Link:


Trending Topics: