From: Furbo <fu...@si...> - 2003-08-28 19:15:51
|
Thursday, August 28, 2003, 2:22:37 PM, Andrei wrote: > I think that hooks as they are today, not really useful. I might be > wrong, but I have to see a meaningful implementation of them before I > would make a judgment. If we implement Content Utility Module, it would > be a snap to integrate improved hooks system you are talking about (we > will already have that universal content_id to work with). On the other > hand, IMHO, the biggest problem with hooks, as they are now, is that you > can't pass any arguments to it but item_id (well, you could but there is > no standards system, and there is no guarantee the it is not going to > fail if some incompatible argument is passed in). It is easier to > implement flags in module settings to turn some features (like sanitizer > for example) on or off and include if statement to call sanitizer API > function within a module where module developer thinks it is needed. Oh i agree hooks is only a concept idea right now.. in developemnt at best.. Just was an idea for the 'glue' to link things.. any common API for calling and loading util mods is good.. PLUS any work on things like this is good -- Furbo Computers are useless. They can only give you answers. -Pablo Picasso |