Hi! Please consider following me on twitter: @hanekomu.

Hook::Modular 0.01

I've released the first alpha version of Hook::Modular.

Hook::Modular makes writing pluggable applications easy. Use a config file to specify which plugins you want and to pass options to those plugins. The program to support those plugin then subclasses Hook::Modular and bootstraps itself. This causes the plugins to be loaded and registered. This gives each plugin the chance to register callbacks for any or all hooks the program offers. The program then runs the hooks in the order it desires. Each time a hook is run, all the callbacks the plugins have registered with this particular hook are run in order.

The code is almost completely lifted from Plagger, so really Tatsuhiko Miyagawa deserves most of the credit.

Write a comment | Bookmark and Share

posted at: 21:55 | path: /dev | permalink | 0 comments | 0 trackbacks

Comments are closed for this story.

Trackbacks are closed for this story.