com presentations: Engines and architecture slides: phphhvm-tek15.xml slides/mongodb/elephpants.jpg slides/mongodb/elephpants2.jpg slides/mongodb/engines-hhvm.xml slides/mongodb/engines-php5.xml slides/mongodb/engines-php7.xml slides/mongodb/hhvm.png slides/mongodb/new-architecture.png slides/mongodb/new-architecture.xml slides/mongodb/the-engines.xml
[email protected] (Derick Rethans)
| Newsgroups | php.pres |
|---|---|
| Message-ID | <[email protected]> |
Commit: e6488769b04192a701d7fb75f2e0c89bbf64b1d6 Author: Derick Rethans <[email protected]> Sun, 17 May 2015 17:11:30 -0500 Parents: 246fea32cbabb89d843029278867cdd60cb7ee1a Branches: master Link: http://git.php.net/?p=presentations.git;a=commitdiff;h=e6488769b04192a701d7fb75f2e0c89bbf64b1d6 Log: Engines and architecture slides Changed paths: M phphhvm-tek15.xml A slides/mongodb/elephpants.jpg A slides/mongodb/elephpants2.jpg A slides/mongodb/engines-hhvm.xml A slides/mongodb/engines-php5.xml A slides/mongodb/engines-php7.xml A slides/mongodb/hhvm.png A slides/mongodb/new-architecture.png A slides/mongodb/new-architecture.xml A slides/mongodb/the-engines.xml Diff: diff --git a/phphhvm-tek15.xml b/phphhvm-tek15.xml index bf5bc26..2d1a978 100644 --- a/phphhvm-tek15.xml +++ b/phphhvm-tek15.xml @@ -94,16 +94,16 @@ That much for history, the current state of the driver is: <slide>slides/mongodb/new-driver-goals.xml</slide> <!-- THE ENGINES --> +<slide>slides/mongodb/the-engines.xml</slide> <!-- PHP 5 --> +<slide>slides/mongodb/engines-php5.xml</slide> <!-- HHVM --> - -Explain what HHVM is. +<slide>slides/mongodb/engines-hhvm.xml</slide> <!-- PHP 7 --> - -Explain that PHP 7 is totally different +<slide>slides/mongodb/engines-php7.xml</slide> <!-- NEW ARCHITECTURE --> @@ -112,6 +112,8 @@ libbson, libmongoc, Hippo, Phongo and Phplib (flip?) Other packages on top (GridFS) Composer +<slide>slides/mongodb/new-architecture.xml</slide> + - MongoDB vs Mongo extension <slide>slides/mongodb/new-driver-bc.xml</slide> @@ -121,7 +123,7 @@ Composer HHVM is not mature, and certainly not documented. -- SLow going, mention the hhvm cookbook +- Slow going, mention the hhvm cookbook - issues with cursor and foreach iteration - APIs changing in Phongo meant that things had to be redone for Hippo - Namespaces for drivers, exception and bson classes diff --git a/slides/mongodb/elephpants.jpg b/slides/mongodb/elephpants.jpg new file mode 100644 index 0000000..8104863 Binary files /dev/null and b/slides/mongodb/elephpants.jpg differ diff --git a/slides/mongodb/elephpants2.jpg b/slides/mongodb/elephpants2.jpg new file mode 100644 index 0000000..f59d6d7 Binary files /dev/null and b/slides/mongodb/elephpants2.jpg differ diff --git a/slides/mongodb/engines-hhvm.xml b/slides/mongodb/engines-hhvm.xml new file mode 100644 index 0000000..996f7d5 --- /dev/null +++ b/slides/mongodb/engines-hhvm.xml @@ -0,0 +1,14 @@ +<slide> +<title>Engine: HHVM</title> + +<list> + <bullet>From Facebook</bullet> + <bullet>HipHop for PHP: compiles PHP to binary via C++</bullet> + <bullet>HHVM: a JIT engine</bullet> + <bullet>Also supports Hack language, Xdebug, etc...</bullet> + <bullet>Written in C++, and OCAML, and others</bullet> +</list> + +<break lines="2"/> +<image filename="hhvm.png"/> +</slide> diff --git a/slides/mongodb/engines-php5.xml b/slides/mongodb/engines-php5.xml new file mode 100644 index 0000000..2fc53f6 --- /dev/null +++ b/slides/mongodb/engines-php5.xml @@ -0,0 +1,11 @@ +<slide> +<title>Engine: PHP 5</title> + +<list> + <bullet>PHP 5.3 - PHP 5.6</bullet> + <bullet>Not sure what else to say really...</bullet> +</list> + +<break lines="4"/> +<div effect="fade-in"><image filename="elephpants.jpg"/></div> +</slide> diff --git a/slides/mongodb/engines-php7.xml b/slides/mongodb/engines-php7.xml new file mode 100644 index 0000000..eb29170 --- /dev/null +++ b/slides/mongodb/engines-php7.xml @@ -0,0 +1,10 @@ +<slide> +<title>Engine: PHP 7</title> + +<list> + <bullet>User land code (mostly) compatible with PHP 5</bullet> + <bullet>Internals quite a lot **different** than PHP 5</bullet> +</list> + +<div effect="fade-in"><image filename="elephpants2.jpg"/></div> +</slide> diff --git a/slides/mongodb/hhvm.png b/slides/mongodb/hhvm.png new file mode 100644 index 0000000..2133930 Binary files /dev/null and b/slides/mongodb/hhvm.png differ diff --git a/slides/mongodb/new-architecture.png b/slides/mongodb/new-architecture.png new file mode 100644 index 0000000..5373e65 Binary files /dev/null and b/slides/mongodb/new-architecture.png differ diff --git a/slides/mongodb/new-architecture.xml b/slides/mongodb/new-architecture.xml new file mode 100644 index 0000000..c55e849 --- /dev/null +++ b/slides/mongodb/new-architecture.xml @@ -0,0 +1,5 @@ +<slide> +<title>New architecture</title> + +<image filename="new-architecture.png" /> +</slide> diff --git a/slides/mongodb/the-engines.xml b/slides/mongodb/the-engines.xml new file mode 100644 index 0000000..f9f26a6 --- /dev/null +++ b/slides/mongodb/the-engines.xml @@ -0,0 +1,26 @@ +<slide> +<title>Which engines?</title> + +<table> +<tr> + <td><image filename="engine-php5.jpg"/></td> + <td><image filename="engine-hhvm.jpg"/></td> + <td><image filename="engine-php7.jpg"/></td> +</tr> +<tr> + <td><blurb>PHP 5</blurb></td> + <td><blurb>HHVM</blurb></td> + <td><blurb>PHP 7</blurb></td> +</tr> +<tr> + <td><div effect="fade-in"><blurb>Our old favourite</blurb></div></td> + <td><div effect="fade-in"><blurb>New kid on the block</blurb></div></td> + <td><div effect="fade-in"><blurb>PHP's newest invention</blurb></div></td> +</tr> +<tr> + <td><div effect="fade-in"><blurb>PHP 5.3 and higher</blurb></div></td> + <td><div effect="fade-in"><blurb>Some random unstable version</blurb></div></td> + <td><div effect="fade-in"><blurb>It's not out yet</blurb></div></td> +</tr> +</table> +</slide>