August 2009

Module Weight and Overriding Menu Items in Drupal 5

Module weights sometimes come into play when you’re trying to override certain aspects of the core or other modules. If you look in the Drupal database’s system table you’ll notice a field called weight - this is what determines the order in which all of the installed modules’ hooks will get called during a page request.

read more

A Growing Tension

If you haven’t listened to Lullabot Podcast No. 75 yet, go check it out. It’s an excellent discussion around the problem of how to distribute the cool and interesting things you’ve built with Drupal in a reusable way, or in such a way that those features can be bolted on to an existing web site.

I am not really involved at all with the day to day development of Drupal or debates over its future, but from some of the issues discussed on the podcast and some of the debates over UI I heard at Drupalcon DC, it seems like there’s a fundamential tension growing over whether Drupal is the web application itself, or just a set of APIs upon which you can build great web applications (and which happens to have a built-in CMS that you can’t turn off.)

In terms of reusable features, the current response you get when asking “Hey, is there a module to do X in Drupal?” is usually along the lines of, “Sure. You just have to install the Frobnosticator module, then create a Foo Profile with the Potrezebie module and configure a workflow so that the Fonebone action gets triggered by foo_nodeapi blah blah blah. It’s easy!”

The problem is that it’s not really easy if you’re not familiar with any of the modules involved in the recipe. Often times it seems like you spend so much time on the configuration and interaction of modules to achieve something only partially resembling the functionality you had in mind that you might have been better off writing a module from scratch that does exactly what you want, without the clunky overhead of half a dozen modules all sort of working together.

I’ll be following Features/Install Profiles/Distributions discussions with interest.

Syndicate content

Twitter

  • Nothing says "this crappy joke that's been forwarded 27 times is not nearly as funny as the subject line says" like Comic Sans. #fb 4 years 49 weeks ago
  • Ah, southwestern New Hampshire, where it's hard to tell whether or not a guy's mullet is ironic. #fb 4 years 50 weeks ago
  • Pancake making hack: put the syrup in The oven at 200F along w/pancakes to keep everything nice and hot. #fb 4 years 50 weeks ago
  • Just finished cooking one of those meals that somehow completely destroys the kitchen. I'll be more organized next time. #fb 4 years 51 weeks ago
  • I wish the TSA would get on with it and just ban passengers from flights altogether. That will make us all safe. 4 years 51 weeks ago

Older

Contact

Andy Chase
(978) 297-6402
andychase [at] gmail.com
GPG/PGP Public Key