File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -927,6 +927,22 @@ the language itself. Bringing the full power and generality of Python to bear on
927927string processing tasks opens new possibilities for framework authors.
928928
929929
930+ Why another templating approach?
931+ ================================
932+
933+ The world of Python already has mature templating languages with wide adoption,
934+ such as Jinja. Why build support for creating new templating systems?
935+
936+ Projects such as Jinja are still needed in cases where the template is less part
937+ of the software by the developers, and more part of customization by designers
938+ or even content created by users, for example in a CMS.
939+
940+ The trends in frontend development have treated templating as part of the
941+ software and written by developers. They want modern language features and a
942+ good tooling experience. PEP 750 envisions DSLs where the non-static parts are
943+ Python: same scope rules, typing, expression syntax, and the like.
944+
945+
930946Common Patterns Seen in Processing Templates
931947============================================
932948
You can’t perform that action at this time.
0 commit comments