com presentations: Tweak for PDF generation.: slides/mongodb/indexes.xml slides/mongodb/indexes4.xml slides/mongodb/many-to-many1.xml
slides/mongodb/one-to-many1.xml slides/mongodb/replication.xml slides/mongodb/sharding.xml

From: Date: Mon, 02 Apr 2012 15:35:46 +0000
Subject: com presentations: Tweak for PDF generation.: slides/mongodb/indexes.xml slides/mongodb/indexes4.xml slides/mongodb/many-to-many1.xml
slides/mongodb/one-to-many1.xml slides/mongodb/replication.xml slides/mongodb/sharding.xml
Groups: php.pres 
Request: Send a blank email to pres+get-1791@lists.php.net to get a copy of this message
Commit: b37fdde1ac2602ae68c47349342a2de0c6ac1b2c Author: Derick Rethans <github@derickrethans.nl> Mon, 2 Apr 2012 16:35:46 +0100 Parents: 02217368ce69a3786aa7483a6f1d371faca0a6a3 Branches: master Link: http://git.php.net/?p=presentations.git;a=commitdiff;h=b37fdde1ac2602ae68c47349342a2de0c6ac1b2c Log: Tweak for PDF generation. Changed paths: M slides/mongodb/indexes.xml M slides/mongodb/indexes4.xml M slides/mongodb/many-to-many1.xml M slides/mongodb/one-to-many1.xml M slides/mongodb/replication.xml M slides/mongodb/sharding.xml Diff: diff --git a/slides/mongodb/indexes.xml b/slides/mongodb/indexes.xml index a68b944..8cdb531 100644 --- a/slides/mongodb/indexes.xml +++ b/slides/mongodb/indexes.xml @@ -9,7 +9,7 @@ <bullet>MongoCursor->explain().</bullet> </list> -<image filename="index.jpg" align="right" pdf-scale="0.4" x-offset="15" y-offset="10"/> +<image filename="index.jpg" align="right" pdf-scale="0.2" x-offset="19" y-offset="5.5"/> </div> <div effect="fade-in"> diff --git a/slides/mongodb/indexes4.xml b/slides/mongodb/indexes4.xml index 888f5c8..e432c01 100644 --- a/slides/mongodb/indexes4.xml +++ b/slides/mongodb/indexes4.xml @@ -1,19 +1,17 @@ <slide> <title>More about indexes</title> -<list> - <bullet>Compound indexes: - <example>$myCol->ensureIndex( [ _id => 1, ts => -1 ] )</example></bullet> - - <bullet>Indexes can be made on nested fields: - <example>$myCol->ensureIndex( [ "article.title" => -1 ] )</example></bullet> - - <bullet>Indexes can be made on array values: + <blurb>Compound indexes:</blurb> + <example>$myCol->ensureIndex( [ _id => 1, ts => -1 ] )</example> +<break/> + <blurb>Indexes can be made on nested fields:</blurb> + <example>$myCol->ensureIndex( [ "article.title" => -1 ] )</example> +<break/> + <blurb>Indexes can be made on array values:</blurb> <example><![CDATA[$myCol->insert( [ '_id' => 42, 'values' => [ 'fourty', 'two' ] ] ); $myCol->ensureIndex( [ 'values' => 1 ] );]]> -</example></bullet> - - <bullet>Searching with regexp: %^%: - <example>$myCol->find( [ 'name' => new MongoRegex( '/^tan/i' ) ] )</example></bullet> -</list> +</example> +<break/> + <blurb>Searching with regexp: %^%:</blurb> + <example>$myCol->find( [ 'name' => new MongoRegex( '/^tan/i' ) ] )</example> </slide> diff --git a/slides/mongodb/many-to-many1.xml b/slides/mongodb/many-to-many1.xml index 8179716..e976647 100644 --- a/slides/mongodb/many-to-many1.xml +++ b/slides/mongodb/many-to-many1.xml @@ -6,5 +6,5 @@ <bullet>category can have many products</bullet> </list> <break lines="2"/> -<image filename="many-to-many1.png"/> +<image filename="many-to-many1.png" pdf-scale="0.9" y-offset="5"/> </slide> diff --git a/slides/mongodb/one-to-many1.xml b/slides/mongodb/one-to-many1.xml index e204613..908d5f4 100644 --- a/slides/mongodb/one-to-many1.xml +++ b/slides/mongodb/one-to-many1.xml @@ -8,5 +8,5 @@ <bullet>life-cycle</bullet> </list> -<image filename="one-to-many1.png"/> +<image filename="one-to-many1.png" pdf-scale="0.9" y-offset="5.5"/> </slide> diff --git a/slides/mongodb/replication.xml b/slides/mongodb/replication.xml index 59bbb15..af7b559 100644 --- a/slides/mongodb/replication.xml +++ b/slides/mongodb/replication.xml @@ -1,7 +1,7 @@ <slide> <title>Replication</title> -<image filename="replset.png"/> +<image filename="replset..png" pdf-scale="0.8"/> <list> <bullet>Failover/Availability</bullet> diff --git a/slides/mongodb/sharding.xml b/slides/mongodb/sharding.xml index df84b3d..7db3753 100644 --- a/slides/mongodb/sharding.xml +++ b/slides/mongodb/sharding.xml @@ -1,7 +1,7 @@ <slide> <title>Sharding</title> -<image filename="sharding.png"/> +<image filename="sharding.png" pdf-scale="0.8"/> <list> <bullet>Scaling writes and reads</bullet>

« previous php.pres (#1791) next »