Tavis Rudd wrote:
>
> Here's the final code for my template-filling packages
>
> NameMapper v1.6
> ==============
> * my extended implementation of NamedValueAccess
> --standalone
>
> TemplateFiller v1.5
> ==============
> * a very flexible template filler that supports all the
> features of NameMapper and plus namespace cascading
> * will replace varNames in %()s, %()d, or %()d plus any
> custom delimeters of your choice, defaults to %[]
> -- needs on NameMapper v1.6
>
> SkeletonPage v1.3
> ==============
> * an example of how to implement TemplateFiller in a
> complete, easy to use, templating framework
> -- needs on NameMapper v1.6 and TemplateFiller v1.5
>
> Yet to come:
> ==========
> - a servlet factory that implements the idea in my last
> email (repeated in the docstring for SkeletonPage)
cool, I like your approach.
I think there's a small typo in SkeletonPage in
the Default class
def currentYr(self):
return time.strftime("%Y",time.localtime())
should be:
def currentYr(self):
return time.strftime("%Y",time.localtime(time.time()))
One thing I probably missed is a small example how
to do looping or is this not covered in your approach.
hope you get along with the ServletFactory code soon,
so peple can experiment with it in an easy fashion..
--
Tom Schwaller
http://www.linux-community.de
|