Skip to content

Commit 58e6391

Browse files
committed
new examples pages and new web frameworks resource
1 parent 2498b2b commit 58e6391

10 files changed

+3609
-4
lines changed

content/pages/04-web-development/01-web-frameworks.markdown

Lines changed: 16 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -90,15 +90,15 @@ but it'll make most developers' lives easier in many cases.
9090

9191

9292
### Comparing web frameworks
93+
[Talk Python to Me had a podcast episode](https://talkpython.fm/episodes/show/149/4-python-web-frameworks-compared)
94+
with a detailed comparison of the [Django](/django.html),
95+
[Flask](/flask.html), Tornado and [Pyramid](/pyramid.html) frameworks.
96+
9397
Are you curious about how the code in a Django project is structured compared
9498
with Flask? Check out
9599
[this Django web application tutorial](https://www.twilio.com/docs/sms/tutorials/appointment-reminders-python-django)
96100
and then view [the same application built with Flask](https://www.twilio.com/docs/sms/tutorials/appointment-reminders-python-flask).
97101

98-
[Talk Python to Me had a podcast episode](https://talkpython.fm/episodes/show/149/4-python-web-frameworks-compared)
99-
with a detailed comparison of the [Django](/django.html),
100-
[Flask](/flask.html), Tornado and [Pyramid](/pyramid.html) frameworks.
101-
102102
There is also a repository called
103103
[compare-python-web-frameworks](https://github.com/mattmakai/compare-python-web-frameworks)
104104
where the same web application is being coded with varying Python web
@@ -112,6 +112,18 @@ frameworks, templating engines and
112112
and the many other pieces that combine to make web frameworks useful
113113
to web developers.
114114

115+
* [12 requests per second](https://suade.org/dev/12-requests-per-second-with-python/)
116+
examines how the traditionally synchronous web framework
117+
[Flask](/flask.html) compares to an async framework like
118+
[Sanic](/sanic.html) in an artificial, simple benchmark. The
119+
results make it look like Sanic is far faster than Flask, but
120+
once you add even a basic amount of functionality to a
121+
project, including [databasel](/databases.html) queries
122+
and templating, the results even out. Miguel Grinberg
123+
also has a great read with broader results in this
124+
article asking readers to
125+
[Ignore All Web Performance Benchmarks, Including This One](https://blog.miguelgrinberg.com/post/ignore-all-web-performance-benchmarks-including-this-one).
126+
115127
* When you are learning how to use one or more web frameworks it's helpful
116128
to have an idea of what the code under the covers is doing. This post on
117129
building a

0 commit comments

Comments
 (0)