Re: Thoughts on comments package

Ted Leung <[email protected]>
Newsgroups gmane.comp.web.pyblosxom.user
Message-ID <[email protected]>
On Feb 13, 2004, at 7:21 AM, will guaraldi wrote:

> All of that can be done with the existing Pyblosxom framework without 
> any
> problems (you'd implement a renderer for the xmlrpc output).  We could
> make it more efficient (Ted mentioned that it's kind of silly to have a
> trackback error go all the way through the Pyblosxom pipeline) by
> implementing a handle callback which would get called before the 
> pathinfo
> callback.  The handle callback would call all the functions registered 
> and
> ask them if they want to handle the request (i.e.  processing the 
> request
> all the way through producing output).  If they handle it, they return 
> 1
> and we're done.  We move the existing blosxom processing to a
> handleBlosxomProcessing callback.
>

Sounds to me like you're planning to change the framework (add new 
callbacks).
But I'm curious to see how it comes out.

> My first blush examination is that this is easy to implement.  I was
> planning on putting this together and taking it through its paces to 
> see
> how easy it is to implement.
>

I thought about this some more, and it's probably not too bad.  Before 
you
do this, could you check in the current version of the xmlrpc stuff you 
are
working on?

>
> The thing I dislike about Pyblosxom right now is that for a user to 
> add a
> plugin, there's 1) no standard way to let the user know what 
> configuration
> changes they need to make, and 2) no good way of letting the user know
> that the plugin is misconfigured.
>

In general, we don't do well with errors that happen inside the system. 
  It
was 9 days before I realized that autoping was still broken.  I'm 
thinking of
hacking cgitb to use a logger -- that way we could log those traces more
flexibly.


> I think that problem needs to get solved by 1.0--even if it's a 
> business
> process change as opposed to a code change.
>

I agree
----
Ted Leung                          Blog: http://www.sauria.com/blog
PGP Fingerprint: 1003 7870 251F FA71 A59A  CEE3 BEBA 2B87 F5FC 4B42



-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.