[PEAK] Sitemap driven error handling

Radek Kanovsky rk at dat.cz
Fri Jan 28 11:58:39 EST 2005


On Fri, Jan 28, 2005 at 05:30:34PM +0100, Radek Kanovsky wrote:

> On Thu, Jan 27, 2005 at 10:51:04AM -0500, Phillip J. Eby wrote:
> 
> > It's a nice idea; I may not want to incorporate it into the current
> > version, though, as the error handling will become a generic function
> > at some point and thus the registration mechanism for it might be
> > quite different than for a view.
> 
> I am voting for including some error handling configuration mechanism
> into sitemaps. Error handler registration is partly configuration act.
> Now we have .ini files and one or more sitemap.xml files in typical web
> application. Generic function predicates will become third configuration
> source. Controling error handler registration from sitemap is more
> convenient for me than writing predicates directly into .py files and
> dispersing configuration data to many sources.

I must mention that I am not against using generic function for error
handling and traversing. It is good idea. I have been surprised how GF
simplifies code sometimes.

RadekK



More information about the PEAK mailing list