com presentations: Added new API slides: phphhvm-tek15.xml slides/mongodb/api-hippo.xml slides/mongodb/api-phongo.xml

[email protected] (Derick Rethans) Tue, 19 May 2015 21:54:12 +0000
Newsgroups php.pres
Message-ID <[email protected]>
Commit:    126fad3728fd40981fcdc1f45698ad1522ec0e89
Author:    Derick Rethans <[email protected]>         Tue, 19 May 2015 16:54:12 -0500
Parents:   77e8b0eb3e5cec6c6b996b4499d953509c3f81a6
Branches:  master

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

Log:
Added new API slides

Changed paths:
  M  phphhvm-tek15.xml
  A  slides/mongodb/api-hippo.xml
  A  slides/mongodb/api-phongo.xml


Diff:
diff --git a/phphhvm-tek15.xml b/phphhvm-tek15.xml
index 0434c42..840ca7d 100644
--- a/phphhvm-tek15.xml
+++ b/phphhvm-tek15.xml
@@ -129,6 +129,10 @@ Composer
 <slide>slides/mongodb/hippo-impl.xml</slide>
 <slide>slides/mongodb/hippo-impl-2.xml</slide>
 
+<slide>slides/mongodb/api-new.xml</slide>
+<slide>slides/mongodb/api-phongo.xml</slide>
+<slide>slides/mongodb/api-hippo.xml</slide>
+
 <!-- ISSUES -->
 
 HHVM is not mature, and certainly not documented.
diff --git a/slides/mongodb/api-hippo.xml b/slides/mongodb/api-hippo.xml
new file mode 100644
index 0000000..bf46b98
--- /dev/null
+++ b/slides/mongodb/api-hippo.xml
@@ -0,0 +1,18 @@
+<slide>
+<title>Hippo output</title>
+
+<example><![CDATA[StdClass
+(
+    [_id] => MongoDB\BSON\ObjectID Object
+        (
+            [oid] => 555b6be7b8c96e1a676318d1
+        )
+
+    [string] => bar
+    [number_i] => 55
+    [number_l] => 12345678901234567
+    [bool] => 1
+    [null] => 
+    [float] => 3.1415926535898
+)]]></example>
+</slide>
diff --git a/slides/mongodb/api-phongo.xml b/slides/mongodb/api-phongo.xml
new file mode 100644
index 0000000..d999ec4
--- /dev/null
+++ b/slides/mongodb/api-phongo.xml
@@ -0,0 +1,18 @@
+<slide>
+<title>Phongo output</title>
+
+<example><![CDATA[Array
+(
+    [_id] => BSON\ObjectID Object
+        (
+            [oid] => 555b6be7b8c96e1a676318d1
+        )
+
+    [string] => bar
+    [number_i] => 55
+    [number_l] => 12345678901234567
+    [bool] => 1
+    [null] => 
+    [float] => 3.1415926535898
+)]]></example>
+</slide>