Browse Source

[DOCUMENTATION] English:

- manual fixes

git-svn-id: http://framework.zend.com/svn/framework/standard/trunk@15823 44c647ce-9c0f-0410-b52a-842ac1e357ba
thomas 16 years ago
parent
commit
e91d095012

+ 3 - 3
documentation/manual/en/module_specs/Zend_Application-CoreFunctionality-Resource_ResourceAbstract.xml

@@ -110,9 +110,9 @@
             First, if your plugins are defined within a defined prefix path, you
             First, if your plugins are defined within a defined prefix path, you
             may refer to them simply by their "short name" -- i.e., the portion
             may refer to them simply by their "short name" -- i.e., the portion
             of the class name following the class prefix. As an example, the
             of the class name following the class prefix. As an example, the
-            class "Zend_Application_Resource_View" may be referenced as simply
-            "View", as the prefix path "ZenD_Application_Resource" is already
-            registered. You may register them using the full class name or the
+            class "<classname>Zend_Application_Resource_View</classname>" may be referenced as
+            simply "View", as the prefix path "<classname>Zend_Application_Resource</classname>"
+            is already registered. You may register them using the full class name or the
             short name:
             short name:
         </para>
         </para>
 
 

+ 1 - 1
documentation/manual/en/module_specs/Zend_Application-Examples.xml

@@ -34,7 +34,7 @@ resources.frontController.controllerDirectory = APPLICATION_PATH "/controllers"
         choices. First, you can write methods prefixed with <emphasis>_init</emphasis>
         choices. First, you can write methods prefixed with <emphasis>_init</emphasis>
         to specify discrete code to bootstrap. These methods will be called by
         to specify discrete code to bootstrap. These methods will be called by
         <methodname>bootstrap()</methodname>, and can also be called as if they were public methods:
         <methodname>bootstrap()</methodname>, and can also be called as if they were public methods:
-        <methodname>bootstrap&lt;resource&gt;()</methodname>. They should accept an optional
+        <emphasis>bootstrap&lt;resource&gt;()</emphasis>. They should accept an optional
         array of options.
         array of options.
     </para>
     </para>
 
 

+ 19 - 18
documentation/manual/en/module_specs/Zend_Application-TheoryOfOperation.xml

@@ -4,7 +4,7 @@
     <title>Theory of Operation</title>
     <title>Theory of Operation</title>
 
 
     <para>
     <para>
-        Getting an MVC application configured and ready to dispatch has
+        Getting an <acronym>MVC</acronym> application configured and ready to dispatch has
         required an increasing amount of code as more features become
         required an increasing amount of code as more features become
         available: setting up the database, configuring your view and view
         available: setting up the database, configuring your view and view
         helpers, configuring your layouts, registering plugins, registering
         helpers, configuring your layouts, registering plugins, registering
@@ -16,12 +16,12 @@
         bootstrap your tests, a cronjob, or a service script. While it's
         bootstrap your tests, a cronjob, or a service script. While it's
         possible to simply include your bootstrap script, oftentimes there
         possible to simply include your bootstrap script, oftentimes there
         are initializations that are environment specific – you may not need
         are initializations that are environment specific – you may not need
-        the MVC for a cronjob, or just the DB layer for a service script.
+        the <acronym>MVC</acronym> for a cronjob, or just the DB layer for a service script.
     </para>
     </para>
 
 
     <para>
     <para>
         <classname>Zend_Application</classname> aims to make this easier and to
         <classname>Zend_Application</classname> aims to make this easier and to
-        promote reuse by encapsulating bootstrapping into OOP paradigms.
+        promote reuse by encapsulating bootstrapping into <acronym>OOP</acronym> paradigms.
     </para>
     </para>
 
 
     <para>
     <para>
@@ -31,8 +31,8 @@
     <itemizedlist>
     <itemizedlist>
         <listitem>
         <listitem>
             <para>
             <para>
-                <classname>Zend_Application</classname>: loads the PHP environment,
-                including include_paths and autoloading, and instantiates
+                <classname>Zend_Application</classname>: loads the <acronym>PHP</acronym>
+                environment, including include_paths and autoloading, and instantiates
                 the requested bootstrap class.
                 the requested bootstrap class.
             </para>
             </para>
         </listitem>
         </listitem>
@@ -95,7 +95,7 @@
         </listitem>
         </listitem>
         <listitem>
         <listitem>
             <para>
             <para>
-                Any php.ini settings to initialize
+                Any <filename>php.ini</filename> settings to initialize
             </para>
             </para>
         </listitem>
         </listitem>
         <listitem>
         <listitem>
@@ -105,7 +105,7 @@
         </listitem>
         </listitem>
         <listitem>
         <listitem>
             <para>
             <para>
-                Resource prefix/path pairs to use
+                Resource prefix to path pairs to use
             </para>
             </para>
         </listitem>
         </listitem>
         <listitem>
         <listitem>
@@ -137,7 +137,7 @@
             <classname>Zend_Application</classname>'s second area of responsibility is
             <classname>Zend_Application</classname>'s second area of responsibility is
             executing the application bootstrap. Bootstraps minimally need to
             executing the application bootstrap. Bootstraps minimally need to
             implement <classname>Zend_Application_Bootstrap_Bootstrapper</classname>,
             implement <classname>Zend_Application_Bootstrap_Bootstrapper</classname>,
-            which defines the following API:
+            which defines the following <acronym>API</acronym>:
         </para>
         </para>
 
 
         <programlisting language="php"><![CDATA[
         <programlisting language="php"><![CDATA[
@@ -155,7 +155,7 @@ interface Zend_Application_Bootstrap_Bootstrapper
 ]]></programlisting>
 ]]></programlisting>
 
 
         <para>
         <para>
-            This API allows the bootstrap to accept the environment and
+            This <acronym>API</acronym> allows the bootstrap to accept the environment and
             configuration from the application object, report the resources its
             configuration from the application object, report the resources its
             responsible for bootstrapping, and then bootstrap and run the
             responsible for bootstrapping, and then bootstrap and run the
             application.
             application.
@@ -264,7 +264,7 @@ $bootstrap->bootstrap();
                 If your bootstrap should be capable of using resource plugins,
                 If your bootstrap should be capable of using resource plugins,
                 you will need to implement an additional interface,
                 you will need to implement an additional interface,
                 <classname>Zend_Application_Bootstrap_ResourceBootstrapper</classname>.
                 <classname>Zend_Application_Bootstrap_ResourceBootstrapper</classname>.
-                This interface defines an API for locating, registering, and
+                This interface defines an <acronym>API</acronym> for locating, registering, and
                 loading resource plugins:
                 loading resource plugins:
             </para>
             </para>
 
 
@@ -301,12 +301,12 @@ interface Zend_Application_Bootstrap_ResourceBootstrapper
                 To utilize resource plugins, you must specify them in the
                 To utilize resource plugins, you must specify them in the
                 options passed to the application object and/or bootstrap. These
                 options passed to the application object and/or bootstrap. These
                 options may come from a configuration file, or be passed in
                 options may come from a configuration file, or be passed in
-                manually. Options will be of key/options pairs, with the key
+                manually. Options will be of key to options pairs, with the key
                 representing the resource name. The resource name will be the
                 representing the resource name. The resource name will be the
                 segment following the class prefix. For example, the resources
                 segment following the class prefix. For example, the resources
                 shipped with Zend Framework have the class prefix
                 shipped with Zend Framework have the class prefix
-                "Zend_Application_Resource_"; anything following this would be
-                the name of the resource. As an example,
+                "<classname>Zend_Application_Resource_</classname>"; anything following this would
+                be the name of the resource. As an example,
             </para>
             </para>
 
 
             <programlisting language="php"><![CDATA[
             <programlisting language="php"><![CDATA[
@@ -440,7 +440,7 @@ if (isset($container->view)) {
 ]]></programlisting>
 ]]></programlisting>
 
 
             <para>
             <para>
-                Please note that the registry/container is not global. This
+                Please note that the registry and also the container is not global. This
                 means that you need access to the bootstrap in order to fetch
                 means that you need access to the bootstrap in order to fetch
                 resources. <classname>Zend_Application_Bootstrap_Bootstrap</classname>
                 resources. <classname>Zend_Application_Bootstrap_Bootstrap</classname>
                 provides some convenience for this: during its
                 provides some convenience for this: during its
@@ -530,9 +530,10 @@ class Bootstrap extends Zend_Application_Bootstrap_Bootstrap
         <title>Resource Plugins</title>
         <title>Resource Plugins</title>
 
 
         <para>
         <para>
-            <link linkend="zend.application.theory-of-operation.bootstrap.resource-plugins">As noted previously</link>,
-            a good way to create re-usable bootstrap resources and to offload
-            much of your coding to discrete classes is to utilize resource
+            <link
+                linkend="zend.application.theory-of-operation.bootstrap.resource-plugins">As noted
+                previously</link>, a good way to create re-usable bootstrap resources and to
+            offload much of your coding to discrete classes is to utilize resource
             plugins. While Zend Framework ships with a number of standard
             plugins. While Zend Framework ships with a number of standard
             resource plugins, the intention is that developers should write
             resource plugins, the intention is that developers should write
             their own to encapsulate their own initialization needs.
             their own to encapsulate their own initialization needs.
@@ -569,7 +570,7 @@ interface Zend_Application_Resource_Resource
 
 
         <para>
         <para>
             As an example, let's assume you have a common view intialization you
             As an example, let's assume you have a common view intialization you
-            use in your applications. You have a common doctype, CSS and
+            use in your applications. You have a common doctype, <acronym>CSS</acronym> and
             JavaScript, and you want to be able to pass in a base document title
             JavaScript, and you want to be able to pass in a base document title
             via configuration. Such a resource might look like this:
             via configuration. Such a resource might look like this:
         </para>
         </para>