Class Outline: Using the DB API
1. A Super-Fast Introduction to the Relational Model
* Everything is in tables
* The role of the primary key
* SQL in a Nutshell
2. The DB API
* Connections
* Cursors
* Exceptions
* Some API-compliant modules
3. Connecting to the Database
* Creating connections
* Transactions
* Connection pooling
* Thread safety
4. Executing Queries
* Some representations of queries
* Building the query string
* Processing the results
* Representing results for convenient processing
5. Handling Updates
* Inserting new data
* Deleting old data
* Updating existing data
6. Aiming for Portability
* Different connection arguments
* Differing paramstyles
* SQL differences
7. Putting it All Together
* Real applications code