[pmwiki-users] Custom views and pagelists not promptly updated

Peter Bowers pbowers at pobox.com
Sat May 2 16:12:48 CDT 2009


On Sat, May 2, 2009 at 7:42 PM, Olaf Marzocchi
<550242083288-0001 at t-online.de> wrote:
> Thanks, it works! But now let's speculate... is your solution faster,
> and/or stylistically better than the
>
> [[#titlesummaryen]]
> (:template each:)
> [[{=$FullName} | {=$:titleen}]]
> -> {=$:descriptionen} ({=$LastModified})
>
> I had found previously working?
> I would say it is perfectly equivalent, since both should find
> everything in the pageindex cache.
> Am I correct?

Yep, from a purely functional standpoint yours is probably faster.
>From an elegance perspective it's good to avoid duplicate code (for
lots of good reasons) and that's what I was aiming for.  But in this
case it's probably 6 of 1 and half-dozen of the other.

-Peter



More information about the pmwiki-users mailing list