[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[cgiapp] Re: register_hooks() proposal


Tony,

Thanks for your thoughtful response. Some comments below.

On 2004-09-29, Tony Fraser <suppressed> wrote:
>
> I've been pondering this for a while now and I have come to two
> conclusions:
>
> 1. Making DONTCARE a synonym for MIDDLE is a very good idea. I think
> that DONTCARE is more meaningful in a lot of ways but I don't think we
> should drop MIDDLE. Maybe consistently use DONTCARE in the docs and just
> leave MIDDLE in the code for people that are familiar with Apache. Maybe
> make a small note about it being synonym in the docs but that's it.

I agree this a great way to handle it.

> 2. We should leave REALLY_FIRST and REALLY_LAST in the code and maybe
> make a small note about it in the docs but don't make a big deal about
> using them. There are perfectly good reasons for using them, they should
> be used sparingly though. Maybe like MT does with priority 0 and 11 we
> should throw an error if more that one callback is registered to them.

I agree these are fine to leave in with the caveats you mention:
	1. mention the minimally in the docs
	2. throw an error if more than one thing tries to register there. 

	Mark


---------------------------------------------------------------------
Web Archive:  http://www.mail-archive.com/suppressed/
              http://marc.theaimsgroup.com/?l=cgiapp&r=1&w=2
To unsubscribe, e-mail: suppressed
For additional commands, e-mail: suppressed


Mail converted by mhonarc 2.6.15
This archive provided courtesy of JSW4.NET, Internet Hosting Services for Small Business.