Welcome Guest, Not a member yet? Register   Sign In
CI_plugins collection

Hi All,

I've been a codeigniter user for years now and I still consider this as one one of my top choices in developing websites...

Lately I was using Zend at work, and Notice how useful Zend_Config and Zend_Form worked together. then I remember most of my codeigniter codes creating and validating forms:
$this->form_validation->set_rules('username', 'Username', 'trim|required|min_length[5]|max_length[12]|xss_clean');
$this->form_validation->set_rules('password', 'Password', 'trim|required|matches[passconf]|md5');
$this->form_validation->set_rules('passconf', 'Password Confirmation', 'trim|required');
$this->form_validation->set_rules('email', 'Email', 'trim|required|valid_email');

$data = array(
              'name'  => 'John Doe',
              'email' => '[email protected]',
              'url'   => 'http://example.com'

echo form_hidden($data);

so I thought... why not create an ini file that would handle both form creation and validation (if i could go farther how bout some decorator...)

I started this project yesterday (July 18, 2012) and hope to go further, but my day job is eating most of my time. so I decided to put this one on github, maybe someone is interested in participating on this little library... any help would be great or more or less suggestion... Big Grin :lol:

GitHub CI_plugins collections


Theme © iAndrew 2016 - Forum software by © MyBB