News Feed
Sections




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

Lars Strogny:
The state of meta programming in PHP
December 03, 2012 @ 09:03:29

Lars Strojny has written up a new post about the current state of metaprogramming (software that writes other software) and how it sits in today's PHP functionality including some current features to make it happen.

Metaprogramming is quite an interesting sub-discipline and knowing about certain techniques and tools allows you to cut corners quite dramatically for certain tasks. As always, don't overdo but to find out when you are overdoing, first start doing, get excited, overdo, find out the right dose. Let's have a look at what kind of tools you have available in PHP to solve typical meta programming problems.

He starts by defining what kinds of things metaprogramming can and can't do (like type introspection, lower level syntax inspection and metadata management) and gets into what you can use in/with PHP for each. He mentions several tools, some internal to PHP - like the Reflection API and the Tokenizer extension - as well as external projects like the PHP-Parser, doctrine-common package.

0 comments voice your opinion now!
metaprogramming language tools extension library


blog comments powered by Disqus

Similar Posts

CiteWorld.com: Facebook's Hack language a silver bullet for user-developers

Gonzalo Ayuso's Blog: New features in PHP5.4 alpha1

Stefan Esser's Blog: Suhosin Extension 0.9.17 released

Johannes Schlüter: PHP 5.5 is out, what's up with 5.4 and 5.3?

SitePoint PHP Blog: Automate PHP with Phake Real World Examples


Community Events

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


install release application conference api interview podcast language laravel opinion library example framework symfony2 series php7 community configure introduction performance

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