Skip to content

Commit

Permalink
initial translation in reference/yac
Browse files Browse the repository at this point in the history
  • Loading branch information
leonardolara committed Oct 11, 2024
1 parent 9a0e97d commit 87c1e47
Show file tree
Hide file tree
Showing 16 changed files with 1,249 additions and 0 deletions.
42 changes: 42 additions & 0 deletions reference/yac/book.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- EN-Revision: 68c2c871505aadf983f16113c5b077b335ce8d76 Maintainer: leonardolara Status: ready -->

<book xml:id="book.yac" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
<?phpdoc extension-membership="pecl" ?>
<title>Yac</title>
<titleabbrev>Yac</titleabbrev>

<preface xml:id="intro.yac">
&reftitle.intro;
<para>
Yac (Yet Another cache), é um cache de dados do usuário de memória compartilhada e sem bloqueio, que pode ser usado para substituir o APC ou o memcache local.
</para>
</preface>

&reference.yac.setup;
&reference.yac.constants;
<!-- &reference.yac.examples; -->
&reference.yac.yac;

</book>

<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
sgml-omittag:t
sgml-shorttag:t
sgml-minimize-attributes:nil
sgml-always-quote-attributes:t
sgml-indent-step:1
sgml-indent-data:t
indent-tabs-mode:nil
sgml-parent-document:nil
sgml-default-dtd-file:"~/.phpdoc/manual.ced"
sgml-exposed-tags:nil
sgml-local-catalogs:nil
sgml-local-ecat-files:nil
End:
vim600: syn=xml fen fdm=syntax fdl=2 si
vim: et tw=78 syn=sgml
vi: ts=1 sw=1
-->
35 changes: 35 additions & 0 deletions reference/yac/configure.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- EN-Revision: b8be4b126c545a0b452be29b6b5ce185471814a1 Maintainer: leonardolara Status: ready -->

<section xml:id="yac.installation" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
&reftitle.install;

<para>
&pecl.info;
<link xlink:href="&url.pecl.package;yac">&url.pecl.package;yac</link>
</para>


</section>


<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
sgml-omittag:t
sgml-shorttag:t
sgml-minimize-attributes:nil
sgml-always-quote-attributes:t
sgml-indent-step:1
sgml-indent-data:t
indent-tabs-mode:nil
sgml-parent-document:nil
sgml-default-dtd-file:"~/.phpdoc/manual.ced"
sgml-exposed-tags:nil
sgml-local-catalogs:nil
sgml-local-ecat-files:nil
End:
vim600: syn=xml fen fdm=syntax fdl=2 si
vim: et tw=78 syn=sgml
vi: ts=1 sw=1
-->
128 changes: 128 additions & 0 deletions reference/yac/constants.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,128 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- EN-Revision: 86e6094e86b84a51d00ab217ac50ce8dde33d82a Maintainer: leonardolara Status: ready -->

<appendix xml:id="yac.constants" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
&reftitle.constants;
&extension.constants;
<para>
<variablelist>
<varlistentry xml:id="constant.yac-version">
<term>
<constant>YAC_VERSION</constant>
(<type>string</type>)
</term>
<listitem>
<simpara>
</simpara>
</listitem>
</varlistentry>
<varlistentry xml:id="constant.yac-max-key-len">
<term>
<constant>YAC_MAX_KEY_LEN</constant>
(<type>int</type>)
</term>
<listitem>
<simpara>
O comprimento máximo de uma chave, 48 bytes.
</simpara>
</listitem>
</varlistentry>
<varlistentry xml:id="constant.yac-max-value-raw-len">
<term>
<constant>YAC_MAX_VALUE_RAW_LEN</constant>
(<type>int</type>)
</term>
<listitem>
<simpara>
</simpara>
</listitem>
</varlistentry>
<varlistentry xml:id="constant.yac-max-raw-compressed-len">
<term>
<constant>YAC_MAX_RAW_COMPRESSED_LEN</constant>
(<type>int</type>)
</term>
<listitem>
<simpara>
</simpara>
</listitem>
</varlistentry>
<varlistentry xml:id="constant.yac-serializer-php">
<term>
<constant>YAC_SERIALIZER_PHP</constant>
(<type>int</type>)
</term>
<listitem>
<simpara>
Usa o serializador do PHP "serialize".
</simpara>
</listitem>
</varlistentry>
<varlistentry xml:id="constant.yac-serializer-json">
<term>
<constant>YAC_SERIALIZER_JSON</constant>
(<type>int</type>)
</term>
<listitem>
<simpara>
Usa JSON como serializador (requer --enable-json)
</simpara>
</listitem>
</varlistentry>
<varlistentry xml:id="constant.yac-serializer-igbinary">
<term>
<constant>YAC_SERIALIZER_IGBINARY</constant>
(<type>int</type>)
</term>
<listitem>
<simpara>
Usa "igbinary" como serializador (requer --enable-igbinary)
</simpara>
</listitem>
</varlistentry>
<varlistentry xml:id="constant.yac-serializer-msgpack">
<term>
<constant>YAC_SERIALIZER_MSGPACK</constant>
(<type>int</type>)
</term>
<listitem>
<simpara>
Usa msgpack como serializador (requer --enable-msgpack)
</simpara>
</listitem>
</varlistentry>
<varlistentry xml:id="constant.yac-serializer">
<term>
<constant>YAC_SERIALIZER</constant>
(<type>string</type>)
</term>
<listitem>
<simpara>
Que serializador o Yac usa.
</simpara>
</listitem>
</varlistentry>
</variablelist>
</para>
</appendix>

<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
sgml-omittag:t
sgml-shorttag:t
sgml-minimize-attributes:nil
sgml-always-quote-attributes:t
sgml-indent-step:1
sgml-indent-data:t
indent-tabs-mode:nil
sgml-parent-document:nil
sgml-default-dtd-file:"~/.phpdoc/manual.ced"
sgml-exposed-tags:nil
sgml-local-catalogs:nil
sgml-local-ecat-files:nil
End:
vim600: syn=xml fen fdm=syntax fdl=2 si
vim: et tw=78 syn=sgml
vi: ts=1 sw=1
-->
172 changes: 172 additions & 0 deletions reference/yac/ini.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,172 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- EN-Revision: d4d5216e7a965ca194f6b1c9dee84cecab2674e5 Maintainer: leonardolara Status: ready -->

<section xml:id="yac.configuration" xmlns="http://docbook.org/ns/docbook">
&reftitle.runtime;
&extension.runtime;
<para>
<table>
<title>&ConfigureOptions; do Yac</title>
<tgroup cols="4">
<thead>
<row>
<entry>&Name;</entry>
<entry>&Default;</entry>
<entry>&Changeable;</entry>
<entry>&Changelog;</entry>
</row>
</thead>
<tbody>
<row>
<entry><link linkend="ini.yac.compress-threshold">yac.compress_threshold</link></entry>
<entry>-1</entry>
<entry><constant>INI_SYSTEM</constant></entry>
<entry><!-- leave empty, this will be filled by an automatic script --></entry>
</row>
<row>
<entry><link linkend="ini.yac.debug">yac.debug</link></entry>
<entry>0</entry>
<entry><constant>INI_ALL</constant></entry>
<entry><!-- leave empty, this will be filled by an automatic script --></entry>
</row>
<row>
<entry><link linkend="ini.yac.enable">yac.enable</link></entry>
<entry>1</entry>
<entry><constant>INI_SYSTEM</constant></entry>
<entry><!-- leave empty, this will be filled by an automatic script --></entry>
</row>
<row>
<entry><link linkend="ini.yac.enable-cli">yac.enable_cli</link></entry>
<entry>0</entry>
<entry><constant>INI_SYSTEM</constant></entry>
<entry><!-- leave empty, this will be filled by an automatic script --></entry>
</row>
<row>
<entry><link linkend="ini.yac.keys-memory-size">yac.keys_memory_size</link></entry>
<entry>4M</entry>
<entry><constant>INI_SYSTEM</constant></entry>
<entry><!-- leave empty, this will be filled by an automatic script --></entry>
</row>
<row>
<entry><link linkend="ini.yac.serializer">yac.serializer</link></entry>
<entry>php</entry>
<entry><constant>INI_SYSTEM</constant></entry>
<entry><!-- leave empty, this will be filled by an automatic script --></entry>
</row>
<row>
<entry><link linkend="ini.yac.values-memory-size">yac.values_memory_size</link></entry>
<entry>64M</entry>
<entry><constant>INI_SYSTEM</constant></entry>
<entry><!-- leave empty, this will be filled by an automatic script --></entry>
</row>
</tbody>
</tgroup>
</table>
</para>

&ini.descriptions.title;

<para>
<variablelist>
<varlistentry xml:id="ini.yac.compress-threshold">
<term>
<parameter>yac.compress_threshold</parameter>
<type>int</type>
</term>
<listitem>
<para>

</para>
</listitem>
</varlistentry>
<varlistentry xml:id="ini.yac.debug">
<term>
<parameter>yac.debug</parameter>
<type>int</type>
</term>
<listitem>
<para>

</para>
</listitem>
</varlistentry>
<varlistentry xml:id="ini.yac.enable">
<term>
<parameter>yac.enable</parameter>
<type>int</type>
</term>
<listitem>
<para>

</para>
</listitem>
</varlistentry>
<varlistentry xml:id="ini.yac.enable-cli">
<term>
<parameter>yac.enable_cli</parameter>
<type>int</type>
</term>
<listitem>
<para>

</para>
</listitem>
</varlistentry>
<varlistentry xml:id="ini.yac.keys-memory-size">
<term>
<parameter>yac.keys_memory_size</parameter>
<type>string</type>
</term>
<listitem>
<para>

</para>
</listitem>
</varlistentry>
<varlistentry xml:id="ini.yac.serializer">
<term>
<parameter>yac.serializer</parameter>
<type>string</type>
</term>
<listitem>
<para>

</para>
</listitem>
</varlistentry>
<varlistentry xml:id="ini.yac.values-memory-size">
<term>
<parameter>yac.values_memory_size</parameter>
<type>string</type>
</term>
<listitem>
<para>

</para>
</listitem>
</varlistentry>

</variablelist>
</para>
</section>

<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
sgml-omittag:t
sgml-shorttag:t
sgml-minimize-attributes:nil
sgml-always-quote-attributes:t
sgml-indent-step:1
sgml-indent-data:t
indent-tabs-mode:nil
sgml-parent-document:nil
sgml-default-dtd-file:"~/.phpdoc/manual.ced"
sgml-exposed-tags:nil
sgml-local-catalogs:nil
sgml-local-ecat-files:nil
End:
vim600: syn=xml fen fdm=syntax fdl=2 si
vim: et tw=78 syn=sgml
vi: ts=1 sw=1
-->
Loading

0 comments on commit 87c1e47

Please sign in to comment.