15 Sep
2008
15 Sep
'08
8:46 p.m.
Currently a number of z3c.* packages rely on ``zope.pagetemplate.interfaces.IPageTemplate`` even though they don't care at all that it's a template they're getting. All they need to know is that it's a callable and that it returns HTML. I think it'd be a good idea to introduce the following interface that we can use instead: class IRenderer(Interface): def __call__(**kwargs): """Outputs HTML.""" This interface should be defined in a package with minimal dependencies. \malthe