com presentations: All the other history slides: phphhvm-tek15.xml slides/mongodb/author-derickr.png slides/mongodb/author-hannes.png slides/mongodb/author-jeremy.png slides/mongodb/driver-current-status.xml slides/mongodb/driver-history-0.9.0.xml slides/mongodb/driver-history-1.0.0-2.xml slides/mongodb/driver-history-1.0.0.xml slides/mongodb/driver-history-1.2.8.xml slides/mongodb/driver-history-1.3.0.xml slides/mongodb/driver-history-1.6.0.xml
[email protected] (Derick Rethans)
| Newsgroups | php.pres |
|---|---|
| Message-ID | <[email protected]> |
Commit: eaac24fc360195ebb1d2fc7c25e08e110298fbfb Author: Derick Rethans <[email protected]> Sun, 17 May 2015 13:03:59 -0500 Parents: 167dfbc9377696987f078d492134cf4da20966c6 Branches: master Link: http://git.php.net/?p=presentations.git;a=commitdiff;h=eaac24fc360195ebb1d2fc7c25e08e110298fbfb Log: All the other history slides Changed paths: M phphhvm-tek15.xml A slides/mongodb/author-derickr.png A slides/mongodb/author-hannes.png A slides/mongodb/author-jeremy.png A slides/mongodb/driver-current-status.xml A slides/mongodb/driver-history-0.9.0.xml A slides/mongodb/driver-history-1.0.0-2.xml A slides/mongodb/driver-history-1.0.0.xml A slides/mongodb/driver-history-1.2.8.xml A slides/mongodb/driver-history-1.3.0.xml A slides/mongodb/driver-history-1.6.0.xml A slides/mongodb/mongo-git-messy.png A slides/mongodb/mongo-git-not-messy.png
diff_eaac24fc360195ebb1d2fc7c25e08e110298fbfb.txt
(text/plain, 7.8 KB)
diff --git a/phphhvm-tek15.xml b/phphhvm-tek15.xml
index 079de69..434ec98 100644
--- a/phphhvm-tek15.xml
+++ b/phphhvm-tek15.xml
@@ -42,20 +42,29 @@ first driver (0.8.4) april 2009
0.9.0 - 5.3 support (may 2009)
- does db, cursor and collection classes
+<slide>slides/mongodb/driver-history-0.9.0.xml</slide>
+
1.0.0 - sept 2009
- the choice to always return arrays is made
+<slide>slides/mongodb/driver-history-1.0.0.xml</slide>
+<slide>slides/mongodb/driver-history-1.0.0-2.xml</slide>
nov 2011 - I start helping out
jan 2012 - Hannes does the odd patch
feb 2012 - Kristina retires - 1.2.8
by now, we don't rely on PHP classes at all anymore
+
+<slide>slides/mongodb/driver-history-1.2.8.xml</slide>
+
jun 2012 - Hannes starts helping out properly
aug 2012 - merge in new connection handling (no more connection pools) 1.3.0alpha1
- we start using sane branches with git
sep 2012 - jeremy starts doing the odd patches
nov 2012 - 1.3!
+<slide>slides/mongodb/driver-history-1.3.0.xml</slide>
+
releases now come close to MongoDB server releases
1.4 ssl support may 2013 (2.4)
@@ -63,6 +72,8 @@ may 2013 - Jeremy starts helping out properly
1.5 sasl support, command cursors apr 2014 (2.6)
1.6 rewritten cursor support. MONGO_METHOD refactoring / MongoDB 3.0 support jan 2015 (3.0)
+<slide>slides/mongodb/driver-history-1.6.0.xml</slide>
+
That much for history, the current state of the driver is:
- Three guys working on it
@@ -72,6 +83,8 @@ That much for history, the current state of the driver is:
- GridFS
- Some interesting design choices (array/object output)
+<slide>slides/mongodb/driver-current-status.xml</slide>
+
<!-- NEW GOALS -->
- Easier to maintain
diff --git a/slides/mongodb/author-derickr.png b/slides/mongodb/author-derickr.png
new file mode 100644
index 0000000..9bbc502
Binary files /dev/null and b/slides/mongodb/author-derickr.png differ
diff --git a/slides/mongodb/author-hannes.png b/slides/mongodb/author-hannes.png
new file mode 100644
index 0000000..6a18de7
Binary files /dev/null and b/slides/mongodb/author-hannes.png differ
diff --git a/slides/mongodb/author-jeremy.png b/slides/mongodb/author-jeremy.png
new file mode 100644
index 0000000..6528d4f
Binary files /dev/null and b/slides/mongodb/author-jeremy.png differ
diff --git a/slides/mongodb/driver-current-status.xml b/slides/mongodb/driver-current-status.xml
new file mode 100644
index 0000000..78a6061
--- /dev/null
+++ b/slides/mongodb/driver-current-status.xml
@@ -0,0 +1,23 @@
+<slide>
+<title>MongoDB driver — current</title>
+
+<table><tr>
+<td><image filename="author-derickr.png"/></td>
+<td><image filename="author-hannes.png"/></td>
+<td><image filename="author-jeremy.png"/></td>
+</tr></table>
+
+<blurb>The driver generally works well, but there are issues:</blurb>
+<list>
+ <bullet>Former "great" design choices, among them:
+ <list>
+ <bullet>array/object deserialization</bullet>
+ <bullet>positional arguments/options array</bullet>
+ <bullet>not a clear strategy for which command we add helpers</bullet>
+ <bullet>static MongoCursor::timeout and ::slaveOkaym methods</bullet>
+ <bullet>MongoLog and stream context listeners</bullet>
+ </list>
+ </bullet>
+ <bullet>The GridFS implementation could get some more love</bullet>
+</list>
+</slide>
diff --git a/slides/mongodb/driver-history-0.9.0.xml b/slides/mongodb/driver-history-0.9.0.xml
new file mode 100644
index 0000000..e37e33f
--- /dev/null
+++ b/slides/mongodb/driver-history-0.9.0.xml
@@ -0,0 +1,11 @@
+<slide>
+<title>History: 0.9.0 (May 2009)</title>
+
+<image filename="author-kristina.png" align="right"/>
+
+<list>
+ <bullet>Support for PHP 5.3</bullet>
+ <bullet>Reimplements most PHP based functionality into C</bullet>
+ <bullet>Tests are implemented with PHPUnit</bullet>
+</list>
+</slide>
diff --git a/slides/mongodb/driver-history-1.0.0-2.xml b/slides/mongodb/driver-history-1.0.0-2.xml
new file mode 100644
index 0000000..3c46cf3
--- /dev/null
+++ b/slides/mongodb/driver-history-1.0.0-2.xml
@@ -0,0 +1,25 @@
+<slide>
+<title>History: 1.0.0 (September 2009)</title>
+
+<list>
+ <bullet>Both BSON arrays and documents come now back into PHP as arrays:
+ <example result="1"><![CDATA[<?php
+$m = new Mongo;
+$c = $m->selectCollection( 'demo', 'test' );
+$c->drop();
+
+$doc1 = new StdClass;
+$doc1->foo = 'bar';
+$doc2 = array( 'foo' => 'bar' );
+
+$c->insert( $doc1 );
+$c->insert( $doc2 );
+
+foreach( $c->find( array( 'foo' => 'bar' ), array( '_id' => 0 ) ) as $result )
+{
+ var_dump( $result );
+}
+?>]]></example>
+ </bullet>
+</list>
+</slide>
diff --git a/slides/mongodb/driver-history-1.0.0.xml b/slides/mongodb/driver-history-1.0.0.xml
new file mode 100644
index 0000000..672d188
--- /dev/null
+++ b/slides/mongodb/driver-history-1.0.0.xml
@@ -0,0 +1,19 @@
+<slide>
+<title>History: 1.0.0 (September 2009)</title>
+
+<list>
+ <bullet>Query operators don't have to start with %$% anymore:
+ <example><![CDATA[<?php
+$m = new Mongo;
+$c = $m->selectCollection( 'dbname', 'colname' );
+$r = $c->find( array( "fieldname" => array( "$gte" => 42 ) ) );
+?>]]></example>
+ <blurb>%ini_set( 'mongo.cmd', '@' );%</blurb>
+ <example><![CDATA[<?php
+$m = new Mongo;
+$c = $m->selectCollection( 'dbname', 'colname' );
+$r = $c->find( array( "fieldname" => array( "@gte" => 42 ) ) );
+?>]]></example>
+ </bullet>
+</list>
+</slide>
diff --git a/slides/mongodb/driver-history-1.2.8.xml b/slides/mongodb/driver-history-1.2.8.xml
new file mode 100644
index 0000000..5fadd8b
--- /dev/null
+++ b/slides/mongodb/driver-history-1.2.8.xml
@@ -0,0 +1,10 @@
+<slide>
+<title>History: 1.2.8 (February 2012)</title>
+
+<list>
+ <bullet>I start helping out <image filename="author-derickr.png" align="right" /> as a contractor, after having messed with integer types (November 2011)</bullet>
+ <bullet>We no longer use any functionality implemented as PHP classes</bullet>
+ <bullet>Connection handling uses connection pools</bullet>
+ <bullet>Kristina's last release <image filename="author-kristina.png" align="right" /></bullet>
+</list>
+</slide>
diff --git a/slides/mongodb/driver-history-1.3.0.xml b/slides/mongodb/driver-history-1.3.0.xml
new file mode 100644
index 0000000..5c5168d
--- /dev/null
+++ b/slides/mongodb/driver-history-1.3.0.xml
@@ -0,0 +1,11 @@
+<slide>
+<title>History: 1.3.0 (November 2012)</title>
+
+<list>
+ <bullet>Hannes starts helping out <image filename="author-hannes.png" align="right" /> (June 2012)</bullet>
+ <bullet>Rewritten connection handling and replica set connection management</bullet>
+ <bullet>Sane branching in GIT:
+<table><tr><td><image filename="mongo-git-messy.png"/> <image filename="mongo-git-not-messy.png"/></td></tr></table>
+</bullet>
+</list>
+</slide>
diff --git a/slides/mongodb/driver-history-1.6.0.xml b/slides/mongodb/driver-history-1.6.0.xml
new file mode 100644
index 0000000..7a50a18
--- /dev/null
+++ b/slides/mongodb/driver-history-1.6.0.xml
@@ -0,0 +1,10 @@
+<slide>
+<title>History: 1.4.0-1.6.0</title>
+
+<blurb>Releases now come together with MongoDB server releases</blurb>
+<list>
+ <bullet>May 2013 — 1.4.0 — MongoDB 2.4<br/>SSL support, Jeremy starts helping out <image filename="author-jeremy.png" align="right"/></bullet>
+ <bullet>Apr 2014 — 1.5.0 — MongoDB 2.6<br/>SASL support, command cursors</bullet>
+ <bullet>Jan 2015 — 1.6.0 — MongoDB 3.0<br/>Rewritten cursor support, and MONGO_METHOD refactoring</bullet>
+</list>
+</slide>
diff --git a/slides/mongodb/mongo-git-messy.png b/slides/mongodb/mongo-git-messy.png
new file mode 100644
index 0000000..6a5e457
Binary files /dev/null and b/slides/mongodb/mongo-git-messy.png differ
diff --git a/slides/mongodb/mongo-git-not-messy.png b/slides/mongodb/mongo-git-not-messy.png
new file mode 100644
index 0000000..6d0dfc8
Binary files /dev/null and b/slides/mongodb/mongo-git-not-messy.png differ