Yawp is a single-file rapid application development framework foundation for PHP and PEAR. When you "include 'Yawp.php'" and call "Yawp::start()", you get: a single easy-to-edit config file for your application, automated authentication processing, and automatic creation of common objects (a database abstraction layer, disk cache, composite logger, benchmark timer, and variable dumper). It provides safe accessor methods for GET, POST, and configuration values. It is fully documented with examples.
| Tags | Software Development Libraries php classes |
|---|---|
| Licenses | LGPL |
| Operating Systems | OS Independent |
| Implementation | PHP |
Recent releases


Changes: First stable release. Adds merge() method to merge form data with default values, and uses "HTML4_Table" as the default display mode for Var_Dump.


Changes: Changes from 0.11 to 0.16 include changes in method names for consistency, automated use of the DB object for authentication and logging, the addition of a getPathInfo() method, strip_tags() on all GET and PATH_INFO vars, and a fix for a bug where authentication redirects would not retain error status.


Changes: When using the Auth 'DB' container, and you don't specify a DSN, Yawp will use its own DB connection for the Auth connection. Similarly, when using the Log 'sql' handler, and you don't specify a DSN, Yawp will use its own DB connection for the Log connection. The older method names are not deprecated in this release, but will be in a later release; be sure to change your API calls as soon as possible.


Changes: Benchmark_Timer is now optional. New method names for markTime(), displayTime(), and getUsername() were added; the old names are deprecated and will be removed in the next version. A new method getObject() to retrieve Yawp property objects was also added.


Changes: trigger_error(E_USER_ERROR) is now used instead of die() when a program cannot find its config file. Error constants and i18n-able error messages were added. The project was moved to its own Web site.