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
<p>Vice fingerstache pickled pour-over high life nihil, cliche enim placeat aliquip laborum artisan pitchfork lomo. Do dreamcatcher nihil gastropub non, 90's fashion axe small batch sed echo park selfies art party single-origin coffee esse. Adipisicing mlkshk craft beer laboris, mumblecore cosby sweater elit mixtape street art DIY art party pickled put a bird on it. Flexitarian fixie pug, sartorial culpa sustainable nisi hoodie. Blue bottle put a bird on it meh terry richardson cardigan. American apparel exercitation velit echo park beard aute you probably haven't heard of them letterpress, esse excepteur williamsburg nesciunt food truck in lo-fi. Dolore ullamco meh high life, raw denim flexitarian Austin consectetur non sed irure banksy salvia.</p>
212
-
<p>Occaecat before they sold out squid ut disrupt. Et elit exercitation small batch quis, letterpress dolor chillwave flannel jean shorts swag. Consectetur chambray ex magna, eu bicycle rights next level proident placeat. Cliche marfa fugiat, fixie bespoke echo park odd future thundercats chambray intelligentsia officia cillum exercitation. Enim YOLO pug swag. Cardigan id ullamco, fingerstache do nihil culpa narwhal intelligentsia leggings. Skateboard cillum DIY tousled velit fap.</p>
213
-
<p>Hashtag dolor fashion axe ea mustache jean shorts. Banksy ennui tumblr wolf trust fund four loko, sunt 3 wolf moon fixie fugiat cardigan. Fap single-origin coffee plaid, blue bottle cillum commodo scenester semiotics assumenda quinoa. Craft beer gastropub truffaut, quis vegan gentrify quinoa lomo enim sartorial salvia messenger bag incididunt odio sunt. Magna letterpress officia, retro trust fund narwhal sint put a bird on it mixtape occupy minim you probably haven't heard of them american apparel next level. Williamsburg wayfarers quinoa keytar commodo fingerstache 8-bit street art. Do art party four loko raw denim, food truck vice fanny pack excepteur occaecat enim tumblr leggings plaid.</p>
213
+
<p>A web server handles Hypertext Transfer Protocol (HTTP) requests from
214
+
clients. The client is usually a browser such as Internet Explorer, Firefox,
215
+
and Chrome, but it can also be a headless browser like
216
+
<aclass="reference external" href="http://phantomjs.org/">phantomjs</a> (commonly used for testing), a
217
+
commandline utility like wget or curl, or a web crawler. The web server
218
+
processes the request and sends a status code and depending on the
219
+
status code a content response as well.</p>
220
+
<p>In a simple case, the client will request a static asset such as a picture
221
+
or JavaScript file. The file sits on the file system in a location the
222
+
web server is authorized to access and the web server sends the file
223
+
to the clinet with a 200 status code. If the client already requested the
224
+
file and the file has not changed, the web server will pass back a 304
225
+
"Not modified" response indicating the client already has the latest version
226
+
of that file.</p>
227
+
<p>Sending static assets can eat up a large amount of bandwidth which is why
228
+
using a Content Delivery Network (CDN) is important when possible (see the
229
+
content delivery network section for a more detailed explanation).</p>
214
230
215
231
</section>
216
232
<sectionid="database" class="tech-section">
@@ -220,6 +236,30 @@ <h1>Database</h1>
220
236
<p>Occaecat before they sold out squid ut disrupt. Et elit exercitation small batch quis, letterpress dolor chillwave flannel jean shorts swag. Consectetur chambray ex magna, eu bicycle rights next level proident placeat. Cliche marfa fugiat, fixie bespoke echo park odd future thundercats chambray intelligentsia officia cillum exercitation. Enim YOLO pug swag. Cardigan id ullamco, fingerstache do nihil culpa narwhal intelligentsia leggings. Skateboard cillum DIY tousled velit fap.</p>
221
237
<p>Hashtag dolor fashion axe ea mustache jean shorts. Banksy ennui tumblr wolf trust fund four loko, sunt 3 wolf moon fixie fugiat cardigan. Fap single-origin coffee plaid, blue bottle cillum commodo scenester semiotics assumenda quinoa. Craft beer gastropub truffaut, quis vegan gentrify quinoa lomo enim sartorial salvia messenger bag incididunt odio sunt. Magna letterpress officia, retro trust fund narwhal sint put a bird on it mixtape occupy minim you probably haven't heard of them american apparel next level. Williamsburg wayfarers quinoa keytar commodo fingerstache 8-bit street art. Do art party four loko raw denim, food truck vice fanny pack excepteur occaecat enim tumblr leggings plaid.</p>
222
238
239
+
</section>
240
+
<sectionid="web-framework" class="tech-section">
241
+
<h1>Web Framework</h1>
242
+
<p>A web application framework is a collection of libraries that
243
+
provide functionality to accomplish common operations for the web. These
244
+
common operations include:</p>
245
+
<olclass="arabic simple">
246
+
<li>URL routing</li>
247
+
<li>HTML, XML, JSON, and other output templating</li>
248
+
<li>Database manipulation</li>
249
+
<li>Cross-site request forgery (CSRF) and Cross-site scripting (XSS) protection</li>
250
+
</ol>
251
+
<p>Not all web frameworks include functionality for all of the above
252
+
functionality. Frameworks must balance between "being all things to all
253
+
people but very complicated" or doing only certain things well without
254
+
prescription for how to do other functions.</p>
255
+
<p>For example, the Django web application framework includes an
256
+
Object-Relational Mapping (ORM) layer that abstracts relational database
257
+
read, write, query, and delete operations. However, the ORM layer in Django
258
+
does not work (without modification) on non-relational databases such
259
+
<aclass="reference external" href="http://www.mongodb.org/">MongoDB</a> and <aclass="reference external" href="http://docs.basho.com/">Riak</a>.
260
+
Other web frameworks such as Flask and Pyramid are generally easier to
261
+
use with non-relational databases by incorporating external Python libraries.</p>
262
+
223
263
</section>
224
264
<sectionid="wsgi-server" class="tech-section">
225
265
<h1>WSGI Server</h1>
@@ -228,6 +268,17 @@ <h1>WSGI Server</h1>
228
268
<p>Occaecat before they sold out squid ut disrupt. Et elit exercitation small batch quis, letterpress dolor chillwave flannel jean shorts swag. Consectetur chambray ex magna, eu bicycle rights next level proident placeat. Cliche marfa fugiat, fixie bespoke echo park odd future thundercats chambray intelligentsia officia cillum exercitation. Enim YOLO pug swag. Cardigan id ullamco, fingerstache do nihil culpa narwhal intelligentsia leggings. Skateboard cillum DIY tousled velit fap.</p>
229
269
<p>Hashtag dolor fashion axe ea mustache jean shorts. Banksy ennui tumblr wolf trust fund four loko, sunt 3 wolf moon fixie fugiat cardigan. Fap single-origin coffee plaid, blue bottle cillum commodo scenester semiotics assumenda quinoa. Craft beer gastropub truffaut, quis vegan gentrify quinoa lomo enim sartorial salvia messenger bag incididunt odio sunt. Magna letterpress officia, retro trust fund narwhal sint put a bird on it mixtape occupy minim you probably haven't heard of them american apparel next level. Williamsburg wayfarers quinoa keytar commodo fingerstache 8-bit street art. Do art party four loko raw denim, food truck vice fanny pack excepteur occaecat enim tumblr leggings plaid.</p>
Copy file name to clipboardExpand all lines: pages/web-server.html
+17-4Lines changed: 17 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -45,10 +45,23 @@
45
45
<h1>Web Server</h1>
46
46
47
47
48
-
<p>Web server lorem ipsum.</p>
49
-
<p>Vice fingerstache pickled pour-over high life nihil, cliche enim placeat aliquip laborum artisan pitchfork lomo. Do dreamcatcher nihil gastropub non, 90's fashion axe small batch sed echo park selfies art party single-origin coffee esse. Adipisicing mlkshk craft beer laboris, mumblecore cosby sweater elit mixtape street art DIY art party pickled put a bird on it. Flexitarian fixie pug, sartorial culpa sustainable nisi hoodie. Blue bottle put a bird on it meh terry richardson cardigan. American apparel exercitation velit echo park beard aute you probably haven't heard of them letterpress, esse excepteur williamsburg nesciunt food truck in lo-fi. Dolore ullamco meh high life, raw denim flexitarian Austin consectetur non sed irure banksy salvia.</p>
50
-
<p>Occaecat before they sold out squid ut disrupt. Et elit exercitation small batch quis, letterpress dolor chillwave flannel jean shorts swag. Consectetur chambray ex magna, eu bicycle rights next level proident placeat. Cliche marfa fugiat, fixie bespoke echo park odd future thundercats chambray intelligentsia officia cillum exercitation. Enim YOLO pug swag. Cardigan id ullamco, fingerstache do nihil culpa narwhal intelligentsia leggings. Skateboard cillum DIY tousled velit fap.</p>
51
-
<p>Hashtag dolor fashion axe ea mustache jean shorts. Banksy ennui tumblr wolf trust fund four loko, sunt 3 wolf moon fixie fugiat cardigan. Fap single-origin coffee plaid, blue bottle cillum commodo scenester semiotics assumenda quinoa. Craft beer gastropub truffaut, quis vegan gentrify quinoa lomo enim sartorial salvia messenger bag incididunt odio sunt. Magna letterpress officia, retro trust fund narwhal sint put a bird on it mixtape occupy minim you probably haven't heard of them american apparel next level. Williamsburg wayfarers quinoa keytar commodo fingerstache 8-bit street art. Do art party four loko raw denim, food truck vice fanny pack excepteur occaecat enim tumblr leggings plaid.</p>
48
+
<p>A web server handles Hypertext Transfer Protocol (HTTP) requests from
49
+
clients. The client is usually a browser such as Internet Explorer, Firefox,
50
+
and Chrome, but it can also be a headless browser like
51
+
<aclass="reference external" href="http://phantomjs.org/">phantomjs</a> (commonly used for testing), a
52
+
commandline utility like wget or curl, or a web crawler. The web server
53
+
processes the request and sends a status code and depending on the
54
+
status code a content response as well.</p>
55
+
<p>In a simple case, the client will request a static asset such as a picture
56
+
or JavaScript file. The file sits on the file system in a location the
57
+
web server is authorized to access and the web server sends the file
58
+
to the clinet with a 200 status code. If the client already requested the
59
+
file and the file has not changed, the web server will pass back a 304
60
+
"Not modified" response indicating the client already has the latest version
61
+
of that file.</p>
62
+
<p>Sending static assets can eat up a large amount of bandwidth which is why
63
+
using a Content Delivery Network (CDN) is important when possible (see the
64
+
content delivery network section for a more detailed explanation).</p>
Copy file name to clipboardExpand all lines: source/content/pages/web-server.rst
+17-5Lines changed: 17 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,10 +5,22 @@ Web Server
5
5
:slug: web-server
6
6
:sort-order: 4
7
7
8
-
Web server lorem ipsum.
8
+
A web server handles Hypertext Transfer Protocol (HTTP) requests from
9
+
clients. The client is usually a browser such as Internet Explorer, Firefox,
10
+
and Chrome, but it can also be a headless browser like
11
+
`phantomjs <http://phantomjs.org/>`_ (commonly used for testing), a
12
+
commandline utility like wget or curl, or a web crawler. The web server
13
+
processes the request and sends a status code and depending on the
14
+
status code a content response as well.
9
15
10
-
Vice fingerstache pickled pour-over high life nihil, cliche enim placeat aliquip laborum artisan pitchfork lomo. Do dreamcatcher nihil gastropub non, 90's fashion axe small batch sed echo park selfies art party single-origin coffee esse. Adipisicing mlkshk craft beer laboris, mumblecore cosby sweater elit mixtape street art DIY art party pickled put a bird on it. Flexitarian fixie pug, sartorial culpa sustainable nisi hoodie. Blue bottle put a bird on it meh terry richardson cardigan. American apparel exercitation velit echo park beard aute you probably haven't heard of them letterpress, esse excepteur williamsburg nesciunt food truck in lo-fi. Dolore ullamco meh high life, raw denim flexitarian Austin consectetur non sed irure banksy salvia.
16
+
In a simple case, the client will request a static asset such as a picture
17
+
or JavaScript file. The file sits on the file system in a location the
18
+
web server is authorized to access and the web server sends the file
19
+
to the clinet with a 200 status code. If the client already requested the
20
+
file and the file has not changed, the web server will pass back a 304
21
+
"Not modified" response indicating the client already has the latest version
22
+
of that file.
11
23
12
-
Occaecat before they sold out squid ut disrupt. Et elit exercitation small batch quis, letterpress dolor chillwave flannel jean shorts swag. Consectetur chambray ex magna, eu bicycle rights next level proident placeat. Cliche marfa fugiat, fixie bespoke echo park odd future thundercats chambray intelligentsia officia cillum exercitation. Enim YOLO pug swag. Cardigan id ullamco, fingerstache do nihil culpa narwhal intelligentsia leggings. Skateboard cillum DIY tousled velit fap.
13
-
14
-
Hashtag dolor fashion axe ea mustache jean shorts. Banksy ennui tumblr wolf trust fund four loko, sunt 3 wolf moon fixie fugiat cardigan. Fap single-origin coffee plaid, blue bottle cillum commodo scenester semiotics assumenda quinoa. Craft beer gastropub truffaut, quis vegan gentrify quinoa lomo enim sartorial salvia messenger bag incididunt odio sunt. Magna letterpress officia, retro trust fund narwhal sint put a bird on it mixtape occupy minim you probably haven't heard of them american apparel next level. Williamsburg wayfarers quinoa keytar commodo fingerstache 8-bit street art. Do art party four loko raw denim, food truck vice fanny pack excepteur occaecat enim tumblr leggings plaid.
24
+
Sending static assets can eat up a large amount of bandwidth which is why
25
+
using a Content Delivery Network (CDN) is important when possible (see the
26
+
content delivery network section for a more detailed explanation).
0 commit comments