Enhanced objects and reflection
Moderator: General Moderators
- Ollie Saunders
- DevNet Master
- Posts: 3179
- Joined: Tue May 24, 2005 6:01 pm
- Location: UK
Enhanced objects and reflection
Does anybody know of any libraries that provide a decent base object class or enhanced OO reflection features?
Re: Enhanced objects and reflection
"enhanced features" ? What is this vague Microsoft Marketing speak you talk of?
- Ollie Saunders
- DevNet Master
- Posts: 3179
- Joined: Tue May 24, 2005 6:01 pm
- Location: UK
Re: Enhanced objects and reflection
I'm not looking for anything specific. I mean enhanced in the sense of improved. I'm interested to see object-oriented attempts to improve PHP reflection. They only have to be improved in the opinion of the author.
- Christopher
- Site Administrator
- Posts: 13596
- Joined: Wed Aug 25, 2004 7:54 pm
- Location: New York, NY, US
Re: Enhanced objects and reflection
I'd need to get a little more detail about that "enhanced OO reflection features" means. Is there another language or library that has what you are thinking about?
How about this?
http://us2.php.net/reflection
How about this?
http://us2.php.net/reflection
(#10850)
- Ollie Saunders
- DevNet Master
- Posts: 3179
- Joined: Tue May 24, 2005 6:01 pm
- Location: UK
Re: Enhanced objects and reflection
I'm looking for libraries where the author has attempted to improve upon PHP's native reflection API (forget the OO bit, I think that's confusing things). I'm deliberately not specifying any implementation preference because I'm happy to accept any. I'm looking for ideas.
-
alex.barylski
- DevNet Evangelist
- Posts: 6267
- Joined: Tue Dec 21, 2004 5:00 pm
- Location: Winnipeg
Re: Enhanced objects and reflection
There are libraries that use reflection do some pretty things, like annotation, etc, but I know of none that actually extend the existing reflection classes to provide cooler, generic functionality. Annotation is pretty specific, but the sky is the limit if you have the imagination.
- Christopher
- Site Administrator
- Posts: 13596
- Joined: Wed Aug 25, 2004 7:54 pm
- Location: New York, NY, US
Re: Enhanced objects and reflection
My guess it that you are looking for something with a cleaner, more elegant interface. You can do just about anything with the PHP Reflection classes, but they are kitchen-sink of functionality.Ollie Saunders wrote:I'm looking for libraries where the author has attempted to improve upon PHP's native reflection API (forget the OO bit, I think that's confusing things). I'm deliberately not specifying any implementation preference because I'm happy to accept any. I'm looking for ideas.
(#10850)
Re: Enhanced objects and reflection
Improved in what way. You might be thinking of something more easy to use? A wrapper class?
ps: Reflection is already OO.
ps: Reflection is already OO.
- Ollie Saunders
- DevNet Master
- Posts: 3179
- Joined: Tue May 24, 2005 6:01 pm
- Location: UK
Re: Enhanced objects and reflection
Yes, this is what I mean.My guess it that you are looking for something with a cleaner, more elegant interface.