[openstack-dev] Cheetah vs Jinja

Endre Karlson endre.karlson at gmail.com
Tue Jul 16 20:36:28 UTC 2013


Jinja is fairly nice. Used it like matt for Pyramid
Den 16. juli 2013 22:13 skrev "Nachi Ueno" <nachi at ntti3.com> følgende:

> Hi folks
>
> Jinja2 looks have +3.
> This is the winner?
>
> # My code can be done by Jinja2 also.
>
> so if we choose Jinja2, what's version range is needed?
>
> Thanks
> Nachi
>
>
>
> 2013/7/16 Matt Dietz <matt.dietz at rackspace.com>:
> > I'll second the jinja2 recommendation. I also use it with Pyramid, and
> > find it non-obtrusive to write and easy to understand.
> >
> > -----Original Message-----
> > From: Sandy Walsh <sandy.walsh at RACKSPACE.COM>
> > Reply-To: OpenStack Development Mailing List
> > <openstack-dev at lists.openstack.org>
> > Date: Tuesday, July 16, 2013 11:34 AM
> > To: OpenStack Development Mailing List <
> openstack-dev at lists.openstack.org>
> > Subject: Re: [openstack-dev] Cheetah vs Jinja
> >
> >>I've used jinja2 on many projects ... it's always been solid.
> >>
> >>-S
> >>
> >>________________________________________
> >>From: Solly Ross [sross at redhat.com]
> >>Sent: Tuesday, July 16, 2013 10:41 AM
> >>To: OpenStack Development Mailing List
> >>Subject: [openstack-dev] [Change I30b127d6] Cheetah vs Jinja
> >>
> >>(This email is with regards to https://review.openstack.org/#/c/36316/)
> >>
> >>Hello All,
> >>
> >>I have been implementing the Guru Meditation Report blueprint
> >>(https://blueprints.launchpad.net/oslo/+spec/guru-meditation-report),
> and
> >>the question of a templating engine was raised.  Currently, my version of
> >>the code includes the Jinja2 templating engine (http://jinja.pocoo.org/
> ),
> >>which is modeled after the Django templating engine (it was designed to
> >>be an implementation of the Django templating engine without requiring
> >>the use of Django), which is used in Horizon.  Apparently, the Cheetah
> >>templating engine (http://www.cheetahtemplate.org/) is used in a couple
> >>places in Nova.
> >>
> >>IMO, the Jinja template language produces much more readable templates,
> >>and I think is the better choice for inclusion in the Report framework.
> >>It also shares a common format with Django (making it slightly easier to
> >>write for people coming from that area), and is also similar to template
> >>engines for other languages. What does everyone else think?
> >>
> >>Best Regards,
> >>Solly Ross
> >>
> >>_______________________________________________
> >>OpenStack-dev mailing list
> >>OpenStack-dev at lists.openstack.org
> >>http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
> >>
> >>_______________________________________________
> >>OpenStack-dev mailing list
> >>OpenStack-dev at lists.openstack.org
> >>http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
> >
> >
> > _______________________________________________
> > OpenStack-dev mailing list
> > OpenStack-dev at lists.openstack.org
> > http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
>
> _______________________________________________
> OpenStack-dev mailing list
> OpenStack-dev at lists.openstack.org
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20130716/baf27eb7/attachment.html>


More information about the OpenStack-dev mailing list