24 Feb
2008
24 Feb
'08
3:53 a.m.
The z3c.pt-package now provides a template class for plain text files like .css and .js---using the ${<python expression>}-syntax. I'd like to integrate it with browser resources such that filename.css.<some extension for z3c.pt text templates> would be sent through the template engine. Now, the DirectoryResource-class defined in zope.app.publisher.browser.directoryresource provides a dictionary of resource factories for a number of standard file extensions. Shouldn't this be pluggable using the component architecture? It would adapt to IResourceFactory. \malthe