News Feed
Sections




News Archive
Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

php|architect:
Analysis Following Ruby Makes PHP Number Two
September 24, 2010 @ 10:13:04

On the php|architect blog today Bill Karwin has posted his response to this interesting suggestion from Dennis Hoston about how to "reinvent" object-oriented programming in PHP.

Dennis acknowledges that the name needs work. But, getting past that, his blog is about some creative experiments Dennis is working on. He has come up with a pretty innovative way of creating objects dynamically in PHP that allows for some usage that conventional PHP coding techniques don't support.

He talks about some of the features that this method allows that the usual style of OOP don't allow like class scoping, methods can be added at any times and that the classes created can be temporary. He points out that the base object is actually a factory and makes it simple to create those other instances of child objects. He also mentions some of the features that will no longer work with Deniss' approach like interfaces, instanceof, reflection and autoloading to name a few.

0 comments voice your opinion now!
oop reinvent response dennishoston phpoopr


blog comments powered by Disqus

Similar Posts

Chris Justus' Blog: 4 Reasons Java Will Outlive PHP (My interview with IEEE...)

Timothy Boronczyk's Blog: What's Wrong with OOP

Anthony Ferrara: Beyond Inheritance

DZone.com: Refactoring away from spaghetti PHP

Derick Rethans\' Blog: Debugging Protocol Shoot-out (Part 2)


Community Events

Don't see your event here?
Let us know!


laravel development voicesoftheelephpant opinion api community wordpress framework podcast threedevsandamaybe language unittest interview feature library release series introduction laravel5 extension

All content copyright, 2015 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework