![]() |
Simple CRUD example - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20) +--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23) +--- Thread: Simple CRUD example (/showthread.php?tid=21884) |
Simple CRUD example - El Forum - 08-23-2009 [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/24/crud-basico-com-codeigniter/ 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/simple-crud-application/ I would greatly appreciate your opinion, particularly related to: - Security - Best practices - Thin Model / Fat controller - Validation Simple CRUD example - El Forum - 09-20-2009 [eluser]Robertson Freitas[/eluser] An update to this post, with some changes: http://blog.robertsonfreitas.com/2009/09/20/crud-basico-com-codeigniter-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. Simple CRUD example - El Forum - 09-20-2009 [eluser]wiredesignz[/eluser] Good work. The message library is overkill, look into using $this->load->vars() to pass your messages to the views. |