cvs: peardoc /en/guide/developers contributing.xml
| From: | Martin Jansen | Date: | Wed, 08 Oct 2003 20:20:14 +0000 |
| Subject: | cvs: peardoc /en/guide/developers contributing.xml | ||
| Groups: | php.pear.doc | ||
| Request: | Send a blank email to pear-doc+get-1571@lists.php.net to get a copy of this message | ||
mj Wed Oct 8 16:20:14 2003 EDT
Modified files:
/peardoc/en/guide/developers contributing.xml
Log:
* Adding a bunch of new information
# The most important thing that still needs to be done here is to import
# the content of http://pear.php.net/group/docs/20030904-pph.php.
Index: peardoc/en/guide/developers/contributing.xml diff -u peardoc/en/guide/developers/contributing.xml:1.13 peardoc/en/guide/developers/contributing.xml:1.14 --- peardoc/en/guide/developers/contributing.xml:1.13 Sun Sep 21 06:13:38 2003 +++ peardoc/en/guide/developers/contributing.xml Wed Oct 8 16:20:13 2003 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1" ?> -<!-- $Revision: 1.13 $ --> +<!-- $Revision: 1.14 $ --> <!-- WORK IN PROGRESS, THERE IS PROBABLY LITTLE POINT IN TRANSLATING THIS DOCUMENT YET. @@ -34,12 +34,13 @@ Conforming to the coding standards. </simpara> <para> - If you want to contribute your code to PEAR, it has to be compliant - to a set of <link linkend="standards">coding standards</link>. There - have been numerous discussions about whether the coding standards - are good or not and the decision has been made that they are - absolutely necessary - please do not start this discussion over and - over again. + If you want to contribute your code to PEAR in form of a new + package or as an addition to an existing package, it has to be + compliant to a set of <link linkend="standards">coding + standards</link>. There have been numerous discussions about + whether the coding standards are good or not and the decision has + been made that they are absolutely necessary. There is no sense + in discussing about this. </para> </listitem> @@ -54,6 +55,19 @@ compatibility with existing code, you should consider implementing a better design before proposing the package for inclusion in PEAR. </para> + <para> + It may be helpful in this context to become familiar with the + basic of object oriented programming. Eventhough PHP does not + come with full object oriented support yet, the knowledge will + possibly help you in maintaining a extensible state for your + package code. There are numerous resources about object oriented + programming all around the web and you will also find tons of + books available for your reading pleasure. However we can can + recommend <ulink url="&url.java.oo;">Object-Oriented Programming + Concepts</ulink> over there on <ulink url="&url.java;">Sun's Java + Homepage</ulink>. + </para> + </listitem> <listitem> @@ -84,7 +98,7 @@ <note> <para> - As of August, 2003, <ulink url="&url.phpdocumentor;">phpDocumentor</ulink> + As of August 2003, <ulink url="&url.phpdocumentor;">phpDocumentor</ulink> is fully capable of converting in-code API documentation and external tutorials into XML DocBook for use with PEAR. PhpDocumentor version 1.2.2 or greater is required. Install with @@ -95,8 +109,9 @@ or fr, etc. </para> <para> - Note that in most cases, documentation must contain several important - points, as well as at least 2 code examples (simple and complex). More + Be aware though that only shipping the API documentation does + not suffice! Additionally your package has to come with usage + examples and (even better) tutorials about its usage. More information can be found in the section describing <link linkend="developers.contributing.docs">how to write documentation</link> </para> @@ -125,14 +140,17 @@ <simpara> The contributor (<quote>you</quote>) must be willing to provide support for the package and must be willing to release future versions that at - the very least fixed bugs. + the very least fix bugs. + </simpara> + <simpara> + If you are not willing to maintain your code over a long period + of time, it makes little sense to contribute it. PEAR is the + standard repository of PHP packages, and this comes with great + responsibility. Maintaining means more than just providing + support via the various <ulink url="&url.pear.support;">mailing + lists</ulink>: </simpara> <simpara> - If you are not willing to maintain your code, it makes little - sense to contribute it. PEAR is the standard repository of PHP packages, - and this comes with great responsibility. Maintaining means more than just - providing support via the various - <ulink url="&url.pear.support;">mailing lists</ulink>. You must be willing to not only fix bugs, but also integrate useful enhancements contributed by users of your packages, if they fit the design specifications of your package. You should expect to release @@ -164,10 +182,10 @@ <orderedlist> <listitem> <simpara>Finding an appropriate package name</simpara> - <para> - One of the most important tasks during the proposal stage of contributing your code to - PEAR is finding an appropriate name for your package. - </para> + <simpara> + One of the most important tasks while contributing a new package + to PEAR is finding an appropriate name for your package. + </simpara> <para> The general syntax for package names is <literal><Category>_<Name></literal>. The value for @@ -179,9 +197,13 @@ </para> <para> - If you think that your package does not fit in any of the existing - categories, you can ask to create a new category. Nevertheless it - is important to keep the category structure as simple as possible. + The categories that are currently available in PEAR are + represented by the bold headings at the + <ulink url="&url.pear.package.browse;">Package + Browser</ulink>. If you think that your package does not fit in + any of the existing categories, you can ask the on the mailing + list to create a new category. (PEAR is usually reluctant to do + that.) </para> <para> @@ -192,7 +214,8 @@ <literal>Template</literal>, that again is part of the <literal>HTML</literal> category. This naming scheme is necessary here since it's possible that there are Template systems in PEAR that don't work with HTML but - with another technology. + with another technology. (The cases where more than one + <quote>category</quote> is used are pretty rare.) </para> <para> @@ -200,6 +223,7 @@ package, you should ask on the <ulink url="mailto:&email.pear.dev;"> developers mailing list</ulink>. </para> + </listitem> <listitem> <simpara>Announcing to the PEAR developers</simpara> @@ -210,6 +234,9 @@ Usually this announcement will spawn some discussion and the developers will then start to vote for or against your proposal. (You are of course urged to join the upcoming discussion.) + Announcing a package does of course not mean that it is already + accepted! That will still take some time and likely some more + efforts from your side. </para> <note> <para> @@ -268,7 +295,7 @@ <para> This account is always necessary for you, if you want to release your package through PEAR. With this account you have access - to the necessary functions on + to the necessary infrastructure on <ulink url="&url.pear;">pear.php.net</ulink> in order to upload and roll new releases.</para> </listitem> @@ -291,7 +318,8 @@ or if you don't want to maintain your code via CVS, you don't need the PHP CVS account. It is highly recommended to use some kind of public repository, so that users can try out any - bug fixes you apply to the code. + bug fixes you apply to the code, before a new release is + rolled. </para> </listitem> </orderedlist>
Index: peardoc/en/guide/developers/contributing.xml diff -u peardoc/en/guide/developers/contributing.xml:1.13 peardoc/en/guide/developers/contributing.xml:1.14 --- peardoc/en/guide/developers/contributing.xml:1.13 Sun Sep 21 06:13:38 2003 +++ peardoc/en/guide/developers/contributing.xml Wed Oct 8 16:20:13 2003 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1" ?> -<!-- $Revision: 1.13 $ --> +<!-- $Revision: 1.14 $ --> <!-- WORK IN PROGRESS, THERE IS PROBABLY LITTLE POINT IN TRANSLATING THIS DOCUMENT YET. @@ -34,12 +34,13 @@ Conforming to the coding standards. </simpara> <para> - If you want to contribute your code to PEAR, it has to be compliant - to a set of <link linkend="standards">coding standards</link>. There - have been numerous discussions about whether the coding standards - are good or not and the decision has been made that they are - absolutely necessary - please do not start this discussion over and - over again. + If you want to contribute your code to PEAR in form of a new + package or as an addition to an existing package, it has to be + compliant to a set of <link linkend="standards">coding + standards</link>. There have been numerous discussions about + whether the coding standards are good or not and the decision has + been made that they are absolutely necessary. There is no sense + in discussing about this. </para> </listitem> @@ -54,6 +55,19 @@ compatibility with existing code, you should consider implementing a better design before proposing the package for inclusion in PEAR. </para> + <para> + It may be helpful in this context to become familiar with the + basic of object oriented programming. Eventhough PHP does not + come with full object oriented support yet, the knowledge will + possibly help you in maintaining a extensible state for your + package code. There are numerous resources about object oriented + programming all around the web and you will also find tons of + books available for your reading pleasure. However we can can + recommend <ulink url="&url.java.oo;">Object-Oriented Programming + Concepts</ulink> over there on <ulink url="&url.java;">Sun's Java + Homepage</ulink>. + </para> + </listitem> <listitem> @@ -84,7 +98,7 @@ <note> <para> - As of August, 2003, <ulink url="&url.phpdocumentor;">phpDocumentor</ulink> + As of August 2003, <ulink url="&url.phpdocumentor;">phpDocumentor</ulink> is fully capable of converting in-code API documentation and external tutorials into XML DocBook for use with PEAR. PhpDocumentor version 1.2.2 or greater is required. Install with @@ -95,8 +109,9 @@ or fr, etc. </para> <para> - Note that in most cases, documentation must contain several important - points, as well as at least 2 code examples (simple and complex). More + Be aware though that only shipping the API documentation does + not suffice! Additionally your package has to come with usage + examples and (even better) tutorials about its usage. More information can be found in the section describing <link linkend="developers.contributing.docs">how to write documentation</link> </para> @@ -125,14 +140,17 @@ <simpara> The contributor (<quote>you</quote>) must be willing to provide support for the package and must be willing to release future versions that at - the very least fixed bugs. + the very least fix bugs. + </simpara> + <simpara> + If you are not willing to maintain your code over a long period + of time, it makes little sense to contribute it. PEAR is the + standard repository of PHP packages, and this comes with great + responsibility. Maintaining means more than just providing + support via the various <ulink url="&url.pear.support;">mailing + lists</ulink>: </simpara> <simpara> - If you are not willing to maintain your code, it makes little - sense to contribute it. PEAR is the standard repository of PHP packages, - and this comes with great responsibility. Maintaining means more than just - providing support via the various - <ulink url="&url.pear.support;">mailing lists</ulink>. You must be willing to not only fix bugs, but also integrate useful enhancements contributed by users of your packages, if they fit the design specifications of your package. You should expect to release @@ -164,10 +182,10 @@ <orderedlist> <listitem> <simpara>Finding an appropriate package name</simpara> - <para> - One of the most important tasks during the proposal stage of contributing your code to - PEAR is finding an appropriate name for your package. - </para> + <simpara> + One of the most important tasks while contributing a new package + to PEAR is finding an appropriate name for your package. + </simpara> <para> The general syntax for package names is <literal><Category>_<Name></literal>. The value for @@ -179,9 +197,13 @@ </para> <para> - If you think that your package does not fit in any of the existing - categories, you can ask to create a new category. Nevertheless it - is important to keep the category structure as simple as possible. + The categories that are currently available in PEAR are + represented by the bold headings at the + <ulink url="&url.pear.package.browse;">Package + Browser</ulink>. If you think that your package does not fit in + any of the existing categories, you can ask the on the mailing + list to create a new category. (PEAR is usually reluctant to do + that.) </para> <para> @@ -192,7 +214,8 @@ <literal>Template</literal>, that again is part of the <literal>HTML</literal> category. This naming scheme is necessary here since it's possible that there are Template systems in PEAR that don't work with HTML but - with another technology. + with another technology. (The cases where more than one + <quote>category</quote> is used are pretty rare.) </para> <para> @@ -200,6 +223,7 @@ package, you should ask on the <ulink url="mailto:&email.pear.dev;"> developers mailing list</ulink>. </para> + </listitem> <listitem> <simpara>Announcing to the PEAR developers</simpara> @@ -210,6 +234,9 @@ Usually this announcement will spawn some discussion and the developers will then start to vote for or against your proposal. (You are of course urged to join the upcoming discussion.) + Announcing a package does of course not mean that it is already + accepted! That will still take some time and likely some more + efforts from your side. </para> <note> <para> @@ -268,7 +295,7 @@ <para> This account is always necessary for you, if you want to release your package through PEAR. With this account you have access - to the necessary functions on + to the necessary infrastructure on <ulink url="&url.pear;">pear.php.net</ulink> in order to upload and roll new releases.</para> </listitem> @@ -291,7 +318,8 @@ or if you don't want to maintain your code via CVS, you don't need the PHP CVS account. It is highly recommended to use some kind of public repository, so that users can try out any - bug fixes you apply to the code. + bug fixes you apply to the code, before a new release is + rolled. </para> </listitem> </orderedlist>