Added: web/php/trunk/get-involved.php =================================================================== --- web/php/trunk/get-involved.php (rev 0) +++ web/php/trunk/get-involved.php 2010-12-27 17:08:28 UTC (rev 306757) @@ -0,0 +1,405 @@ + + + + + +

Contributing

+

+ The PHP project is so much more then just the scripting language on which it’s + focused. It is a vibrant community of developers scratching related itches, + hoping their work will benefit others. PHP.net hosts a set of projects + focused around the "flagship product,” the PHP language, surrounding it + with sub-projects for documentation, website maintenance, adding extra + functionality with extensions, and so on. +

+ + +

+ The PHP community is without a doubt, in my opinion, one of the greatest + communities in the world. It has a lot to offer besides good friends and a fun + working environment. It is a community where things can happen very fast, with + many people involved, contributing back "upstream" to PHP in various + capacities, from user-contributed notes to the manual to new killer language + features. There is always room for new contributors though, and PHP.net really + needs your help so it can continue the success of past years. In this article + we’ll explore how the PHP.net project works and how you can contribute to it. +

+ + +

+ There are a lot of ways you can contribute to and influence the project; + participating on mailing lists, filing bug reports, and adding helpful notes + to the manual are all examples of valuable contributions. You don't have to + develop a new JIT compiler to contribute, or even know the first thing of + developing a language for that matter, to be able to contribute back. Whatever + you fancy, I am sure you can find a challenging task on PHP.net to solve. Or + are you maybe just looking for some brain-dead task on which to spend time - + but still want to make a difference? We have several of those too... +

+ + +

+ Before we go deeper into ways you can contribute and how to do so, let’s take + a step back and look at who actually leads the development and how things are + done within PHP.net. +

+ + +

+ One of things I love most about working with Open Source Software like PHP is + the freedom. If I have an itch, I scratch it! If I want to work on new + features or document all the kinks and quirks of PHP, I can. We have the + freedom to work on exactly the things we care about and want to do. + There is no one person in charge or policing of the project, it is a community + effort. All decisions are made in the open after the contributors + participating in the discussion reach “general consensus” on the topic or - if + all else fails - after a vote on the subject. As within any community, there + are members that have earned karma and respect through contributions to the + project, and their meaning and views usually carry more weight than a total + stranger from whom no one has heard before. Karma, like trust, needs to be + earned. +

+ + +

+ To gain karma you basically need to prove to the community that you aren't + just a nut-job and show that you can be trusted to think not only about today, + but tomorrow as well. Being active on the developers’ mailing lists, + digging into bug reports, posting patches and unit tests, and generally + trying to help out and contribute to the project are great ways to gain a + lot of karma points very quickly. +

+ + +

+ All of the PHP.net projects (from PEAR, to PECL, to websites and + documentation, to the PHP language itself) have + long-time members which could be considered the "leaders" of the respective + projects by the community, but that really doesn't mean anything other than + "if no one knows the answer, ask him.” The "leader" isn't going to tell you to + do anything, other than maybe ask you to revert a bad commit, but anyone can + do that. It is totally up to you to decide whether or not to work on some + things. In the end, the final say on the matter is up to the contributor who + is actually doing the work. +

+ + +

+ The PHP.net project has mailing lists for most aspects of the project where + all important decisions are made. For example discussions and decisions about + the language happen on the internals@lists.php.net mailing list + (internals-win@lists.php.net for Windows-specific things such as packaging, + porting features not available yet on Windows, et cetera). All discussions + are open to whomever wants to participate. All you need to do is to sign up + to the mailing list and follow the discussions - and chime in if you have + something to add. Please take a few moments to familiarize yourself with the + mailing list "rules" before you go all crazy on the lists. For the rules that + are generally followed on all PHP mailing lists, please see + [[http://php.net/reST/php-src/README.MAILINGLIST_RULES]]. +

+ + +

+ Although most of the PHP internals contributors make their living writing PHP + applications, feedback from other users is crucial to the development of the + language, so your voice does matter. Keep in mind, however, that flaming + and/or talking down to the developers that spend most of their free time + working on the project may not exactly be the best approach to get your point + across. Take a look at [[http://php.net/mailinglists]] for a list of the most + popular mailing lists and see if any of them interest you, then sign up! +

+ + +

+ Even though most of the mailing lists are very active, not everything that is + contributed to PHP needs to be approved there first. For example, minor + features are often simply committed directly to SVN without asking or telling + anyone. These are typically things for which a developer working on an + external application saw a need and decided to add, in case anyone else might + need it in the future. PHP has a great peer-review process so it’s very hard + to "sneak" things in. Every commit to SVN is reviewed by quite a lot of people + who are interested in what is going on - or who simply enjoy reading code. If + a reviewer discovers issues with the commit, he or she will send a quick reply + to the commit and discuss it on the developers list. Often the peer review + results in extending the new feature and/or fixing unexpected behaviour, but + it can also result in removal of the feature as a whole if the community + doesn't see any need for it. +

+ + +

+ To help streamline part of the decision process and keep track of ideas, + proposals, and TODO lists, PHP has a wiki located at + [[http://wiki.php.net]]. This has proven to be a valuable resource when + developing new features, creating RFCs, and getting approval for things + before wasting time on a rejected feature. Discussions on controversial + features pop up on the mailing lists regularly, but with the help of the + wiki people can easily browse through previous discussions and see the + reasons for rejection. The wiki contains a lot of great information and is + definitely worth browsing for all those interested in the overall PHP.net + project. It not only covers RFCs, but also has a lot of information about + how various other things work; missing documentation, suggestions, + "internal" parser engine information, infrastructure docs, and even some + TODO lists are all examples of things included in the wiki. +

+ + + + +

So, how to get involved?

+

+There are a lot of ways you can contribute to the project, it simply depends on what you fancy. +

+ + + +

+ Getting involved is a lot easier than most people think - and chances are that + you are already involved in one way or another. You don't need an SVN account + and commit access to get started - SVN accounts need to be earned. Registering + on the mailing lists related to the topic in which you are interested - and + actively participating in the discussions - is a good start toward getting + your request for an SVN account granted. Browse the wiki to see if there are + outstanding TODO items you can help to clear, for example. Another great way + to get involved and really help out is by reviewing the bug tracker for bugs + you could potentially fix, or perhaps for which you could write a unit test. + Sending several patches to the mailing lists will quickly show that you are + interested and serious about your desire to contribute. Eventually someone + will get annoyed with the amount time they must spend to commit your patches + for you, and will probably respond with something along the lines of, "Stop + bothering me. Do it yourself!" and ask you to submit the SVN account form. + Mission accomplished! +

+ + + + +

Tips

+ + + + +

So what kind of projects does PHP.net have?

+ + +

+If you can't find something on which to work within PHP.net, you will have a +hard time finding it elsewhere. Introducing every project is beyond the scope +of this article, but we’ll cover some of the projects that don’t have entry +points that are too steep for newcomers. +

+ + + +

The Documentation Project

+

+ The main focus of the documentation project (phpdoc) is to document the PHP + language (and PECL extensions) with usage examples, FAQs, and tracking changes + in behaviour. The documentation is written in XML using the Docbook format + with English as the primary language. This is then translated into several + different languages by dedicated translation teams. The phpdoc team also + maintains sets of scripts to simplify the work: generation of skeletons for + new extensions and functions based on Reflection information, extracting INI + options, and various related utilities to extract information from the PHP + source code are all examples of tools used to make writing documentation + easier. The primary mailing list for phpdoc is phpdoc@lists.php.net, where + contributors coordinate their efforts and ask for feedback, suggestions, and + help. The list also covers the phpdoc sub-projects, such as the PhD and PhD + O.E. applications. Each translation team also has its own mailing list: + doc-<country-code>@lists.php.net. For example, doc-fr@lists.php.net for + the French translation list. +

+ +

+ A web application, called "PhD Online Editor" (PhD O.E), which aims to help + documentation editors focus on the content itself, rather than Docbook and XML + logistics, is under development at [[https://edit.php.net]]. It is getting + more and more popular, especially for newcomers who aren’t comfortable with + Docbook. It has a very rich interface and desktop application feeling to it, + and abstracts most of the XML magic from the contributor. One of the goals + of PhD O.E. is to get more people involved with the documentation effort, + and therefore it will allow anonymous users to "login" and use the + application. Modification, validation, translation, creation of new files, + and everything else you need for writing documentation is possible without + an SVN account. When saving changes, a patch will be created and saved to + the "patch queue,” while pending approval by someone with SVN karma to + commit the changes. PhD O.E. also bundles a variety of scripts to ensure the + docs use a consistent structure, allow the contributor to view undocumented + functions, and check the translation status of an entry (among other things). +

+ +

+ The team is also developing a Docbook rendering engine, called "PHP-based + Docbook Rendering" (PhD), to transform the Docbook XML into various different + formats, such as html, CHM, PDF, Unix manual pages, and the online format you + see while browsing [[http://php.net/manual]]. The application was written with + performance in mind and can render the entire PHP manual in less then five + minutes, whereas the previous tool chain would take over an hour for the same + task. PhD has received a lot of attention from various people and projects + using Docbook, and is now also in use outside of PHP.net for the rendering of + Docbook manuals. +

+ + +

+ Last, but not least: the team also maintains a website on + [[http://doc.php.net]] which aggregates translation statistics, tutorials, and + the documentation HOWTO. +

+ +

+ The project offers much more then just documentation, and is probably the + project to which it is easiest to start contributing. If you enjoy working + with XML, PHP, JS, documentation, writing articles, or simply want to dig + into the PHP internals from a different angle, this is the place to be. +

+ + +

The Websites

+

+No surprise there, the webmaster team maintains several websites, and is +responsible for maintaining the mirroring infrastructure and related tasks. +The websites contain a lot of information; everything from user group meet-ups +and conference listings, to tips & tricks and documentation, and +everything between. It is also the primary public source for release +information, as well as the general entry point for people looking into PHP. +

+ +

+To get up and running is very simple: just follow the points on [[http://wiki.php.net/web/mirror]] and you are all set. Once you have poked around a little you can look into the other websites, like qa.php.net, master.php.net and pecl.php.net. +

+ +

+Recently, work on redesigning the main website from the ground-up was started. Unfortunately, this effort has stalled a bit over the past several months due to a lack of contributors interested in being actively involved. The idea is simple: design a completely new layout and refactor the current content to make it more accessible. +

+ +

+Joining the redesign effort is a great entry point for those interested in markup, CSS, and general website development. Check out [[http://wiki.php.net/web/redesign]] and contact php-webmaster@lists.php.net if you are interested in contributing. You will be welcomed with roses! +

+ + + +

Conclusion

+

+PHP.net has a lot of areas to which you can contribute: everything from hardcore development to managing user-contributed notes in the manual; from debugging issues in bug reports to writing articles about new features for the manual. In this article we only covered the tip of the iceberg, mentioning only a small sample of concrete projects that do a lot more than initially meets the eye, and which welcome all the help they can get. We have also touched on how to influence the direction of the project, how to participate in discussions around the project, and ways you can make a difference. I hope this article has inspired you to get involved with the project,or has at least given you some idea on how things work and what you can do if you ever do decide you want to get involved! +

+ + +
PHP Wiki
Write a RFC
-
Get Involved
+
Get Involved
Report bugs
Contribute code
Organize an event