Skip to content

Commit d079b25

Browse files
committed
adding learning checklist to database page
1 parent ce2aed8 commit d079b25

File tree

6 files changed

+59
-62
lines changed

6 files changed

+59
-62
lines changed

databases.html

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,24 @@ <h2>Why are databases necessary?</h2>
5757
mental framework for how the data should be saved and retrieved instead of
5858
having to figure out what to do with the data every time you build a new
5959
application.</p>
60+
<h2>Databases learning checklist</h2>
61+
<p><i class="fa fa-check-square-o"></i>
62+
Install PostgreSQL on your server. Assuming you went with Ubuntu run
63+
<code>sudo apt-get install postgresql</code>.</p>
64+
<p><i class="fa fa-check-square-o"></i>
65+
Make sure the <a href="http://initd.org/psycopg/">psycopg2</a> library is part of your
66+
application dependencies.</p>
67+
<p><i class="fa fa-check-square-o"></i>
68+
Configure your web application to connect to the PostgreSQL instance.</p>
69+
<p><i class="fa fa-check-square-o"></i>
70+
Create models in your ORM, either with Django's
71+
<a href="https://docs.djangoproject.com/en/dev/topics/db/">built-in ORM</a> or
72+
<a href="http://www.sqlalchemy.org/">SQLAlchemy with Flask</a>. </p>
73+
<p><i class="fa fa-check-square-o"></i>
74+
Sync the ORM models with the PostgreSQL instance.</p>
75+
<p><i class="fa fa-check-square-o"></i>
76+
Start creating, reading, updating and deleting data in the database from your
77+
web application.</p>
6078
<h2>Relational databases</h2>
6179
<p>The database storage abstraction most commonly used in Python web development
6280
is sets of relational tables. Alternative storage abstractions are explained

feeds/all.atom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
<?xml version="1.0" encoding="utf-8"?>
2-
<feed xmlns="http://www.w3.org/2005/Atom"><title>Matt Makai</title><link href="http://www.fullstackpython.com/" rel="alternate"></link><link href="http://www.fullstackpython.com/feeds/all.atom.xml" rel="self"></link><id>http://www.fullstackpython.com/</id><updated>2014-05-02T08:50:51Z</updated></feed>
2+
<feed xmlns="http://www.w3.org/2005/Atom"><title>Matt Makai</title><link href="http://www.fullstackpython.com/" rel="alternate"></link><link href="http://www.fullstackpython.com/feeds/all.atom.xml" rel="self"></link><id>http://www.fullstackpython.com/</id><updated>2014-05-02T11:11:28Z</updated></feed>

no-sql-datastore.html

Lines changed: 7 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -86,42 +86,33 @@ <h2>NoSQL data stores resources</h2>
8686
<p><a href="http://www.optinidus.com/blogs/guide-to-mongodb-for-startups/">MongoDB for startups</a>
8787
is a guide about using non-relational databases in green field environments.</p>
8888
<h3>What's next?</h3>
89-
<div class="row">
90-
<div class="col-md-3">
89+
<div class="row">
90+
<div class="col-md-4">
9191
<div class="well select-next">
9292
<a href="/databases.html" class="btn btn-success btn-full"><i class="fa fa-hdd-o fa-2x"></i></a>
93-
</a>
9493
<p class="under-btn">
9594
Tell me more about standard relational databases.
9695
</p>
9796
</div>
9897
</div>
99-
<div class="col-md-3">
100-
<div class="well select-next">
101-
<a href="/wsgi-servers.html" class="btn btn-success btn-full"><i class="fa fa-play fa-inverse fa-2x"></i></a>
102-
<p class="under-btn">
103-
How do I set up a WSGI server to run the Python code?
104-
</p>
105-
</div>
106-
</div>
107-
<div class="col-md-3">
98+
<div class="col-md-4">
10899
<div class="well select-next">
109100
<a href="/cascading-style-sheets.html" class="btn btn-success btn-full"><i class="fa fa-css3 fa-inverse fa-2x"></i></a>
101+
</a>
110102
<p class="under-btn">
111-
My app is running, but it looks awful. I need to style the
112-
interface.
103+
My app is running but looks awful. How do I style the interface?
113104
</p>
114105
</div>
115106
</div>
116-
<div class="col-md-3">
107+
<div class="col-md-4">
117108
<div class="well select-next">
118109
<a href="/javascript.html" class="btn btn-success btn-full"><i class="fa fa-html5 fa-inverse fa-2x"></i></a>
119110
<p class="under-btn">
120111
How do I create a better browser experience with JavaScript?
121112
</p>
122113
</div>
123114
</div>
124-
</div> <style type="text/css">
115+
</div> <style type="text/css">
125116
#mc_embed_signup{background:#fff; clear:left; font:12px "Helvetica Neue",Arial,sans-serif; }
126117
/* Add your own MailChimp form style overrides in your site stylesheet or in this style block.
127118
We recommend moving this block and the preceding CSS link to the HEAD of your HTML file. */

source/content/pages/04-data/0401-databases.markdown

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,30 @@ mental framework for how the data should be saved and retrieved instead of
3232
having to figure out what to do with the data every time you build a new
3333
application.
3434

35+
## Databases learning checklist
36+
<i class="fa fa-check-square-o"></i>
37+
Install PostgreSQL on your server. Assuming you went with Ubuntu run
38+
``sudo apt-get install postgresql``.
39+
40+
<i class="fa fa-check-square-o"></i>
41+
Make sure the [psycopg2](http://initd.org/psycopg/) library is part of your
42+
application dependencies.
43+
44+
<i class="fa fa-check-square-o"></i>
45+
Configure your web application to connect to the PostgreSQL instance.
46+
47+
<i class="fa fa-check-square-o"></i>
48+
Create models in your ORM, either with Django's
49+
[built-in ORM](https://docs.djangoproject.com/en/dev/topics/db/) or
50+
[SQLAlchemy with Flask](http://www.sqlalchemy.org/).
51+
52+
<i class="fa fa-check-square-o"></i>
53+
Sync the ORM models with the PostgreSQL instance.
54+
55+
<i class="fa fa-check-square-o"></i>
56+
Start creating, reading, updating and deleting data in the database from your
57+
web application.
58+
3559

3660
## Relational databases
3761
The database storage abstraction most commonly used in Python web development

source/content/pages/04-data/0403-no-sql-datastores.markdown

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,15 @@ title: NoSQL Data Stores
22
category: page
33
slug: no-sql-datastore
44
sort-order: 042
5-
choice1url:
6-
choice1icon:
7-
choice1text:
8-
choice2url:
9-
choice2icon:
10-
choice2text:
11-
choice3url:
12-
choice3icon:
13-
choice3text:
5+
choice1url: /databases.html
6+
choice1icon: fa-hdd-o
7+
choice1text: Tell me more about standard relational databases.
8+
choice2url: /cascading-style-sheets.html
9+
choice2icon: fa-css3 fa-inverse
10+
choice2text: My app is running but looks awful. How do I style the interface?
11+
choice3url: /javascript.html
12+
choice3icon: fa-html5 fa-inverse
13+
choice3text: How do I create a better browser experience with JavaScript?
1414
choice4url:
1515
choice4icon:
1616
choice4text:

source/theme/templates/chapters/no-sql-datastore.html

Lines changed: 0 additions & 36 deletions
This file was deleted.

0 commit comments

Comments
 (0)