com presentations: Added PHP London talk: mongo-phplondon16.xml slides/mongodb/clinks1.xml slides/mongodb/clinks2.xml slides/mongodb/clinks3.xml slides/mongodb/clinks4.xml slides/mongodb/me.xml

[email protected] (Derick Rethans) Thu, 01 Sep 2016 14:09:04 +0000
Newsgroups php.pres
Message-ID <[email protected]>
Commit:    1ea1d932770c56e351068d84d19614084b42a98b
Author:    Derick Rethans <[email protected]>         Thu, 1 Sep 2016 15:09:04 +0100
Parents:   cf62e4cb06036bc04ddbb55104fb6380fe31b943
Branches:  master

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

Log:
Added PHP London talk

Changed paths:
  A  mongo-phplondon16.xml
  M  slides/mongodb/clinks1.xml
  M  slides/mongodb/clinks2.xml
  M  slides/mongodb/clinks3.xml
  M  slides/mongodb/clinks4.xml
  M  slides/mongodb/me.xml


Diff:
diff --git a/mongo-phplondon16.xml b/mongo-phplondon16.xml
new file mode 100644
index 0000000..f413627
--- /dev/null
+++ b/mongo-phplondon16.xml
@@ -0,0 +1,91 @@
+<?xml version="1.0" encoding="utf-8"?>
+<presentation css="10gen-strict.css">
+<topic>MongoDB</topic>
+<title>Grown-up MongoDB: Schema Design</title>
+<event>PHP London</event>
+<location>London, UK</location>
+<date>Sep 1st, 2016</date>
+<speaker>Derick Rethans</speaker>
+<email>[email protected]</email>
+<twitter>derickr</twitter>
+<url>http://derickrethans.nl/talks.html</url>
+<joindin></joindin>
+<slide>slides/mongodb/title.xml</slide>
+<slide>slides/mongodb/me.xml</slide>
+
+<slide>slides/mongodb/agenda-grownup.xml</slide>
+
+** Terms **
+
+<slide>slides/mongodb/collections-documents.xml</slide>
+
+<slide>slides/mongodb/document-title.xml</slide>
+<slide>slides/mongodb/document-simple.xml</slide>
+<slide>slides/mongodb/document-complex.xml</slide>
+
+<slide>slides/mongodb/collections-title.xml</slide>
+<slide>slides/mongodb/collections.xml</slide>
+
+<slide>slides/mongodb/index-title.xml</slide>
+<slide>slides/mongodb/index.xml</slide>
+
+** From PHP **
+
+<slide>slides/mongodb/phplib-title.xml</slide>
+<slide>slides/mongodb/phplib-intro.xml</slide>
+<slide>slides/mongodb/phplib-crud.xml</slide>
+<slide>slides/mongodb/phplib-index.xml</slide>
+
+<slide>slides/mongodb/keys-title.xml</slide>
+<slide>slides/mongodb/data-model.xml</slide>
+
+Common Patterns
+
+- RDBMS-normalisation.
+
+<slide>slides/mongodb/eav.xml</slide>
+<slide>slides/mongodb/eav2.xml</slide>
+<slide>slides/mongodb/eav3.xml</slide>
+
+<slide>slides/mongodb/dram-erd.xml</slide>
+<slide>slides/mongodb/dram-erd-in-mongo.xml</slide>
+<slide>slides/mongodb/whisky-words.xml</slide>
+<slide>slides/mongodb/whisky-checking.xml</slide>
+
+<slide>slides/mongodb/clinks.xml</slide>
+<slide>slides/mongodb/clinks1.xml</slide>
+<slide>slides/mongodb/clinks2.xml</slide>
+<slide>slides/mongodb/clinks3.xml</slide>
+<slide>slides/mongodb/clinks4.xml</slide>
+<slide>slides/mongodb/clinks5.xml</slide>
+
+<slide>slides/mongodb/document-validation.xml</slide>
+
+<slide>slides/mongodb/embed-vs-link.xml</slide>
+
+<slide>slides/mongodb/index-title.xml</slide>
+<slide>slides/mongodb/indexes-new.xml</slide>
+<slide>slides/mongodb/indexes-php.xml</slide>
+
+<slide>slides/mongodb/indexes-explain-noindex.xml</slide>
+
+<slide>slides/mongodb/indexes-explain2.xml</slide>
+<slide>slides/mongodb/indexes-explain-index-sort.xml</slide>
+<slide>slides/mongodb/indexes-explain3.xml</slide>
+
+<slide>slides/mongodb/indexes-special.xml</slide>
+
+<!-- MongoDB text search -->
+<!--
+<slide>slides/mongodb/text-create-index-php.xml</slide>
+<slide>slides/mongodb/text-run-command.xml</slide>
+<slide>slides/mongodb/text-index-options.xml</slide>
+<slide>slides/mongodb/text-query-syntax.xml</slide>
+-->
+<slide>slides/mongodb/recap-grownup.xml</slide>
+
+<slide>slides/mongodb/questions.xml</slide>
+<slide>slides/mongodb/mongodbeurope16.xml</slide>
+<slide>slides/mongodb/resources.xml</slide>
+
+</presentation>
diff --git a/slides/mongodb/clinks1.xml b/slides/mongodb/clinks1.xml
index fa72b78..adb7c92 100644
--- a/slides/mongodb/clinks1.xml
+++ b/slides/mongodb/clinks1.xml
@@ -9,7 +9,7 @@
 }
 ]]></example>
 
-<blurb>See whether user has toasted:<example>
+<blurb>See whether user has clinked:<example>
 $q = new Query( [ '_id' => new ObjectID( $checkin_id ), 'clinked_by.slug' => $slug );
 $res = iterator_to_array( $manager->executeQuery( 'dramio.checkins', $q ) );
 return count( $res[0] ) > 0;
diff --git a/slides/mongodb/clinks2.xml b/slides/mongodb/clinks2.xml
index 5e3f8dd..5bd7567 100644
--- a/slides/mongodb/clinks2.xml
+++ b/slides/mongodb/clinks2.xml
@@ -9,7 +9,7 @@
 }
 ]]></example>
 
-<blurb>See whether user has toasted:<example>
+<blurb>See whether user has clinked:<example>
 $q = new Query( [ '_id' => new ObjectID( $checkin_id ), 'clinked_by.slug' => $slug );
 $res = iterator_to_array( $manager->executeQuery( 'dramio.checkins', $q ) );
 return count( $res[0] ) > 0;
diff --git a/slides/mongodb/clinks3.xml b/slides/mongodb/clinks3.xml
index 77b61c1..965b8c6 100644
--- a/slides/mongodb/clinks3.xml
+++ b/slides/mongodb/clinks3.xml
@@ -9,7 +9,7 @@
 }
 ]]></example>
 
-<blurb>See whether user has toasted:<example inline="1">
+<blurb>See whether user has clinked:<example inline="1">
 $q = new Query( [ '_id' => new ObjectID( $checkin_id ), 'clinked_by.slug' => $slug );
 $res = iterator_to_array( $manager->executeQuery( 'dramio.checkins', $q ) );
 return *(($res[0]->clinked_count->{$res[0]->user_slug} % 2) == 1);*
diff --git a/slides/mongodb/clinks4.xml b/slides/mongodb/clinks4.xml
index f0d2be7..15fbea3 100644
--- a/slides/mongodb/clinks4.xml
+++ b/slides/mongodb/clinks4.xml
@@ -20,8 +20,8 @@ $result = $cursor->toArray()[0];
 
 return [
     'newCheckin' => $result->value,
-    *'toastedNew' => $result->value->clinked_count->{$user->slug} == 1,*
-    *'toasted' => ($result->value->clinked_count->{$user->slug} % 2) == 1*
+    *'clinkedNew' => $result->value->clinked_count->{$user->slug} == 1,*
+    *'clinked' => ($result->value->clinked_count->{$user->slug} % 2) == 1*
 ];
 </example></blurb>
 
diff --git a/slides/mongodb/me.xml b/slides/mongodb/me.xml
index 6165951..e0d34b0 100644
--- a/slides/mongodb/me.xml
+++ b/slides/mongodb/me.xml
@@ -9,7 +9,7 @@
 		<bullet>I'm *Dutch/British* living in London</bullet>
 		<bullet>One of the PHP/HHVM *MongoDB* driver maintainers</bullet>
 		<bullet>Author of the PHP debugger tool *Xdebug*, PHP's Date/Time/Timezone support, and a bunch of other PHP extensions</bullet>
-		<bullet>I ♥🌍 maps, I ♥🍺 beer </bullet>
+		<bullet>I ♥🌍 maps, I ♥🍺 beer, I ♥🥃  whisky</bullet>
 		<bullet>twitter: @derickr</bullet>
 	</list>
 </slide>