Permalink
Browse files

Split the nosql slides.

  • Loading branch information...
1 parent 5e1837d commit 525ff0e0ad632f822704fa371370a05c3ebf3465 @spraints committed Mar 26, 2010
Showing with 121 additions and 121 deletions.
  1. +31 −0 03-nosql/a-overview.md
  2. +41 −0 03-nosql/b-redis.md
  3. +35 −0 03-nosql/c-couchdb.md
  4. +5 −0 03-nosql/d-mongo.md
  5. +2 −0 03-nosql/e-bigtable.md
  6. +7 −0 03-nosql/f-pros_and_cons.md
  7. +0 −121 03-nosql/other-databases.md
View
31 03-nosql/a-overview.md
@@ -0,0 +1,31 @@
+!SLIDE
+ @@@ sql
+ select d.database_name
+ from databases d
+ join database_types t
+ on t.id = d.database_type_id
+ where t.database_type <> 'Relational'
+
+!SLIDE
+ @@@ sql
+ select database_type
+ from database_types
+
+!SLIDE bullets incremental
+
+# Database types #
+
+* Key-value
+* Document-oriented
+* Column-oriented
+
+!SLIDE
+ @@@ sql
+ select database_type, database_name
+ from database_types t
+ join databases d
+ on d.database_type_id = t.id
+
+!SLIDE full-page
+
+![Visual guide to nosql systems](visual-guide-to-nosql-systems.png)
View
41 03-nosql/b-redis.md
@@ -0,0 +1,41 @@
+!SLIDE commandline incremental
+
+# Redis
+
+ $ SET presentation:name "NOSQL Brown Bag"
+ "OK"
+
+ $ GET presentation:name
+ "NOSQL Brown Bag"
+
+!SLIDE commandline incremental
+
+# Redis
+
+ $ SET presentation:slides 1
+ "OK"
+
+ $ INCR presentation:slides
+ 2
+
+!SLIDE commandline incremental
+
+# Redis
+
+ $ SET presentation:interesting true
+ "OK"
+
+ $ EXPIRE presentation:interesting 45
+ "OK"
+
+ $ TTL presentation:interesting
+ 37
+
+!SLIDE bullets
+
+# Redis
+
+* List
+* Set
+* Sorted set
+* <http://try.redis-db.com/>
View
35 03-nosql/c-couchdb.md
@@ -0,0 +1,35 @@
+!SLIDE
+
+# CouchDB
+
+ @@@ javascript
+ {
+ "first_name": "Matt",
+ "employer": "SEP",
+ "hobbies": [
+ "programming",
+ "farming"
+ ]
+ }
+
+!SLIDE commandline incremental
+
+# CouchDB
+
+ $ curl -X PUT http://localhost:5984/test/
+ {"ok":true}
+
+ $ curl -X PUT -d '{"name": "Matt"}' http://localhost:5984/test/maburke
+ {"ok":true,"id":"maburke",
+ "rev":"1-47804390369d435cb116403da935bdd5"}
+
+ $ curl http://localhost:5984/test/maburke
+ {"_id":"maburke","_rev":"1-47804390369d435cb116403da935bdd5",
+ "name":"Matt"}
+
+
+!SLIDE
+
+# CouchDB
+
+ @@@ javascript
View
5 03-nosql/d-mongo.md
@@ -0,0 +1,5 @@
+!SLIDE
+# (mongo documents)
+
+!SLIDE
+# (mongo map-reduce)
View
2 03-nosql/e-bigtable.md
@@ -0,0 +1,2 @@
+!SLIDE
+# (bigtable stuff)
View
7 03-nosql/f-pros_and_cons.md
@@ -0,0 +1,7 @@
+!SLIDE
+
+# Why you should...
+
+!SLIDE
+
+# Why you shouldn't...
View
121 03-nosql/other-databases.md
@@ -1,121 +0,0 @@
-!SLIDE
- @@@ sql
- select d.database_name
- from databases d
- join database_types t
- on t.id = d.database_type_id
- where t.database_type <> 'Relational'
-
-!SLIDE
- @@@ sql
- select database_type
- from database_types
-
-!SLIDE bullets incremental
-
-# Database types #
-
-* Key-value
-* Document-oriented
-* Column-oriented
-
-!SLIDE
- @@@ sql
- select database_type, database_name
- from database_types t
- join databases d
- on d.database_type_id = t.id
-
-!SLIDE full-page
-
-![Visual guide to nosql systems](visual-guide-to-nosql-systems.png)
-
-!SLIDE
-# how to use some of these
-
-!SLIDE commandline incremental
-
-# Redis
-
- $ SET presentation:name "NOSQL Brown Bag"
- "OK"
-
- $ GET presentation:name
- "NOSQL Brown Bag"
-
-!SLIDE commandline incremental
-
-# Redis
-
- $ SET presentation:slides 1
- "OK"
-
- $ INCR presentation:slides
- 2
-
-!SLIDE commandline incremental
-
-# Redis
-
- $ SET presentation:interesting true
- "OK"
-
- $ EXPIRE presentation:interesting 45
- "OK"
-
- $ TTL presentation:interesting
- 37
-
-!SLIDE bullets
-
-# Redis
-
-* List
-* Set
-* Sorted set
-* <http://try.redis-db.com/>
-
-!SLIDE
-
-# CouchDB
-
- @@@ javascript
- {
- "first_name": "Matt",
- "employer": "SEP",
- "hobbies": [
- "programming",
- "farming"
- ]
- }
-
-!SLIDE commandline incremental
-
-# CouchDB
-
- $ curl -X PUT http://localhost:5984/test/
- {"ok":true}
-
- $ curl -X PUT -d '{"name": "Matt"}' http://localhost:5984/test/maburke
- {"ok":true,"id":"maburke",
- "rev":"1-47804390369d435cb116403da935bdd5"}
-
- $ curl http://localhost:5984/test/maburke
- {"_id":"maburke","_rev":"1-47804390369d435cb116403da935bdd5",
- "name":"Matt"}
-
-
-!SLIDE
-
-# CouchDB
-
- @@@ javascript
-
-!SLIDE
-# (mongo documents)
-
-!SLIDE
-# (mongo map-reduce)
-
-!SLIDE
-# (bigtable stuff)

0 comments on commit 525ff0e

Please sign in to comment.