Actually, Hanno was right. Using zope.pagetemplate was very easy. The demo app at http://bfgapp.appspot.com/ now uses slow-TAL ;)
You have to subclass PageTemplateFile to be able to send *kw to the template, so to make things simpler for GAE users, I created a zope.pagetemplate bindings package for BFG, similar to the existing Jinja2 package. With this package we can use the regular BFG api names for template handling. It's on the svn repository and it's the one I used for the demo. The package includes a bfg_zpt_starter template to use instead of the regular project template for GAE. Carlos de la Guardia On Sun, May 3, 2009 at 1:14 PM, Chris McDonough <chr...@plope.com> wrote: > On 5/3/09 2:08 PM, Hanno Schlichting wrote: > > Martin Aspeli wrote: > >> Anyway, it's nice to see that we may have a tutorial on BFG-on-GAE soon. > >> I'd love to be able to use TAL, though. Django templates give me a > >> headache. ;) > > > > zope.tal/es and zope.pagetemplate should work fine after some tweaking, > > so if you want slow-TAL, that should be possible ;) > > I have no plans to chase a ZPT-on-GAE ball around the yard personally. But > I > might go ahead and create BFG bindings for "plain old Genshi" (as opposed > to > chameleon.genshi). Plain-old-Genshi seems to be supported on GAE.. or at > least > I'd be able to verify that if http://genshi.edgewall.org/wiki/AppEnginewas > responding at the moment. > > - C > _______________________________________________ > Repoze-dev mailing list > Repoze-dev@lists.repoze.org > http://lists.repoze.org/listinfo/repoze-dev >
_______________________________________________ Repoze-dev mailing list Repoze-dev@lists.repoze.org http://lists.repoze.org/listinfo/repoze-dev