6 projects tagged "Any supporting PHP"
UverseWiki is a modular open source PHP framework designed for text processing. Unlike most existing solutions, it is not regular expression-based but instead uses a recursive descent parser to build a document object model. After the parsing stage has been finished and the DOM is produced, the original source is discarded and all operations are performed on the document tree instead: nodes can be altered, serialized, or rendered into a particular format (such as HTML or RTF). The wiki syntax is language-neutral and the processing itself is carried out in UTF-8.
GIF Animation Resizer is a class that can resize animations in files of the GIF format. It can take an animated GIF image file and extract its frames to files into a temporary directory. The class resizes the extracted images and rebuilds the animation into a new file in the GIF format.
FuzzyIndex indexes text for performing fuzzy searches using PHP and SQLite. It can process a list of text strings and build a database which indexes snippets of those strings and the locations where they appear. The class can also search for given keywords and returns the locations of the indexed strings where the best-matching text appears. It uses SQLite to store the indexed text database, but the class can be extended to use a different database type. It uses certain heuristics to extract the snippets from the indexed text. These heuristics are implemented as separate classes which can be used interchangeably.
Siviglia Templating is a recursive code-generating templating engine for PHP. It allows creation of templates using smaller, reusable bits of code called widgets. Those widgets can, in turn, be based in other widgets. In this way, templates are written using abstract widgets (like "page" or "menu"), which, recursively, resolve to concrete widgets which generate HTML (or any other language). Templates are just plain PHP files with some special tags used in the HTML context, so the syntax is very simple. Templates are parsed to generate a single PHP file, which is cached and served. Plugins are included to ease internationalization support and to keep in a single file the PHP, HTML, CSS, and JavaScript required for a widget.