Handlers

Drupal needs a good, standardized mechanism for vertical extensibility to complement its horizontal extensibility via hooks. That is the goal of handlers, which leverage object-oriented techniques to solve problems that are well-suited to object-orientation.

Please be sure to read the background postings linked in the first post of the core issue.

mfer's picture

Resurrection?

Someone please correct me if I'm wrong but, is the handlers effort dead? Do we need to resurrect it?

This group hasn't had a posting in over a month and it's been 6 weeks since the last update to the issue. What's holding up work on this? Do we need a sprint ;-)?

Login to post comments
Chris Charlton's picture

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...
   
}
  }
?>

1 comment
Crell's picture

DrupalCon DC battle plans

So I am late in getting this posted, but there was a very productive BoF at DrupalCon DC about Handlers that has somewhat changed the intended approach. I will try to summarize what we decided here.

8 comments · Read more
Syndicate content