Re: [RFC] Reflection annotations reader

From: Date: Wed, 09 Jan 2013 16:58:45 +0000
Subject: Re: [RFC] Reflection annotations reader
References: 1 2 3 4  Groups: php.internals 
Request: Send a blank email to internals+get-64763@lists.php.net to get a copy of this message
Hi! > @MyApp\Acl({ > "allow"=@MyApp\Acl\Allow({"john"="read", > "joe"="write"}), > "deny"=@OtherApp\Acl\Deny(default="*", log=true) > }) I seriously hope it never comes to this in PHP. We're supposed to be simple language for doing cool stuff on the web, not a serialization format for ORM metadata. If we can not make it simple and comprehensible, we better not do it at all (at least on the language level). There are plenty of ways to store metadata, not everything should be in the language syntax. -- Stanislav Malyshev, Software Architect SugarCRM: http://www.sugarcrm.com/ (408)454-6900 ext. 227

« previous php.internals (#64763) next »