The adventure PHP framework (APF) is a utility to implement object oriented and generic PHP Web applications. It allows the developer to create programs in compliance with approved software design patterns, and the code base already has answers to many everyday problems. The framework cannot be described as an application that only has to be configured, but rather as a technical basis and design guide for the design of software. Further, it introduced many concepts and efficiency tools already well known in the Java community.
This package can be used to implement aspect oriented programming (AOP) by executing the code of classes that enable orthogonal aspects at run- time. The intention is to provide a means to implement orthogonal aspects in separate classes that may be an interesting add to the application, like logging, caching, transaction control, etc., without affecting the main business logic. The package provides base classes for implementing defining point cuts where the code of an advice class is called to implement actions of the orthogonal aspects that an application may need to enable.
Easy Debugger is a simple class that makes debugging complex sites very simple. The class allows you to clearly and easily output strings, variables, and objects and color code them for easier reading. It also makes it incredibly simple to output strings, variables, or even objects to email for simple troubleshooting or AJAX pages and pages where reload doesn't allow debugging. It saves debug output until the end of the page; groups all outputs from a page together; groups all outputs from specific files together; has easy color coding for advanced troubleshooting; shows line numbers and file names so you don't lose debug items; and has simple helper functions to speed up use. Debugs can be left on while the site is live, with no unwanted interruption. This code has been used on over 100 sites, from simple HTML pages to complex Web applications.
File-Picker is a program to display and choose files from your Web site. It supports multiple languages. It uses AJAX to allow the user to interact with the server without reloading the page. You can pick several files at the same time. Its visual interface looks like a file explorer.
IAM OPML Parser Class parses an OPML file (provided its URL) and returns an array. This array contains, for each of the OPML file's elements, the following attributes: link_url, link_name, link_target, link_description, link_rss, created (date of creation), and type (link type: RSS, HTML, etc.). The class uses file_get_contents() to retrieve the contents of the OPML file, and then the XML extension is used to parse and store the file’s data in an associative array, where each outline element is stored using a different array index.
Loomes' Nested Set is a class that can be used to manage a tree of information stored in a database. It can perform several types of operations to manipulate a hierarchy of nodes that are stored in a database as table records. Currently, it can insert a root node, insert a node that is child of a given parent, delete a branch of nodes under a given node, delete a single node, rename a node, move nodes, check whether the root node exists, and retrieve the whole tree of nodes.