OOP
Should we stop the further development of Drupal and start a fork in OOP?
Yes
20% (1 vote)
No - the basic concepts are good, but we should change to OOP in the later future
40% (2 votes)
No - the basic concepts are good, but we should change to OOP immediately
40% (2 votes)
Total votes: 5
DrOOPal
I'd recommend folks look at a project called DrOOPal, by our LA Drupal member Brendon Crawford.
Project page: http://drupal.org/project/droopal
Documentation: http://drupal.org/node/304775
Example of writing custom modules using OOP structures:
<?php
class ModMyModule {
// hook_menu
function menu() {
//etc...
}
// hook_nodeapi
function nodeapi() {
//etc...
}
}
?>What if FAPI were OO?
Earl wrote a great article about the form API and OOP in march 2007.
http://www.angrydonuts.com/what_if_fapi_were_oo


