You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: all.html
+21-7Lines changed: 21 additions & 7 deletions
Original file line number
Diff line number
Diff line change
@@ -3047,12 +3047,13 @@ <h2>How do static website generators work?</h2>
3047
3047
as input then combine them to output a set of static HTML files.</p>
3048
3048
<p><imgsrc="theme/img/pelican-flow.jpg" width="100%" alt="Example of how static site generators work with a markup language and templates." class="technical-diagram"></a></p>
3049
3049
<h2>What's the downside to using static site generators?</h2>
3050
-
<p>The major downside is that the code is not dynamic, so you won't be able to
3051
-
do many seemingly-necessary tasks provided by running an application created
3052
-
with a traditional <ahref="/web-frameworks.html">web framework</a>. Any content that
3053
-
is typically powered by a database, such as comments, sessions and user data
3054
-
can only be done through third party services. For example, if you want to
3055
-
have comments on a static website you'd need to
3050
+
<p>The major downside is that code cannot be executed after a site is created.
3051
+
You are stuck with the output files so if you're used to building web
3052
+
applications with a traditional <ahref="/web-frameworks.html">web framework</a> you'll
3053
+
have to change your expectations. </p>
3054
+
<p>Content that is typically powered by a database, such as comments, sessions
3055
+
and user data can only be handled through third party services. For example,
3056
+
if you want to have comments on a static website you'd need to
3056
3057
<ahref="https://disqus.com/">embed Disqus's form</a> and be completely reliant upon
3057
3058
their service.</p>
3058
3059
<p>Many web applications simply cannot be built with only a static site generator.
@@ -3061,7 +3062,7 @@ <h2>What's the downside to using static site generators?</h2>
3061
3062
If done right, those web applications have the potential to scale better than
3062
3063
if every page is rendered by the WSGI server. The complexity may or may not be
3063
3064
worth it for your specific application.</p>
3064
-
<h2>Python static site generator implementations</h2>
3065
+
<h2>Python implementations</h2>
3065
3066
<p>Numerous static website generators exist in many different languages. The
3066
3067
ones listed here are primarily coded in Python.</p>
3067
3068
<ul>
@@ -3074,6 +3075,14 @@ <h2>Python static site generator implementations</h2>
3074
3075
AsciiDoc are supported with the default configuration.</p>
3075
3076
</li>
3076
3077
<li>
3078
+
<p><ahref="http://www.mkdocs.org/">MkDocs</a>
3079
+
(<ahref="https://github.com/mkdocs/mkdocs/">source code</a>) uses a YAML configuration
3080
+
file to take Markdown files and an optional theme to output a documentation
3081
+
site. The templating engine is Jinja, but a user doesn't have to create her
3082
+
own templates unless a custom site is desired at which point it might make
3083
+
more sense to use a different static site generator instead.</p>
builds to generate static sites faster than recreating every page after
@@ -3114,6 +3123,11 @@ <h3>Static site generator resources</h3>
3114
3123
<ahref="http://www.smashingmagazine.com/2015/11/modern-static-website-generators-next-big-thing/">why static website generators are the next big thing</a>.
3115
3124
I'd argue static website generators have been big for a long time now.</p>
3116
3125
</li>
3126
+
<li>
3127
+
<p><ahref="http://www.mattmakai.com/introduction-to-pelican.html">Getting started with Pelican and GitHub pages</a>
3128
+
is a tutorial I wrote to use the Full Stack Python source code to create
3129
+
and deploy your first static site.</p>
3130
+
</li>
3117
3131
</ul>
3118
3132
<h1>Data</h1>
3119
3133
<p>Data is an incredibly broad topic but it can be broken down into many
Copy file name to clipboardExpand all lines: static-site-generator.html
+21-7Lines changed: 21 additions & 7 deletions
Original file line number
Diff line number
Diff line change
@@ -63,12 +63,13 @@ <h2>How do static website generators work?</h2>
63
63
as input then combine them to output a set of static HTML files.</p>
64
64
<p><imgsrc="theme/img/pelican-flow.jpg" width="100%" alt="Example of how static site generators work with a markup language and templates." class="technical-diagram"></a></p>
65
65
<h2>What's the downside to using static site generators?</h2>
66
-
<p>The major downside is that the code is not dynamic, so you won't be able to
67
-
do many seemingly-necessary tasks provided by running an application created
68
-
with a traditional <ahref="/web-frameworks.html">web framework</a>. Any content that
69
-
is typically powered by a database, such as comments, sessions and user data
70
-
can only be done through third party services. For example, if you want to
71
-
have comments on a static website you'd need to
66
+
<p>The major downside is that code cannot be executed after a site is created.
67
+
You are stuck with the output files so if you're used to building web
68
+
applications with a traditional <ahref="/web-frameworks.html">web framework</a> you'll
69
+
have to change your expectations. </p>
70
+
<p>Content that is typically powered by a database, such as comments, sessions
71
+
and user data can only be handled through third party services. For example,
72
+
if you want to have comments on a static website you'd need to
72
73
<ahref="https://disqus.com/">embed Disqus's form</a> and be completely reliant upon
73
74
their service.</p>
74
75
<p>Many web applications simply cannot be built with only a static site generator.
@@ -77,7 +78,7 @@ <h2>What's the downside to using static site generators?</h2>
77
78
If done right, those web applications have the potential to scale better than
78
79
if every page is rendered by the WSGI server. The complexity may or may not be
79
80
worth it for your specific application.</p>
80
-
<h2>Python static site generator implementations</h2>
81
+
<h2>Python implementations</h2>
81
82
<p>Numerous static website generators exist in many different languages. The
82
83
ones listed here are primarily coded in Python.</p>
83
84
<ul>
@@ -90,6 +91,14 @@ <h2>Python static site generator implementations</h2>
90
91
AsciiDoc are supported with the default configuration.</p>
91
92
</li>
92
93
<li>
94
+
<p><ahref="http://www.mkdocs.org/">MkDocs</a>
95
+
(<ahref="https://github.com/mkdocs/mkdocs/">source code</a>) uses a YAML configuration
96
+
file to take Markdown files and an optional theme to output a documentation
97
+
site. The templating engine is Jinja, but a user doesn't have to create her
98
+
own templates unless a custom site is desired at which point it might make
99
+
more sense to use a different static site generator instead.</p>
builds to generate static sites faster than recreating every page after
@@ -130,6 +139,11 @@ <h3>Static site generator resources</h3>
130
139
<ahref="http://www.smashingmagazine.com/2015/11/modern-static-website-generators-next-big-thing/">why static website generators are the next big thing</a>.
131
140
I'd argue static website generators have been big for a long time now.</p>
132
141
</li>
142
+
<li>
143
+
<p><ahref="http://www.mattmakai.com/introduction-to-pelican.html">Getting started with Pelican and GitHub pages</a>
144
+
is a tutorial I wrote to use the Full Stack Python source code to create
145
+
and deploy your first static site.</p>
146
+
</li>
133
147
</ul>
134
148
<h3>What else do you want to learn about Python web dev?</h3>
0 commit comments