Drupal as Open Architecture

Wish I had seen this in August after OSCON, but it really strikes a chord. I’ve been a Drupal dev for a long time, and have recently been focusing on the newer “agile frameworks” in Python and Ruby, and I’ve found the same shortcoming: there is no component architecture, at least not on the level of Drupal with its myriad callback hooks and “monkey patching” facilities. I’ve been ruminating on the idea of following the Drupal architecture to build a similar framework on top of WSGI. It would be lovely to make something that can use all of the existing (WSGI) components generically but provide a cohesive platform allowing components which specifically address it (by following template conventions etc) to effortlessly integrate.