Simple CRUD example |
[eluser]Robertson Freitas[/eluser]
I just posted on my blog a simple CRUD example with pagination and validation using CodeIgniter 1.7.1: http://blog.robertsonfreitas.com/2009/08...deigniter/ The post is in Portuguese, but the code has comments in English. My example uses this one as a base, which I consider a good model for those who are starting to learn CI: http://henrihnr.wordpress.com/2009/04/26...plication/ I would greatly appreciate your opinion, particularly related to: - Security - Best practices - Thin Model / Fat controller - Validation
[eluser]Robertson Freitas[/eluser]
An update to this post, with some changes: http://blog.robertsonfreitas.com/2009/09...ter-1-7-2/ - The version of CodeIgniter was updated to 1.7.2. - Layout settings moved to the right place. - Use of the function set_value, as recommended in the manual. - Small adjustments in the controller.
[eluser]wiredesignz[/eluser]
Good work. The message library is overkill, look into using $this->load->vars() to pass your messages to the views. |
Welcome Guest, Not a member yet? Register Sign In |