Re: Patch for simple walk caching

Bill Mill <[email protected]>
Newsgroups gmane.comp.web.pyblosxom.devel
Message-ID <[email protected]>
On Tue, 7 Dec 2004 11:29:06 -0600 (CST), will guaraldi
<[email protected]> wrote:
> 
> It's not a script--it's a function in the tools module.  It's definitely
> there, so I'm not sure why you can't see it.
> 

I see the function itself, but I don't see any script which calls the function.

> I'm saying the infrastructure is there for static rendering instead of
> building a filelist cache.  You'd have to wrap the existing functionality
> in a plugin that would see the pathinfo, figure out if it's been rendered
> already, and return the rendering if it has.  If it hasn't been rendered
> already, then it would render and store the rendering to disk.
> 

and I'm saying that my filelist cache can possibly achieve similar
functionality, without requiring alterations, to most plugins that
exist already. If it works, and it's simpler, that's good right?

> I'm not saying you have to do it this way--it's your plugin.  I'm just
> saying that I wrote code that currently exists in PyBlosxom that does
> something very similar to the problems you're trying to solve, though it
> does it in a different manner.
> 

Well, first off, it's not a plugin - it's a modification to pyblosxom
itself. I appreciate that you did some work on it already; I just
think that my change might make plugin development simpler - you
wouldn't have to worry about people who use static rendering unless
your plugin used the cb_filelist or cb_pathinfo callbacks.

> There aren't tests for anything in pyblosxom.  I'm pretty sure it works
> because I use those functions for static rendering and other folks say
> static rendering is working pretty well for them.  (shrug)
> 

What plugins use update_static_entry? Are there some in the plugins
registry which do? I just wanted to see an example of it in action
without having to write my own.

I'm really sorry if I came off as attacking you, that wasn't at all
what I meant. I have a tendency to sound that way when I'm excited, so
I apologize in advance. I just think that we need to find a way to
make this work.

Peace
Bill Mill
bill.mill at gmail.com


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
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.