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

David Sklar's Blog:
Metaprogramming @ NYPHPCon 2006
Jun 15, 2006 @ 13:27:22

David Sklar has posted the slides and sample code from his talk at the New York PHP Conference given earlier today. He covered "Metaprogramming with PHP".

Metaprogramming is a handy approach for object-relational mapping tools, web-programming frameworks, and other problem domains where building a new programming language on top of an old one becomes the shortest route to a solution.

PHP's 'solve the web problem' aesthetic makes some metaprogramming tasks difficult, but it nevertheless has a large collection of features that let you programmatically tweak syntax, style, and other coding aspects.

His talk looks at various methods to help you get started, including working with the "magic methods" and SPL interfaces.

tagged: talk new york conference slides sample nyphpcon2006 talk new york conference slides sample nyphpcon2006

Link: