Skip to content

Commit 0e2be1f

Browse files
committed
adding why databases are necessary
1 parent c5d576a commit 0e2be1f

File tree

5 files changed

+37
-9
lines changed

5 files changed

+37
-9
lines changed

change-log.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,7 @@ <h1>Change Log</h1>
8181
<h2>2014</h2>
8282
<h3>March</h3>
8383
<ul>
84+
<li>Added why for databases.</li>
8485
<li>Updating best resources page with newsletters and a few additional beyond
8586
the basics resources.</li>
8687
<li>Adding 'why is this necessary' sections to servers, operating systems,

databases.html

Lines changed: 15 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -75,10 +75,21 @@
7575
<div class="col-md-8">
7676
<h1>Databases</h1>
7777
<p>A database is an abstraction on top of an operating system's file system to
78-
ease creating, reading, updating, and deleting persistent data. The
79-
database storage abstraction most commonly used in Python web development is
80-
sets of relational tables. Alternative storage abstractions are explained in
81-
the <a href="../no-sql-datastore.html">NoSQL</a> section of this guide.</p>
78+
ease creating, reading, updating, and deleting persistent data. </p>
79+
<h2>Why are databases necessary?</h2>
80+
<p>At a high level web applications store data and present it to users in a
81+
useful way. For example, Google stores data about roads and provides
82+
directions to get from one location to another by driving through the
83+
<a href="https://www.google.com/maps/">Maps</a> application. Driving directions are
84+
possible because the data is stored in a structured way. </p>
85+
<p>Databases make structured storage reliable and fast. They also give you a
86+
mental framework for how the data should be saved and retrieved instead of
87+
having to figure out what to do with the data every time you build a new
88+
application.</p>
89+
<h2>Relational databases</h2>
90+
<p>The database storage abstraction most commonly used in Python web development
91+
is sets of relational tables. Alternative storage abstractions are explained
92+
in the <a href="../no-sql-datastore.html">NoSQL</a> section of this guide.</p>
8293
<p>Relational databases store all data in a series of tables. Interconnections
8394
between the tables are specified as <em>foreign keys</em>.</p>
8495
<p>Databases storage implementations vary in complexity. SQLite, a database

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-03-15T09:20:22Z</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-03-15T09:51:43Z</updated></feed>

source/content/pages/06-databases/0601-databases.markdown

Lines changed: 19 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,25 @@ sort-order: 06
66

77
# Databases
88
A database is an abstraction on top of an operating system's file system to
9-
ease creating, reading, updating, and deleting persistent data. The
10-
database storage abstraction most commonly used in Python web development is
11-
sets of relational tables. Alternative storage abstractions are explained in
12-
the [NoSQL](../no-sql-datastore.html) section of this guide.
9+
ease creating, reading, updating, and deleting persistent data.
10+
11+
## Why are databases necessary?
12+
At a high level web applications store data and present it to users in a
13+
useful way. For example, Google stores data about roads and provides
14+
directions to get from one location to another by driving through the
15+
[Maps](https://www.google.com/maps/) application. Driving directions are
16+
possible because the data is stored in a structured way.
17+
18+
Databases make structured storage reliable and fast. They also give you a
19+
mental framework for how the data should be saved and retrieved instead of
20+
having to figure out what to do with the data every time you build a new
21+
application.
22+
23+
24+
## Relational databases
25+
The database storage abstraction most commonly used in Python web development
26+
is sets of relational tables. Alternative storage abstractions are explained
27+
in the [NoSQL](../no-sql-datastore.html) section of this guide.
1328

1429
Relational databases store all data in a series of tables. Interconnections
1530
between the tables are specified as *foreign keys*.

source/content/pages/change-log.markdown

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ the
1212

1313
## 2014
1414
### March
15+
* Added why for databases.
1516
* Updating best resources page with newsletters and a few additional beyond
1617
the basics resources.
1718
* Adding 'why is this necessary' sections to servers, operating systems,

0 commit comments

Comments
 (0)