Learning Python Networking - Second Edition
by José Manuel Ortega, Dr. M. O. Faruque Sarker, Sam Washington
Other templating engines
Jinja2 is certainly not the only templating package in existence. You can find a maintained list of Python templating engines at https://wiki.python.org/moin/Templating.
Like frameworks, different engines exist because of differing philosophies on what makes a good engine. Some feel that logic and presentation should be absolutely separate and that flow control and expressions should never be available in templates, providing only valued substitution mechanisms. Others take the opposite approach and allow full Python expressions within template markup. Others, such as Jinja2, take a middle ground approach. Some engines also use different schemes altogether, such as XML-based templates, or declare logic via special ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access