cvs: phpdoc /en/reference/sesam book.xml constants.xml reference.xml setup.xml

From: Date: Fri, 21 Dec 2007 17:44:18 +0000
Subject: cvs: phpdoc /en/reference/sesam book.xml constants.xml reference.xml setup.xml
Groups: php.doc.cvs 
Request: Send a blank email to doc-cvs+get-682@lists.php.net to get a copy of this message
philip Fri Dec 21 17:44:18 2007 UTC Modified files: /phpdoc/en/reference/sesam book.xml setup.xml constants.xml reference.xml Log: MFB: Upgrade to the new-reference-structure - Split reference.xml into book.xml and setup.xml - Moved from reference.xml to book.xml: - The intro text (partintro) and link to new constants page - Moved from reference.xml to setup.xml: - The rest: requirements, installation, configuration, and resources - Changed the intro ID from <extname>.intro to intro.<extname> - NOTE: This extension is tagged for deletion ( http://doc.php.net/wiki/extensions-to-delete )

http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/sesam/book.xml?r1=1.1&r2=1.2&diff_format=u Index: phpdoc/en/reference/sesam/book.xml diff -u /dev/null phpdoc/en/reference/sesam/book.xml:1.2 --- /dev/null Fri Dec 21 17:44:18 2007 +++ phpdoc/en/reference/sesam/book.xml Fri Dec 21 17:44:18 2007 @@ -0,0 +1,77 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- $Revision: 1.2 $ --> + +<book xml:id="book.sesam" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> + <title>SESAM Database</title> + + <!-- {{{ preface --> + <preface xml:id="intro.sesam"> + &reftitle.intro; + <para> + SESAM/SQL-Server is a mainframe database system, developed by + Fujitsu Siemens Computers, Germany. It runs on high-end mainframe + servers using the operating system BS2000/OSD. + </para> + <para> + In numerous productive BS2000 installations, SESAM/SQL-Server has + proven + <itemizedlist> + <listitem> + <simpara> + the ease of use of Java-, Web- and client/server connectivity, + </simpara> + </listitem> + <listitem> + <simpara> + the capability to work with an availability of more than + 99.99%, + </simpara> + </listitem> + <listitem> + <simpara> + the ability to manage tens and even hundreds of thousands of + users. + </simpara> + </listitem> + </itemizedlist> + </para> + <para> + There is a PHP 3 SESAM interface available which allows + database operations via PHP-scripts. + </para> + <note> + <simpara> + Access to SESAM is only available with the latest CVS-Version of + PHP 3. PHP 4 does not support the SESAM database. + </simpara> + </note> + </preface> + <!-- }}} --> + + &reference.sesam.setup; + &reference.sesam.constants; + &reference.sesam.reference; + +</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:"../../../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 +--> + http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/sesam/setup.xml?r1=1.1&r2=1.2&diff_format=u Index: phpdoc/en/reference/sesam/setup.xml diff -u /dev/null phpdoc/en/reference/sesam/setup.xml:1.2 --- /dev/null Fri Dec 21 17:44:18 2007 +++ phpdoc/en/reference/sesam/setup.xml Fri Dec 21 17:44:18 2007 @@ -0,0 +1,233 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- $Revision: 1.2 $ --> + +<chapter xml:id="sesam.setup" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> + &reftitle.setup; + + <!-- {{{ Requirements --> + <section xml:id="sesam.requirements"> + &reftitle.required; + <section xml:id="sesam.config-notes"> + <title>Configuration notes</title> + <para> + There is no standalone support for the PHP SESAM interface, it + works only as an integrated Apache module. In the Apache PHP + module, this <link linkend="sesam.configuration">SESAM interface is + configured</link> using Apache directives. + <table> + <title>SESAM Configuration directives</title> + <tgroup cols="2"> + <thead> + <row> + <entry>Directive</entry> + <entry>Meaning</entry> + </row> + </thead> + <tbody> + <row> + <entry><literal>php3_sesam_oml</literal></entry> + <entry><para> + Name of BS2000 PLAM library containing the loadable SESAM + driver modules. Required for using SESAM functions. + </para> + <para> + Example: + <informalexample> + <programlisting role="apache"> +<![CDATA[ +php3_sesam_oml $.SYSLNK.SESAM-SQL.030 +]]> + </programlisting> + </informalexample> + </para> + </entry> + </row> + <row> + <entry><literal>php3_sesam_configfile</literal></entry> + <entry><para> + Name of SESAM application configuration file. Required for + using SESAM functions. + </para> + <para> + Example: + <informalexample> + <programlisting role="apache"> +<![CDATA[ +php3_sesam_configfile $SESAM.SESAM.CONF.AW +]]> + </programlisting> + </informalexample> + It will usually contain a configuration like (see SESAM + reference manual): + <informalexample> + <programlisting role="bs2000"> +<![CDATA[ +CNF=B +NAM=K +NOTYPE +]]> + </programlisting> + </informalexample> + </para> + </entry> + </row> + <row> + <entry><literal>php3_sesam_messagecatalog</literal></entry> + <entry><para> + Name of SESAM message catalog file. In most cases, this + directive is not necessary. Only if the SESAM message file + is not installed in the system's BS2000 message file table, + it can be set with this directive. + </para> + <para> + Example: + <informalexample> + <programlisting role="apache"> +<![CDATA[ +php3_sesam_messagecatalog $.SYSMES.SESAM-SQL.030 +]]> + </programlisting> + </informalexample> + </para> + </entry> + </row> + </tbody> + </tgroup> + </table> + </para> + <para> + In addition to the configuration of the PHP/SESAM interface, you + have to configure the SESAM-Database server itself on your + mainframe as usual. That means: + <itemizedlist> + <listitem> + <simpara> + starting the SESAM database handler (DBH), and + </simpara> + </listitem> + <listitem> + <simpara> + connecting the databases with the SESAM database handler + </simpara> + </listitem> + </itemizedlist> + </para> + <para> + To get a connection between a PHP script and the database + handler, the <literal>CNF</literal> and <literal>NAM</literal> + parameters of the selected SESAM configuration file must match + the id of the started database handler. + </para> + <para> + In case of distributed databases you have to start a + SESAM/SQL-DCN agent with the distribution table including the + host and database names. + </para> + <para> + The communication between PHP (running in the POSIX subsystem) + and the database handler (running outside the POSIX subsystem) is + realized by a special driver module called SQLSCI and SESAM + connection modules using common memory. Because of the common + memory access, and because PHP is a static part of the web + server, database accesses are very fast, as they do not require + remote accesses via ODBC, JDBC or UTM. + </para> + <para> + Only a small stub loader (SESMOD) is linked with PHP, and the + SESAM connection modules are pulled in from SESAM's OML PLAM + library. In the <link + linkend="sesam.configuration">configuration</link>, you must tell PHP + the name of this PLAM library, and the file link to use for the + SESAM configuration file (As of SESAM V3.0, SQLSCI is available + in the SESAM Tool Library, which is part of the standard + distribution). + </para> + <para> + Because the SQL command quoting for single quotes uses duplicated + single quotes (as opposed to a single quote preceded by a + backslash, used in some other databases), it is advisable to set + the PHP configuration directives <link + linkend="ini.magic-quotes-gpc"><literal>php3_magic_quotes_gpc</literal></link> + and <link + linkend="ini.magic-quotes-sybase"><literal>php3_magic_quotes_sybase</literal></link> + to <literal>On</literal> for all PHP scripts using the SESAM + interface. + </para> + </section> + + </section> + <!-- }}} --> + + <!-- {{{ Installation --> + <section xml:id="sesam.installation"> + &reftitle.install; + &no.install; + </section> + <!-- }}} --> + + <!-- {{{ Configuration --> + &reference.sesam.ini; + <!-- }}} --> + + <!-- {{{ Runtime --> + <section xml:id="sesam.runtime"> + <title>Runtime considerations</title> + <para> + Because of limitations of the BS2000 process model, the driver + can be loaded only after the Apache server has forked off its + server child processes. This will slightly slow down the initial + SESAM request of each child, but subsequent accesses will respond + at full speed. + </para> + <para> + When explicitly defining a Message Catalog for SESAM, that + catalog will be loaded each time the driver is loaded (i.e., at + the initial SESAM request). The BS2000 operating system prints a + message after successful load of the message catalog, which will + be sent to Apache's error_log file. BS2000 currently does not + allow suppression of this message, it will slowly fill up the + log. + </para> + <para> + Make sure that the SESAM OML PLAM library and SESAM configuration + file are readable by the user id running the web server. + Otherwise, the server will be unable to load the driver, and will + not allow to call any SESAM functions. Also, access to the + database must be granted to the user id under which the Apache + server is running. Otherwise, connections to the SESAM database + handler will fail. + </para> + </section> + <!-- }}} --> + + + <!-- {{{ Resources --> + <section xml:id="sesam.resources"> + &reftitle.resources; + &no.resource; + </section> + <!-- }}} --> + +</chapter> + +<!-- 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:"../../../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 +--> + http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/sesam/constants.xml?r1=1.1&r2=1.2&diff_format=u Index: phpdoc/en/reference/sesam/constants.xml diff -u /dev/null phpdoc/en/reference/sesam/constants.xml:1.2 --- /dev/null Fri Dec 21 17:44:18 2007 +++ phpdoc/en/reference/sesam/constants.xml Fri Dec 21 17:44:18 2007 @@ -0,0 +1,29 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- $Revision: 1.2 $ --> + +<appendix xml:id="sesam.constants" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> + &reftitle.constants; + &no.constants; +</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:"../../../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 +--> + http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/sesam/reference.xml?r1=1.12&r2=1.13&diff_format=u Index: phpdoc/en/reference/sesam/reference.xml diff -u phpdoc/en/reference/sesam/reference.xml:1.12 phpdoc/en/reference/sesam/reference.xml:1.13 --- phpdoc/en/reference/sesam/reference.xml:1.12 Mon Dec 10 17:06:09 2007 +++ phpdoc/en/reference/sesam/reference.xml Fri Dec 21 17:44:18 2007 @@ -1,233 +1,14 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.12 $ --> +<!-- $Revision: 1.13 $ --> <!-- State: deprecated --> +<!-- TODO: Delete this PHP 3 only extension --> +<!-- TRANSLATORS: Do not waste time translating it --> <reference xml:id="ref.sesam" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> - <title>SESAM Database Functions</title> + <title>SESAM Database &Functions;</title> <titleabbrev>SESAM</titleabbrev> <partintro> - <section xml:id="sesam.intro"> - &reftitle.intro; - <para> - SESAM/SQL-Server is a mainframe database system, developed by - Fujitsu Siemens Computers, Germany. It runs on high-end mainframe - servers using the operating system BS2000/OSD. - </para> - <para> - In numerous productive BS2000 installations, SESAM/SQL-Server has - proven - <itemizedlist> - <listitem> - <simpara> - the ease of use of Java-, Web- and client/server connectivity, - </simpara> - </listitem> - <listitem> - <simpara> - the capability to work with an availability of more than - 99.99%, - </simpara> - </listitem> - <listitem> - <simpara> - the ability to manage tens and even hundreds of thousands of - users. - </simpara> - </listitem> - </itemizedlist> - </para> - <para> - There is a PHP 3 SESAM interface available which allows - database operations via PHP-scripts. - </para> - <note> - <simpara> - Access to SESAM is only available with the latest CVS-Version of - PHP 3. PHP 4 does not support the SESAM database. - </simpara> - </note> - </section> - - &reference.sesam.ini; - - <section xml:id="sesam.config-notes"> - <title>Configuration notes</title> - <para> - There is no standalone support for the PHP SESAM interface, it - works only as an integrated Apache module. In the Apache PHP - module, this <link linkend="sesam.configuration">SESAM interface is - configured</link> using Apache directives. - <table> - <title>SESAM Configuration directives</title> - <tgroup cols="2"> - <thead> - <row> - <entry>Directive</entry> - <entry>Meaning</entry> - </row> - </thead> - <tbody> - <row> - <entry><literal>php3_sesam_oml</literal></entry> - <entry><para> - Name of BS2000 PLAM library containing the loadable SESAM - driver modules. Required for using SESAM functions. - </para> - <para> - Example: - <informalexample> - <programlisting role="apache"> -<![CDATA[ -php3_sesam_oml $.SYSLNK.SESAM-SQL.030 -]]> - </programlisting> - </informalexample> - </para> - </entry> - </row> - <row> - <entry><literal>php3_sesam_configfile</literal></entry> - <entry><para> - Name of SESAM application configuration file. Required for - using SESAM functions. - </para> - <para> - Example: - <informalexample> - <programlisting role="apache"> -<![CDATA[ -php3_sesam_configfile $SESAM.SESAM.CONF.AW -]]> - </programlisting> - </informalexample> - It will usually contain a configuration like (see SESAM - reference manual): - <informalexample> - <programlisting role="bs2000"> -<![CDATA[ -CNF=B -NAM=K -NOTYPE -]]> - </programlisting> - </informalexample> - </para> - </entry> - </row> - <row> - <entry><literal>php3_sesam_messagecatalog</literal></entry> - <entry><para> - Name of SESAM message catalog file. In most cases, this - directive is not necessary. Only if the SESAM message file - is not installed in the system's BS2000 message file table, - it can be set with this directive. - </para> - <para> - Example: - <informalexample> - <programlisting role="apache"> -<![CDATA[ -php3_sesam_messagecatalog $.SYSMES.SESAM-SQL.030 -]]> - </programlisting> - </informalexample> - </para> - </entry> - </row> - </tbody> - </tgroup> - </table> - </para> - <para> - In addition to the configuration of the PHP/SESAM interface, you - have to configure the SESAM-Database server itself on your - mainframe as usual. That means: - <itemizedlist> - <listitem> - <simpara> - starting the SESAM database handler (DBH), and - </simpara> - </listitem> - <listitem> - <simpara> - connecting the databases with the SESAM database handler - </simpara> - </listitem> - </itemizedlist> - </para> - <para> - To get a connection between a PHP script and the database - handler, the <literal>CNF</literal> and <literal>NAM</literal> - parameters of the selected SESAM configuration file must match - the id of the started database handler. - </para> - <para> - In case of distributed databases you have to start a - SESAM/SQL-DCN agent with the distribution table including the - host and database names. - </para> - <para> - The communication between PHP (running in the POSIX subsystem) - and the database handler (running outside the POSIX subsystem) is - realized by a special driver module called SQLSCI and SESAM - connection modules using common memory. Because of the common - memory access, and because PHP is a static part of the web - server, database accesses are very fast, as they do not require - remote accesses via ODBC, JDBC or UTM. - </para> - <para> - Only a small stub loader (SESMOD) is linked with PHP, and the - SESAM connection modules are pulled in from SESAM's OML PLAM - library. In the <link - linkend="sesam.configuration">configuration</link>, you must tell PHP - the name of this PLAM library, and the file link to use for the - SESAM configuration file (As of SESAM V3.0, SQLSCI is available - in the SESAM Tool Library, which is part of the standard - distribution). - </para> - <para> - Because the SQL command quoting for single quotes uses duplicated - single quotes (as opposed to a single quote preceded by a - backslash, used in some other databases), it is advisable to set - the PHP configuration directives <link - linkend="ini.magic-quotes-gpc"><literal>php3_magic_quotes_gpc</literal></link> - and <link - linkend="ini.magic-quotes-sybase"><literal>php3_magic_quotes_sybase</literal></link> - to <literal>On</literal> for all PHP scripts using the SESAM - interface. - </para> - </section> - - <section xml:id="sesam.runtime"> - <title>Runtime considerations</title> - <para> - Because of limitations of the BS2000 process model, the driver - can be loaded only after the Apache server has forked off its - server child processes. This will slightly slow down the initial - SESAM request of each child, but subsequent accesses will respond - at full speed. - </para> - <para> - When explicitly defining a Message Catalog for SESAM, that - catalog will be loaded each time the driver is loaded (i.e., at - the initial SESAM request). The BS2000 operating system prints a - message after successful load of the message catalog, which will - be sent to Apache's error_log file. BS2000 currently does not - allow suppression of this message, it will slowly fill up the - log. - </para> - <para> - Make sure that the SESAM OML PLAM library and SESAM configuration - file are readable by the user id running the web server. - Otherwise, the server will be unable to load the driver, and will - not allow to call any SESAM functions. Also, access to the - database must be granted to the user id under which the Apache - server is running. Otherwise, connections to the SESAM database - handler will fail. - </para> - </section> - <section xml:id="sesam.cursor-types"> <title>Cursor Types</title> <para>
« previous php.doc.cvs (#682) next »