Structures and advanced data types
Repository: PEAR - License: PHP License - By Greg Beaver (lead)
Construct and validate a logical chess game, does not display
The logic of handling a chessboard and parsing standard FEN (Farnsworth-Edwards Notation) for describing a position as well as SAN (Standard Algebraic Notation) for describing individual moves is handled. This class can be used as a backend driver for playing chess, or for validating and/or creating PGN files using the File_ChessPGN package.
Although this package is alpha, it is fully unit-tested. The code works, but the API is fluid, and may change dramatically as it is put into use and better ways are found to use it. When the API stabilizes, the stability will increase.
Repository: PEAR - License: PHP - By Xavier Noguer (lead)
Package for reading and writing OLE containers
This package allows reading and writing of OLE (Object Linking and Embedding) files, the format used as container for Excel, Word and other MS file formats. Documentation for the OLE format can be found at: http://user.cs.tu-berlin.de/~schwartz/pmh/guide.html
Repository: PEAR - License: PHP License - By Andrew S. Nagy (lead)
A package to create a grid like structure based on a record set of data that will output in many formats including an HTML Table.
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, a Smarty Template and more. It also offers paging and sorting functionallity to limit the data that is presented. This concept is based on the .NET Framework DataGrid
Repository: - License: LGPL -
Graph datastructure manipulation library
Structures_Graph is a package for creating and manipulating graph datastructures. It allows building of directed and undirected graphs, with data and metadata stored in nodes. The library provides functions for graph traversing as well as for characteristic extraction from the graph topology.
Docs are published <a href="http://pear.sergiocarvalho.com/docs/Structures_Graph/">here</a>.
Repository: PEAR - License: PHP License - By George Schlossnagle (lead)
Compute readability indexes for documents.
Text_Statistics allows for computation of readability indexes for text documents.
Repository: PEAR - License: PHP License - By Wolfram Kriesing (lead)
Generic tree management, currently supports DB and XML as data sources
Provides methods to read and manipulate trees, which are stored in the DB or an XML file. The trees can be stored in the DB either as nested trees. Or as simple trees ('brain dead method'), which use parentId-like structure. Currently XML data can only be read from a file and accessed. The package offers a big number of methods to access and manipulate trees. For example methods like: getRoot, getChild[ren[Ids]], getParent[s[Ids]], getPath[ById] and many more.
There are two ways of retreiving the data from the place where they are stored, one is by reading the entire tree into the memory - the Memory way. The other is reading the tree nodes as needed (very useful in combination with huge trees and the nested set model). The package is designed that way that it is possible to convert/copy tree data from either structure to another (from XML into DB).