On Jan 21, 2009, at 4:20 PM, Christian Schneider wrote:

Nathan Rixham wrote:
seems 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.

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

Roman

--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to