Since I use CodeIgniter pretty much every day here at doof, I’ve been thinking alot about what it could do to improve future releases, and really bring it to the foreground for a much wider reach.
Here’s a few ideas for improvements and enhancements:
- New Validation Class
CI’s validation class is pretty good right now, but it isn’t exactly ruby-on-rails is it? Right now, there’s an awful lot of steps involved in validating data. CI should really try to re-think its validation class to allow for a much simpler implementation with a DRY-er approach, and a more intuitive method.
Example:
$model_validation = $this->model_name->validation(); $this->load->library('validation', $model_validation);
Something like this with just a couple of lines of initiation would be fantastic, and much, much, sexier.
- AJAX
It’s at the heart of so-many web applications now. CodeIgniter would be fantastic if it had an improved native AJAX support which returned data in XML – Handled by the framework itself. - Better Scaffolding
Something like ‘ActiveScaffolding’ for rails would be a very nice addition.
This would allow developers to very quickly build administration sections for the applications without having to re-use large sections of code.
Well, there’s a few ideas, what do you think? – What things would you like to see in CI?