The Toppa Plugin Libraries for WordPress include several utilities for plugin developers. They facilitate the use of Agile coding techniques for developing WordPress plugins. This library is required for use of toppa.com plugins. The following libraries are included:
- ToppaAutoloader: gives you an easy way to autoload class files for WordPress plugins. It conforms to the PSR-0 standard for autoloading in PHP, except it does not yet support namespaces (since WordPress currently is not intended for use with features that were introduced in PHP 5.3).
- ToppaSettings: simplifies the management of plugin settings.
- ToppaFunctionsFacade: creates a facade (wrapper) for functions that are custom to WordPress, and provides enhanced functionality for certain tasks (such as multisite plugin installations). This allows you to write your plugins without calling WordPress functions directly. This gives you the power to do two things: 1. write unit tests for your plugin, and 2. make your plugin potentially usable outside of WordPress.
- ToppaDatabaseFacade: similar in concept to ToppaFunctionsFacade, but focuses on database interactions. In addition to creating wrappers for WordPress database calls, it includes enhanced functionality for tasks such as creating custom tables.
- ToppaHtmlFormField: a lightweight utility for creating HTML form fields. It is not a complete form builder. Instead it is intended to make it very easy to create form fields in a standardized way, and then lets you use them however you like.
See the Toppa Plugin Libraries for WordPress page on my website for more details and usage examples.