api.drupal.org — In this article, the developers of Drupal (a community and content management framework written in PHP) explain why they chose to not use PHP's object orientation features and show how you can write virtually object oriented code with plain simple functions.
Apr 12, 2006 View in Crawl 4
rfoosApr 13, 2006
Actually, it explains how OOP is used all over the place in drupal. If anything, this article is in favor of OOP. Very good article, very bad submission.
garraethApr 13, 2006
I'm glad someone finally figured out that OOP isn't the panacea that it's touted to be.
crazenApr 14, 2006
Lot more to OOP then "modules"
crazenApr 14, 2006
The "webmaster" of the millenium.
mattwestmApr 15, 2006
Object oriented programming is never good when you are using Visual Basic :-P
tableheadJun 27, 2006
I am the author of the geocities "OOP Criticism" site. As far as why it is on geocities, it is mostly because moving it will result in losing google ranking. As far as complaints about my OOP criticism style, the most important complaint is that there is no solid evidence that OOP is better, at least in the domain of custom biz apps. In open source thinking you put code up for inspection and scrutiny. Why not do the same with OOP claims, along with some realistic change scenarios? I want to see code being better, not yet more anecdotes about how OO cured cancer in your dog. The biggest problem with OOP is that it either depends on hierarchies, which don't change well to the real world, or the "navigational" structures that were discredited in 1970's. Adding function pointers to navigational structures didn't solve the original problems; they are still with us in OO's version of navigational. The Set Theory in relational makes for a better classification and variation management tool and relational offers more discipline and consistency than navigational. OOP is the GoTo of structuring.
tableheadJun 27, 2006
Re: "He even uses a common eye trick to make it look like OOP is "messy" by not using right angles when constructing a tree layout and then uses neat right angles for the procedural one."(Continued) As the author, I have no idea what you are talking about. I don't have any procedural tree diagrams next to OOP tree diagrams that I know of. I deny any purposeful manipulation of diagrams to make OOP look artificially bad.
nyjtDec 28, 2007
Good article. Drupal is object oriented, but not use classes, only use functions. :) Great!!