0
I Use This!
Activity Not Available

Project Summary

  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.

Features

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.

<?php

$a = 2;

App::start(array(
'/login/' => 'login',
'/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;
else cache_set('bob',$bob);

No direct template engine, just PHP, but you can easy plug yours in.

Session based flash message

Flash::notice('Hello'); // or say('Hello')
Flash::store($my_form_values,'optionnal_key');
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.

Tags

kiss orm pdo php5

In a Nutshell, apphp...

 No code available to analyze

Open Hub computes statistics on FOSS projects by examining source code and commit history in source code management systems. This project has no code locations, and so Open Hub cannot perform this analysis

Is this project's source code hosted in a publicly available repository? Do you know the URL? If you do, click the button below and tell us so that Open Hub can generate statistics! It's fast and easy - try it and see!

Add a code location

MIT License
Permitted

Commercial Use

Modify

Distribute

Sub-License

Private Use

Forbidden

Hold Liable

Required

Include Copyright

Include License

These details are provided for information only. No information here is legal advice and should not be used as such.

All Licenses

This Project has No vulnerabilities Reported Against it

Did You Know...

  • ...
    Black Duck offers a free trial so you can discover if there are open source vulnerabilities in your code
  • ...
    learn about Open Hub updates and features on the Open Hub blog
  • ...
    65% of companies leverage OSS to speed application development in 2016
  • ...
    you can embed statistics from Open Hub on your site

 No code available to analyze

Open Hub computes statistics on FOSS projects by examining source code and commit history in source code management systems. This project has no code locations, and so Open Hub cannot perform this analysis

Is this project's source code hosted in a publicly available repository? Do you know the URL? If you do, click the button below and tell us so that Open Hub can generate statistics! It's fast and easy - try it and see!

Add a code location

Community Rating

Be the first to rate this project
Click to add your rating
   Spinner
Review this Project!
Sample ohloh analysis