On Mon, Jun 16, 2008 at 5:51 AM, Jon Gilkison <[EMAIL PROTECTED]> wrote: > I wrote a class that allows you to do metadata programming in PHP > (attributes in C#/annotations in Java). You can fetch the code and the > post: http://interfacelab.com/metadataattributes-in-php/
Interesting idea, what types of attributes do you define? I like the concept of the ObsoleteAttribute in .net and think this would be one area where I would use that in PHP. Since I've never defined a custom attribute in .NET, and only modified a custome attribute class once, I can live without them just fine without them in PHP for most purposes. If I have to inherit a class instead of decorating functions with attributes, to create a web service so be it. _______________________________________________ New York PHP Community Talk Mailing List http://lists.nyphp.org/mailman/listinfo/talk NYPHPCon 2006 Presentations Online http://www.nyphpcon.com Show Your Participation in New York PHP http://www.nyphp.org/show_participation.php
