Re: New function proposal: spl_class_vars / params / contents

From: Date: Wed, 21 Jan 2009 15:25:54 +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-42750@lists.php.net to get a copy of this message
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. Maybe you are trying to use a hammer when the problem is not a nail, - Chris
likewise didn't use reflection myself when interfaces and class architecture can be used; but there is the whole persist objects that don't extend or implement you're own classes/interfaces thing - hence the possible reflection need (to get the private/protected properties) depends on the design approach I guess

« previous php.internals (#42750) next »