PEAR

What is PEAR?

According to the Introduction page in the PEAR manual:

PEAR is short for “PHP Extension and Application Repository” and is pronounced just like the fruit.

Furthermore, the Introduction says:

The purpose of PEAR is to provide:

  • A structured library of open-sourced code for PHP users
  • A system for code distribution and package maintenance
  • A standard style for code written in PHP […]

I’m working on several PEAR packages:

  • DB_Table: This package was originally developed by Paul M. Jones. Package description:

    Builds on PEAR DB and MDB2 to abstract datatypes and automate table creation, data validation, insert, update, delete, and select; combines these with PEAR HTML_QuickForm to automatically generate input forms that match the table column definitions.

  • HTML_Table: This package was originally developed by Bertrand Mansion, Klaus Guenther, and Helgi ├×ormar. Package description:

    The PEAR::HTML_Table package provides methods for easy and efficient design of HTML tables.

    • Lots of customization options.
    • Tables can be modified at any time.
    • The logic is the same as standard HTML editors.
    • Handles col and rowspans.
    • PHP code is shorter, easier to read and to maintain.
    • Tables options can be reused.

    Since my refactoring of the package, it is now also able to divide the table in <thead>, <tfoot>, and <tbody> parts.

  • HTML_QuickForm_Renderer_Tableless: Package description:

    Replacement for the default renderer that doesn’t use table tags, and generates fully valid XHTML output.

  • HTML_QuickForm_Renderer_Tableless: Package description:

    This is a DHTML replacement for the standard JavaScript alert window for client-side validation of forms built with HTML_QuickForm when using the HTML_QuickForm_Renderer_Tableless renderer.

  • Structures_DataGrid: This package was originally developed by Andrew Nagy. Since the mid of 2006, Olivier Guilyardi and I are maintaining this package. Package description:

    This package offers a toolkit to render out a datagrid in HTML format as well as many other formats such as an XML Document, an Excel Spreadsheet, an XUL Document and more. It also offers paging and sorting functionallity to limit the data that is presented and processed. This concept is based on the .NET Framework DataGrid control and works very well with database and XML result sets.

    Structures_DataGrid consists of the core package and about 20 subpackages, called drivers. About the half of the drivers are DataSource drivers, and the others are renderer drivers.

Comments are closed.