librelist archives

« back to archive

js and flask templating

js and flask templating

From:
Ivan Sergio Borgonovo
Date:
2015-04-06 @ 22:08
I'm looking for a templating system that works nice with js and
python/flask.

An obvious candidate could be mustache (https://mustache.github.io/)

And I've found:
https://github.com/mattupstate/flask-stache/
https://github.com/ahri/flask-mustache

any other candidate?

Next step would be to find some tool to share i18n efforts between
python and js (mainly translation but also dates, numbers... formatting).

Does anyone has any thought to share about this class of problems?

I'd like to share as much work as possible between a Phonegap app[1] and
its web counterpart dealing as few as possible with JS and node.

thanks

[1] or any Open equivalent

-- 
Ivan Sergio Borgonovo
http://www.webthatworks.it