ap.php is a php5 framework to build rapid website prototypes. Main goals are to provide common design tools, as database access, authentication and debug helpers. apphp has essential built-in modules and can easily add more.
Apphp is easy to deploy, it's just a single php file.
A very clean and smart debug page, created for web dev, all plugins have explicit exceptions. All php standard errors are transformed into catchables exceptions, even FATAL ones.
'/logout/' => 'logout',
'/hello/$name:login/' => 'hello#hello',
'/login/return/' => 'login_return',
'/say/$hello:' => 'text'
?>simple HTTP and file-based cache system, to keep performance over stream & vars.
if( in_cache($b = cache_get('bob',$bob))) print $bob;
No direct template engine, just PHP, but you can easy plug yours in.
Session based flash message
Flash::notice('Hello'); // or say('Hello')
messages(); // or if(has_messages()) Flash::notice()
Easy DB connection via PDO string, build clean query, SQL free
$user = db('users')->get('id=',2);
$bad_users = db('users')->filter('mood !=',$mood)->all();
A simple OO cURL interface to make HTTP requests
$url = new URL('http://example.com/api');
$url->post = true;
$url->postfields = array('key'=>'782977987978');
$response = $url->exec();
// or simply
$response = URL::POST('http://example.com',array('key'=>345224));
Simple & Modularap.php is a single php file, but with his simple module brigde, it's easy to add your own. A plugin file as SiteMap.php containing an exactly similar class SiteMap, associated with related exceptions SiteMapException, is a correct plugin.