Skip to content

Commit a6302bb

Browse files
committed
new mako resource
1 parent 0f22c27 commit a6302bb

File tree

3 files changed

+34
-1
lines changed

3 files changed

+34
-1
lines changed

all.html

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4222,6 +4222,18 @@ <h2>Mako resources</h2>
42224222
extension that makes it easier to use Mako as the template engine in your
42234223
Flask web app projects.</p>
42244224
</li>
4225+
<li>
4226+
<p>The Stack Overflow question on
4227+
<a href="http://stackoverflow.com/questions/1324238/what-is-the-fastest-template-system-for-python">What is the fastest template system for Python?</a>
4228+
provides some basic benchmarks comparing Mako, Jinja and other template
4229+
engines. Any benchmark should be taken as a data point rather than a
4230+
rule on which engine is actually the fastest in real world scenarios.
4231+
In addition, if you are using Mako or any other template engine as part
4232+
of a static website generator then it will not really matter which one
4233+
is the fastest because the output is created before the website is
4234+
deployed rather than during the <a href="/web-servers.html">web server</a>'s
4235+
HTTP request-response cycle.</p>
4236+
</li>
42254237
</ul>
42264238
<h1>Django Templates</h1>
42274239
<p>The <a href="/django.html">Django web framework</a> contains its own

mako.html

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,18 @@ <h2>Mako resources</h2>
6464
extension that makes it easier to use Mako as the template engine in your
6565
Flask web app projects.</p>
6666
</li>
67+
<li>
68+
<p>The Stack Overflow question on
69+
<a href="http://stackoverflow.com/questions/1324238/what-is-the-fastest-template-system-for-python">What is the fastest template system for Python?</a>
70+
provides some basic benchmarks comparing Mako, Jinja and other template
71+
engines. Any benchmark should be taken as a data point rather than a
72+
rule on which engine is actually the fastest in real world scenarios.
73+
In addition, if you are using Mako or any other template engine as part
74+
of a static website generator then it will not really matter which one
75+
is the fastest because the output is created before the website is
76+
deployed rather than during the <a href="/web-servers.html">web server</a>'s
77+
HTTP request-response cycle.</p>
78+
</li>
6779
</ul>
6880
<h3>Learn more about template engines or another topic?</h3>
6981
<div class="row">

source/content/pages/07-web-development/11-mako.markdown

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,4 +33,13 @@ used to generate output HTML, XML and similar formats.
3333
extension that makes it easier to use Mako as the template engine in your
3434
Flask web app projects.
3535

36-
36+
* The Stack Overflow question on
37+
[What is the fastest template system for Python?](http://stackoverflow.com/questions/1324238/what-is-the-fastest-template-system-for-python)
38+
provides some basic benchmarks comparing Mako, Jinja and other template
39+
engines. Any benchmark should be taken as a data point rather than a
40+
rule on which engine is actually the fastest in real world scenarios.
41+
In addition, if you are using Mako or any other template engine as part
42+
of a static website generator then it will not really matter which one
43+
is the fastest because the output is created before the website is
44+
deployed rather than during the [web server](/web-servers.html)'s
45+
HTTP request-response cycle.

0 commit comments

Comments
 (0)