com presentations: Last minute tweaks to make it non-PHP specific: slides/mongodb/graph.png slides/mongodb/nosql-graph.xml slides/mongodb/query-side-by-side-js.xml sql2nosql-wxg15.xml

[email protected] (Derick Rethans) Fri, 25 Sep 2015 14:18:31 +0000
Newsgroups php.pres
Message-ID <[email protected]>
Commit:    0abab454686734b264219aab982921787ce8dcd6
Author:    Derick Rethans <[email protected]>         Fri, 25 Sep 2015 15:18:31 +0100
Parents:   375dcd668ad4b7fee442074129f23c81781721dc
Branches:  master

Link:       http://git.php.net/?p=presentations.git;a=commitdiff;h=0abab454686734b264219aab982921787ce8dcd6

Log:
Last minute tweaks to make it non-PHP specific

Changed paths:
  A  slides/mongodb/graph.png
  M  slides/mongodb/nosql-graph.xml
  A  slides/mongodb/query-side-by-side-js.xml
  M  sql2nosql-wxg15.xml


Diff:
diff --git a/slides/mongodb/graph.png b/slides/mongodb/graph.png
new file mode 100644
index 0000000..c1f11f3
Binary files /dev/null and b/slides/mongodb/graph.png differ
diff --git a/slides/mongodb/nosql-graph.xml b/slides/mongodb/nosql-graph.xml
index 7b76c8e..1ef79c1 100644
--- a/slides/mongodb/nosql-graph.xml
+++ b/slides/mongodb/nosql-graph.xml
@@ -1,11 +1,12 @@
 <slide>
 <title>NoSQL: Graph</title>
 
+<image filename="graph.png" align="right"/>
+
 <blurb>Example implementations:</blurb>
 <list>
 <bullet>neo4j</bullet>
 </list>
-
 <break/>
 
 <blurb>Data model:</blurb>
diff --git a/slides/mongodb/query-side-by-side-js.xml b/slides/mongodb/query-side-by-side-js.xml
new file mode 100644
index 0000000..b83d6ad
--- /dev/null
+++ b/slides/mongodb/query-side-by-side-js.xml
@@ -0,0 +1,29 @@
+<slide>
+<title>Querying</title>
+
+<example>
+SELECT * FROM table;
+
+db.table.find();
+</example>
+<example>
+SELECT foo, bar FROM table;
+
+db.table.find( {}, { 'foo' : 1, 'bar' : 1 } );
+</example>
+<example>
+SELECT * FROM table WHERE a = 42;
+
+db.table.find( { 'a' : 42 } );
+</example>
+<example>
+SELECT * FROM table WHERE a = 'whisky' AND b > 18;
+
+db.table.find( { 'a' : 'whisky', 'b' : { '$gt' : 18 } } );
+</example>
+<example>
+SELECT * FROM table1 LEFT JOIN table2 ON (table1.a = table2.b);
+
+???
+</example>
+</slide>
diff --git a/sql2nosql-wxg15.xml b/sql2nosql-wxg15.xml
index 221b902..9c9ab10 100644
--- a/sql2nosql-wxg15.xml
+++ b/sql2nosql-wxg15.xml
@@ -35,9 +35,9 @@
 <slide>slides/mongodb/document.xml</slide>
 <slide>slides/mongodb/mongodb-1nf.xml</slide>
 <slide>slides/mongodb/mongodb-3nf.xml</slide>
-<slide>slides/mongodb/insert-intro.xml</slide>
-<slide>slides/mongodb/query-side-by-side.xml</slide>
-<slide>slides/mongodb/update-intro.xml</slide>
+<slide>slides/mongodb/insert-intro-shell.xml</slide>
+<slide>slides/mongodb/query-side-by-side-js.xml</slide>
+<slide>slides/mongodb/update-intro-shell.xml</slide>
 
 <slide>slides/mongodb/arbitrary-keys1.xml</slide>
 <slide>slides/mongodb/one-to-many2.xml</slide>