On Feb 15, 2008, at 10:43 AM, Akins, Brian wrote:

On 2/15/08 8:13 AM, "Plüm, Rüdiger, VF-Group" <[EMAIL PROTECTED] >
wrote:


Any specific reason why we need to add an hook here and why this cannot be done by the existing provider (interface). I am scared of adding another level of indirection here if it is not really needed and things can be already
done with the existing infrastructure.


I like hooks bcs providers are "one-shot." I use both, but find my self
using hooks more and more.

A good example is the discussion around having stacked providers in
mod_cache.  If it were a hook, you'd already have that...

Providers are good when you will have one, and only one, "thing" that needs to munge/manipulate/compute like database stuff. With the proxy stuff, it looks like we want "n" things to be able to manipulate the data. Once you
make the leap from 1 to 2, might as well make it a hook.

Not quite... there's nothing in providers, per se, that limit
how they are *used* to be oneshot... Just ask Brad and aaa :)

Reply via email to