Re: New function proposal: spl_class_vars / params / contents
| From: | Roman Borschel | Date: | Wed, 21 Jan 2009 15:32:15 +0000 |
| Subject: | Re: New function proposal: spl_class_vars / params / contents | ||
| References: | 1 2 3 4 5 6 7 8 9 10 11 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-42751@lists.php.net to get a copy of this message | ||
On Jan 21, 2009, at 4:20 PM, Christian Schneider wrote:
Nathan Rixham wrote:Yes, everyone and their brother has already developed an "ORM". I hope you're not talking about ActiveRecord stuff. Would you mind sharing (off-list) how you get data in and out of the objects **transparently** (i cant highlight that enough), i.e. without forcing the developer of some class to reveal all the properties that have persistent state to the public API (via public properties or getter/setters)? Take a look beyond the php pond at other platforms and languages to see how popular and important the idea of *transparent* ORM persistence tools has become and guess what? They're almost all making intensive use of reflection to realize the "transparent" part. Cheers Romanseems to me that many of the new requests coming in, including my own stupid ones are because people want to build fast decent orm's in php -Having built an ORM system myself I can say that you don't need Reflection (or even other fancy features not yet in PHP) for this.