• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
CI_plugins collection

#1
[eluser]kimo_gusatava[/eluser]
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:
Code:
$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');

Code:
$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

Cheers


Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2021 MyBB Group.