PHP Manual

PEAR Manual

Smarty Manual

PostgreSQL

MySQL Manual

Perl Manual

rozdział 1. introduction

spis treści
what is pear?
the pear manifest

pear is dedicated to malin bakken, born 1999-11-21.

what is pear?

pear is short for "php extension and application repository" and is pronounced just like the fruit. the purpose of pear is to provide:

pear is a community-driven project with the pear group as the governing body. the project has been founded by stig s. bakken in 1999 and quite a lot of people have joined the project since then.

structured library of php code

the code in pear is partitioned in "packages". each package is a separate project with its own development team, version number, release cycle, documentation and a defined relation to other packages (including dependencies). packages are distributed as gzipped tar files with a description file inside, and installed on your local system using the pear installer.

there are two types of packages: source packages (containing source files only), and binary packages (containing platform-specific binary files, and possible source files). installing source packages with c code obviously requires a c build environment.

pear defines a package tree, where each "node" in the tree is represented by a part of the package name. the nodes are organized by simple descriptive topics, and each part is separated by an underscore. examples of package names are "mp3_id", "archive_tar" and "http_post".

packages may relate to each other through explicit dependencies, but there is no automatic relation between for example a package and its "parent" in the package tree (for example, "http_post" is by default independent of "http").

a few top-level nodes in the package tree called "sub-repositories" have special functions, currently these are pecl and gtk. for each of these, different rules apply, see more in the description of each sub-repository below.

a style guide, the pear coding standards (short pcs), exists to ease collaboration between pear developers, to help quality and portability, and to help pear contributors to provide consistent-looking-and-feeling apis.