durusmail: qp: Subclassing Site thoughts.
Subclassing Site thoughts.
2006-06-27
2006-06-27
2006-06-27
2006-06-27
2006-06-27
2006-06-27
2006-06-28
2006-06-28
2006-06-27
2006-06-27
2006-06-28
Subclassing Site thoughts.
Peter Wilkinson
2006-06-27
Thank David,

The already changed pieces are excellent.

On 28/06/2006, at 6:23 AM, David Binger wrote:

> Your publisher can implement the customized part.

Perfect.

>
> ---
>
> It would be possible to do the same in Site.start_durus().
> I'll think about it more.
>
> I'm not all that hot on customized run_web() or start_durus() because
> it makes the core qp code a little bit more complicated and opens
> the door for customizations that won't work.  I feel like it
> sets a bit of a trap for future users.  I know, though, that
> you're not the only one with these ambitions, so maybe it is
> better for me to adjust to that.

The change to Durus start up doesn't worry me quite so much, it's a
much bigger deal in terms of risk of screwing things up than changing
the web runner so having to think more about doing that doesn't
really hurt. The code duplicated is not complex, mainly just a copy
and paste, basically all I change is the call to FileStorage to our
local SQLiteStorage plus a few other bits and pieces.

Peter W


reply