| |||||
The framework allows developers to easily write views using Ajax, control requests and responses through a controller, manage internationalized applications and communicate models and the database using simple conventions.
An Akelos-based application can run on most shared hosting service providers since Akelos only requires that PHP be available at the server.
This makes Akelos the best tool for distributing standalone web applications because it doesn't require any non-standard PHP configuration to run from.
Here are some key features of "Akelos PHP Framework":
Differences from Ruby on Rails:
· PHP doesn't have name spaces so on the controller you must access to $this->params, $this->ModelName, $this->Request, $this->Response
· Templates are ended in .tpl (there is only one render on the framework, but more can be added)
· Views work using PHP, but some like file functions, static method calls, object instantiation.... will be disallowed for helping in keeping in the view just presentation logic. If you need extra logic for your views you can always create a helper "./app/helpers" so your views will be easier to maintain.
· Helpers are made available automatically for your views under the naming convention $name_helper were "name" is the name of the desired helper.
· $url_helper->url_for(array('action'=>'add'));
· All the methods (but helpers) use PEAR like naming conventions so instead of AkActionController::url_for() you need to call AkActionController::urlFor()
· Helpers are located at /lib/AkActionView/helpers (it's worth having a look at them)
Requirements:
· PHP 5 or higher

Via: Akelos PHP Framework 2.0.1






0 Comment:
Post a Comment