cvs: peardoc /en/guide/developers contributing.xml
| From: | Greg Beaver | Date: | Fri, 23 Mar 2007 06:04:14 +0000 |
| Subject: | cvs: peardoc /en/guide/developers contributing.xml | ||
| Groups: | php.pear.doc | ||
| Request: | Send a blank email to pear-doc+get-9537@lists.php.net to get a copy of this message | ||
cellog Fri Mar 23 06:04:14 2007 UTC
Modified files:
/peardoc/en/guide/developers contributing.xml
Log:
minor tweaks
http://cvs.php.net/viewvc.cgi/peardoc/en/guide/developers/contributing.xml?r1=1.30&r2=1.31&diff_format=u
Index: peardoc/en/guide/developers/contributing.xml
diff -u peardoc/en/guide/developers/contributing.xml:1.30
peardoc/en/guide/developers/contributing.xml:1.31
--- peardoc/en/guide/developers/contributing.xml:1.30 Mon Oct 2 04:13:20 2006
+++ peardoc/en/guide/developers/contributing.xml Fri Mar 23 06:04:14 2007
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1" ?>
-<!-- $Revision: 1.30 $ -->
+<!-- $Revision: 1.31 $ -->
<!--
WORK IN PROGRESS, THERE IS PROBABLY LITTLE POINT IN TRANSLATING
THIS DOCUMENT YET.
@@ -10,12 +10,11 @@
<para>
PEAR is driven by an <ulink url="&url.opensource;">open
- source</ulink> oriented developer community. Thus there is a chance
- for everybody to contribute code (in form of a new package or as an
- improvement for an existing package) to the project. However PEAR
- aims to keep the quality of the packages at a very high
- level. Because of that there are certain requirements for
- contributions, which are listed below.
+ source</ulink> developer community. Thus anyone may contribute code
+ in the form of a new package or as an improvement to an existing package.
+ Over the years, PEAR has developed a set of conventions. Some of them
+ are evolving, but others have solidified. This document defines
+ those requirements that you must adhere to in order to contribute to PEAR.
</para>
<sect1 id="developers.contributing.requirements">
@@ -38,9 +37,10 @@
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 those standards are good or not and the decision has
- been made that they are absolutely necessary. There is no sense
- in discussing about this.
+ whether those standards are good or not, and we have arbitrarily
+ decided that they are good and that the discussion is over. Please
+ respect this decision and don't bring up changes to the
+ basic coding standards, or you risk being ignored mercilessly.
</para>
</listitem>
@@ -51,7 +51,7 @@
<para>
Each package has to be licensed under an accepted OpenSource
license. If you are unsure about the license, you should opt for
- the <ulink url="&url.license.php;">PHP License</ulink>. The PEAR
+ the <ulink url="&url.license.bsd;">New BSD License</ulink>. The
PEAR
Group has issued a <ulink url="&url.pear.group.licenses;">License
Announcement</ulink>, which provides further details concerning
this topic.
@@ -76,10 +76,9 @@
once the package has been accepted as a PEAR package.
</para>
<para>
- The main reason for this requirement is that there needs to be
- a way for both users and fellow PEAR developers to get access
- to the latest (probably yet unreleased) version of the code in
- order to track down bugs and/or provide patches for these.
+ All packages must have a publicly available source repository
+ in order to honor the need for access in order to provide
+ patches for bugs or new features.
</para>
</listitem>
@@ -96,11 +95,10 @@
adapt it, <emphasis>before</emphasis> contributing it to PEAR.
</para>
<para>
- In this context it may be helpful to become familiar with the
- basics of object oriented programming. Eventhough PHP 4 does not
- come with full object oriented support yet, the knowledge will
- possibly help you in maintaining an extensible state for your
- package code. There are numerous resources about object oriented
+ To this end, most PEAR packages make use of object oriented programming.
+ Through concepts such as inheritance, polymorphism, patterns like
+ singleton/factory/command, PEAR packages solve problems in elegant ways.
+ 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
@@ -169,8 +167,8 @@
be used to catch them, kill them, and prevent their return. Regression
tests should be included with every stable release, so that users can
run them if a bug occurs to help you debug the package. Examples of
- .phpt regression tests can be found as part of the PFC
- <link linkend="package.database.db">DB</link> package. For examples
of
+ .phpt regression tests can be found as part of the
+ <link linkend="core.pear.pear">PEAR</link> package in CVS. For
examples of
PHPUnit tests, see the <link
linkend="package.authentication.auth">Auth</link>
package.
</para>