On Sat, Feb 11, 2012 at 1:11 PM, Chris McDonough <[email protected]> wrote:

> On Sat, 2012-02-11 at 12:55 -0800, Iain Duncan wrote:
> >         >
> >         > - Tempita: our form/field generating system uses tempita as
> >         a light
> >         > fast template language for tiny templates, this could be
> >         replaced
> >
> >
> >         Almost any other templating system would be better here as
> >         tempita is
> >         unmaintained.  Any of Mako, Jinja2 or Chameleon would work;
> >         each is Py3
> >         compat.
>

Thanks Chris. I guess in this case I meant "easy to integrate". A lot of
the templates are like, 2 lines long, and are embedded in a dictionary in
the consuming class. it was just really easy to add tempita when I decided
that standard string subbing wasn't going to cut it. I'll look into using
chameleon or mako instead. Mako might be better for this use even though I
use Chameleon normally.

Thanks for the input.

> >         If it's only about creating Pyramid scaffolding, Pyramid now
> >         has code
> >         generation facilities built in to it.  See
> >
> http://docs.pylonsproject.org/projects/pyramid/en/1.3-branch/narr/scaffolding.html
> >
> >
> >
> >
> > Is this api compatible with pastescript code generation or will it
> > require a fair bit of retooling?  I gather you are replacing
> > pastescript because of the maintenance/documentation/python3
> > situation?
>
> Yes.  It's pretty close to compatible.  The docs explain what needs to
> change.
>

Awesome, thanks for this addition. I love PasteScript, but don't love it's
maintenance situation.

iain

-- 
You received this message because you are subscribed to the Google Groups 
"pylons-discuss" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/pylons-discuss?hl=en.

Reply via email to