svn: /phpdoc/fr/trunk/reference/ mhash/examples.xml mongo/book.xml mongo/connecting.xml mongo/manual.xml

From: Date: Fri, 07 Jan 2011 06:37:05 +0000
Subject: svn: /phpdoc/fr/trunk/reference/ mhash/examples.xml mongo/book.xml mongo/connecting.xml mongo/manual.xml
Groups: php.doc.fr 
Request: Send a blank email to doc-fr+get-8182@lists.php.net to get a copy of this message
yannick Fri, 07 Jan 2011 06:37:05 +0000 Revision: http://svn.php.net/viewvc?view=revision&revision=307208 Log: sync with EN Changed paths: U phpdoc/fr/trunk/reference/mhash/examples.xml U phpdoc/fr/trunk/reference/mongo/book.xml U phpdoc/fr/trunk/reference/mongo/connecting.xml U phpdoc/fr/trunk/reference/mongo/manual.xml Modified: phpdoc/fr/trunk/reference/mhash/examples.xml =================================================================== --- phpdoc/fr/trunk/reference/mhash/examples.xml 2011-01-07 06:09:18 UTC (rev 307207) +++ phpdoc/fr/trunk/reference/mhash/examples.xml 2011-01-07 06:37:05 UTC (rev 307208) @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="utf-8"?> <!-- $Revision$ --> -<!-- EN-Revision: 307148 Maintainer: yannick Status: ready --> +<!-- EN-Revision: 307153 Maintainer: yannick Status: ready --> <!-- Reviewed: yes --> <appendix xml:id="mhash.examples" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> Modified: phpdoc/fr/trunk/reference/mongo/book.xml =================================================================== --- phpdoc/fr/trunk/reference/mongo/book.xml 2011-01-07 06:09:18 UTC (rev 307207) +++ phpdoc/fr/trunk/reference/mongo/book.xml 2011-01-07 06:37:05 UTC (rev 307208) @@ -1,20 +1,12 @@ <?xml version="1.0" encoding="utf-8"?> <!-- $Revision$ --> -<!-- EN-Revision: 296581 Maintainer: yannick Status: ready --> +<!-- EN-Revision: 307180 Maintainer: yannick Status: ready --> <!-- Reviewed: yes --> <book xml:id="book.mongo" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> - <title>Base de données Mongo</title> + <title>Driver natif MongoDB</title> <titleabbrev>Mongo</titleabbrev> - <preface xml:id="intro.mongo"> - &reftitle.intro; - <para> - Cette extension vous permet de vous connecter à MongoDB en utilisant - PHP. - </para> - </preface> - &reference.mongo.manual; &reference.mongo.core; &reference.mongo.types; Modified: phpdoc/fr/trunk/reference/mongo/connecting.xml =================================================================== --- phpdoc/fr/trunk/reference/mongo/connecting.xml 2011-01-07 06:09:18 UTC (rev 307207) +++ phpdoc/fr/trunk/reference/mongo/connecting.xml 2011-01-07 06:37:05 UTC (rev 307208) @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="utf-8"?> <!-- $Revision$ --> -<!-- EN-Revision: 305112 Maintainer: yannick Status: ready --> +<!-- EN-Revision: 307180 Maintainer: yannick Status: ready --> <!-- Reviewed: no --> <section xml:id="mongo.connecting" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> @@ -116,39 +116,7 @@ <link xlink:href="&url.mongodb.replica;">documentation interne</link>. </para> </section> - - <section> - <title>Distribuer les lectures</title> - <para> - Une des tâches des paires de connexion est la possibilité d'effectuer des lectures sur - les esclaves pour soulager la charge du maitre. Le pilote ne fera pa cela automatiquement, - mais vous pouvez le configurer par vous-même. - </para> - <para> - D'abord, connectez la paire grâce à l'option <literal>replicaSet</literal>. Ceci vous - donnera une connexion, utilisez la pour appeler la commande <literal>ismaster</literal> - qui listera tous les esclaves de la paire. - </para> - <programlisting role="php"> -<![CDATA[ -<?php -$m = new Mongo("mongodb://localhost:27017", array("replicaSet" => true)); -$result = $m->admin->command(array("ismaster" => 1)); - -?> -]]> - </programlisting> - <para> - Maintenant, créez des connexions à des hôtes listés dans les champs "hosts" et "passives" - (passives sont des membres de la paire qui ne pourront jamais devenir maitres). N'utilisez - pas <literal>replicaSet =&gt; true</literal>, ou alors le pilote trouvera automatiquement - le maitre et l'utilisera. Dès lors, vous pouvez distribuer les lectures sur ces connexions. - Vérifiez que <literal>MongoCursor::slaveOkay</literal> est à &true; avant de tenter une - lecture depuis un esclave. - </para> - </section> - <section> <title>Les connexions persistantes </title> Modified: phpdoc/fr/trunk/reference/mongo/manual.xml =================================================================== --- phpdoc/fr/trunk/reference/mongo/manual.xml 2011-01-07 06:09:18 UTC (rev 307207) +++ phpdoc/fr/trunk/reference/mongo/manual.xml 2011-01-07 06:37:05 UTC (rev 307208) @@ -1,18 +1,18 @@ <?xml version="1.0" encoding="utf-8"?> <!-- $Revision$ --> -<!-- EN-Revision: 305460 Maintainer: jpauli Status: ready --> +<!-- EN-Revision: 307180 Maintainer: jpauli Status: ready --> <!-- Reviewed: yes --> <chapter xml:id="mongo.manual" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> <title>Manuel</title> &reference.mongo.configure; - &reference.mongo.ini; &reference.mongo.tutorial; &reference.mongo.connecting; &reference.mongo.writes; &reference.mongo.queries; &reference.mongo.updates; + &reference.mongo.ini; &reference.mongo.security; &reference.mongo.testing; &reference.mongo.trouble;

« previous php.doc.fr (#8182) next »