News Feed
Sections




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

Joshua Thompson's Blog:
A Plugabble Preprocessor For PHP
September 02, 2008 @ 09:34:31

Joshua Thompson, inspired by another blog post on a use for the PHP tokenizer, has started off on a new project to expand on one of the examples - a preprocessor.

It makes a lot of sense for the library developer. They could easily create multiple versions of their code depending on PHP version, target platform, backend database, etc. So I started working on my own implementation of a preprocessor with the goal of making it easy to add plugins for additional functionality. It was during the construction of the core of the preprocessor, that it hit me: why can't we implement new language features in the preprocessor.

As a result, he's created his first version of PPP - PPP PHP PreProcessor (yes, recursive). It's a starting point that has a plugin for traits handling and a soon to come plugin to reduce the need for namespaces.

0 comments voice your opinion now!
pluggable tokenizer preprocessor ppp download project


blog comments powered by Disqus

Similar Posts

Zend Developer Zone: Using Zend_Tool to start up your ZF Project

Sandro Groganz's Blog: Saving CMS Consultants from Being Beaten Up

Paul Jones' Blog: "Organizing Your PHP Project" Slides Available

Zend Developer Zone: The ZendCon Sessions Episode 6: Project Management Methods to Maintain IT Stand

Zend Developer Zone: Junction -- a new persistance layer for PHP 5


Community Events





Don't see your event here?
Let us know!


deployment podcast opinion unittest api library voicesoftheelephpant framework laravel bugfix interview install language community symfony introduction package series zendserver release

All content copyright, 2014 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework