What is Codetana?
Codetana is a base framework that allows you to easily develop your project on top of it. Codetana is easy to use and understand as it is well-commented and simple.
Codetana offers developers...
A simple-to-use templating system, MySQLi class, so-called "view" controller, PermGET from ribbonCMS and a form helper class.
Helping tips!
The variable $CT will be used as a call variable for calling out functions for each class.
Available calls:
- $CT->form
- $CT->mysqli
- $CT->permget
- $CT->template
PHP:
//Initialising classes
$CT->init('permget');//Initialising PermGET
$CT->init('mysqli', array('db_stuff'));//Initialising MySQLi
$CT->init('form');;//Initialising the form helper.
And you can do this (Example):
PHP:
//Example
$CT->permget->PermGET('id');
//Or
$CT->template->addParam('parameter', 'value');
//Awesome chainings
You can easily extend the template class as well:
PHP:
class tpl_extent extends CT_Template {//Starting an extended class
public function __construct() {//Construct
parent::addParam('parameter', 'value');//Calling a function.
//Or adding contents to the output.
parent::$output .= 'Something.';
}
}
Download (V1.1.0) ribbonCMS Standard....
[
You must be registered for see links
]Who's using Codetana?
BlahHosting (Main Site) [
You must be registered for see links
]ribbonCMS 3.0