[Zope-dev] Pluggable template engine

Malthe Borch mborch at gmail.com
Wed Jul 20 11:47:01 EDT 2011


It makes it possible to use Chameleon with the stock template classes
without monkey-patching the ``TALInterpreter`` class and ``_cook``.

\malthe

On 20 July 2011 17:43, Jim Fulton <jim at zope.com> wrote:
> What problem does this solve?
>
> Jim
>
> On Wed, Jul 20, 2011 at 11:24 AM, Malthe Borch <mborch at gmail.com> wrote:
>> I've refactored the ``pagetemplate`` module to realistically support
>> plugging in an alternative implementation of the parser and
>> interpreter.
>>
>>  http://svn.zope.org/zope.pagetemplate/branches/engine-as-component/
>>
>> Two new interfaces are added which serve as the plugging point see
>> ``IPageTemplateEngine`` and ``IPageTemplateProgram`` in this module:
>>
>>  http://svn.zope.org/zope.pagetemplate/branches/engine-as-component/src/zope/pagetemplate/interfaces.py?rev=122300&view=markup
>>
>> I'd like to propose merging this into trunk.
>>
>> \malthe
>> _______________________________________________
>> Zope-Dev maillist  -  Zope-Dev at zope.org
>> https://mail.zope.org/mailman/listinfo/zope-dev
>> **  No cross posts or HTML encoding!  **
>> (Related lists -
>>  https://mail.zope.org/mailman/listinfo/zope-announce
>>  https://mail.zope.org/mailman/listinfo/zope )
>>
>
>
>
> --
> Jim Fulton
> http://www.linkedin.com/in/jimfulton
>


More information about the Zope-Dev mailing list