View Single Post
Old 04-05-2009, 02:53 PM   #38 (permalink)
ETbyrne
how quixotic are you?
 
ETbyrne's Avatar
 
Join Date: Dec 2007
Location: Lapeer, MI
Posts: 445
Thanks: 37
ETbyrne is on a distinguished road
Default

I've gotten a TON of work done on Dingo, enough to warrant changing it from version 0.1.2 to 0.1.3! I have the new version uploaded to the site. Here's a short list of what's changed:

Functions
They take a lot less writing. For example instead of doing this:
PHP Code:
$this->dingo->mysqli->query(); 
You can do this:
PHP Code:
$this->mysqli->query(); 
Organization
Helpers and libraries are now loaded from the "load" class:
PHP Code:
$this->load->helper();
$this->load->library(); 
Input data can now be accessed through the "input" class:
PHP Code:
$this->input->post();
$this->input->get();
$this->input->cookie();
$this->input->request(); 
URL Helper
The URL Helper functions are now placed in a class and can be accessed like so:
PHP Code:
url::base();
url::page();
url::model();
url::plugin_page();
url::plugin_model();
url::set_cookie();
url::delete_cookie();
url::redirect(); 
Routes
Routes can now use regular expressions:
PHP Code:
$route['one/([a-zA-Z]+)/([0-9]+)'] = 'query/$1/$2'
I'm in the process of updating the documentation on the site for the new version.
__________________
Dingo Web Systems > http://www.dingocode.com
My Website > http://www.evanbot.com
ETbyrne is offline  
Reply With Quote