{"id":234,"date":"2014-12-23T20:53:48","date_gmt":"2014-12-23T20:53:48","guid":{"rendered":"http:\/\/shabeebk.com\/blog\/?page_id=234"},"modified":"2014-12-30T21:08:31","modified_gmt":"2014-12-30T21:08:31","slug":"ciig-codeigniter-crud-generator","status":"publish","type":"page","link":"http:\/\/shabeebk.com\/blog\/ciig-codeigniter-crud-generator\/","title":{"rendered":"CIIG | codeigniter CRUD generator"},"content":{"rendered":"<p> CIIG or  codeigniter-ignator  is codeigniter crud generator from database, which will simplify developer&#8217;s job who uses codeigniter framework.<br \/>\nWe all know that codeigniter is one of the best light weight developer friendly framework for PHP.<br \/>\nHave you ever thought of creating an automatic form in codeigniter?<\/p>\n<p>Here I have narrated a simple way to use this small application which can generate forms \/ CRUD generator for codeigniter.<br \/>\n<br \/>\nNow let us see how this application can be used to generate a form.<\/p>\n<p>As a developer we all know for creating an application we have to setup a database first. Once you have designed the database and the tables, you can download this codeigniter scaffolding (CRUD generator).<\/p>\n<p>You can either download from  <a href=\"https:\/\/github.com\/shabeeb\/ciig\"> github <\/a> or from this blog.<\/p>\n<p>Once downloaded you will get a zip folder which on extracting you will get a folder with following files:<\/p>\n<div id=\"attachment_236\" style=\"width: 235px\" class=\"wp-caption alignnone\"><a href=\"http:\/\/shabeebk.com\/blog\/wp-content\/uploads\/2014\/12\/ciig-folder_struct.png\"><img aria-describedby=\"caption-attachment-236\" loading=\"lazy\" src=\"http:\/\/shabeebk.com\/blog\/wp-content\/plugins\/jquery-image-lazy-loading\/images\/grey.gif\" data-original=\"http:\/\/shabeebk.com\/blog\/wp-content\/uploads\/2014\/12\/ciig-folder_struct-225x300.png\" alt=\"codeigniter crud generator \" width=\"225\" height=\"300\" class=\"lazy size-medium wp-image-236\" srcset=\"http:\/\/shabeebk.com\/blog\/wp-content\/uploads\/2014\/12\/ciig-folder_struct-225x300.png 225w, http:\/\/shabeebk.com\/blog\/wp-content\/uploads\/2014\/12\/ciig-folder_struct.png 508w\" sizes=\"(max-width: 225px) 100vw, 225px\" \/><p id=\"caption-attachment-236\" class=\"wp-caption-text\"><noscript><img loading=\"lazy\" src=\"http:\/\/shabeebk.com\/blog\/wp-content\/uploads\/2014\/12\/ciig-folder_struct-225x300.png\" alt=\"codeigniter crud generator \" width=\"225\" height=\"300\" class=\"size-medium wp-image-236\" srcset=\"http:\/\/shabeebk.com\/blog\/wp-content\/uploads\/2014\/12\/ciig-folder_struct-225x300.png 225w, http:\/\/shabeebk.com\/blog\/wp-content\/uploads\/2014\/12\/ciig-folder_struct.png 508w\" sizes=\"(max-width: 225px) 100vw, 225px\" \/><\/noscript><\/a> codeigniter crud generator<\/p><\/div>\n<p>After extracting, you need to make the following changes:<br \/>\n 1. We have to change the config file base url in codeignator  application\/config\/config.php<\/p>\n<div id=\"attachment_237\" style=\"width: 310px\" class=\"wp-caption alignnone\"><a href=\"http:\/\/shabeebk.com\/blog\/wp-content\/uploads\/2014\/12\/ciig-config_path.png\"><img aria-describedby=\"caption-attachment-237\" loading=\"lazy\" src=\"http:\/\/shabeebk.com\/blog\/wp-content\/plugins\/jquery-image-lazy-loading\/images\/grey.gif\" data-original=\"http:\/\/shabeebk.com\/blog\/wp-content\/uploads\/2014\/12\/ciig-config_path-300x191.png\" alt=\"ciig - config path change\" width=\"300\" height=\"191\" class=\"lazy size-medium wp-image-237\" srcset=\"http:\/\/shabeebk.com\/blog\/wp-content\/uploads\/2014\/12\/ciig-config_path-300x191.png 300w, http:\/\/shabeebk.com\/blog\/wp-content\/uploads\/2014\/12\/ciig-config_path.png 1024w, http:\/\/shabeebk.com\/blog\/wp-content\/uploads\/2014\/12\/ciig-config_path-788x501.png 788w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><p id=\"caption-attachment-237\" class=\"wp-caption-text\"><noscript><img loading=\"lazy\" src=\"http:\/\/shabeebk.com\/blog\/wp-content\/uploads\/2014\/12\/ciig-config_path-300x191.png\" alt=\"ciig - config path change\" width=\"300\" height=\"191\" class=\"size-medium wp-image-237\" srcset=\"http:\/\/shabeebk.com\/blog\/wp-content\/uploads\/2014\/12\/ciig-config_path-300x191.png 300w, http:\/\/shabeebk.com\/blog\/wp-content\/uploads\/2014\/12\/ciig-config_path.png 1024w, http:\/\/shabeebk.com\/blog\/wp-content\/uploads\/2014\/12\/ciig-config_path-788x501.png 788w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/noscript><\/a> ciig &#8211; config path change<\/p><\/div>\n<div id=\"attachment_238\" style=\"width: 310px\" class=\"wp-caption alignnone\"><a href=\"http:\/\/shabeebk.com\/blog\/wp-content\/uploads\/2014\/12\/ciig-baseurl-change.png\"><img aria-describedby=\"caption-attachment-238\" loading=\"lazy\" src=\"http:\/\/shabeebk.com\/blog\/wp-content\/plugins\/jquery-image-lazy-loading\/images\/grey.gif\" data-original=\"http:\/\/shabeebk.com\/blog\/wp-content\/uploads\/2014\/12\/ciig-baseurl-change-300x282.png\" alt=\"ciig-baseurl-change\" width=\"300\" height=\"282\" class=\"lazy size-medium wp-image-238\" srcset=\"http:\/\/shabeebk.com\/blog\/wp-content\/uploads\/2014\/12\/ciig-baseurl-change-300x282.png 300w, http:\/\/shabeebk.com\/blog\/wp-content\/uploads\/2014\/12\/ciig-baseurl-change.png 1024w, http:\/\/shabeebk.com\/blog\/wp-content\/uploads\/2014\/12\/ciig-baseurl-change-788x741.png 788w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><p id=\"caption-attachment-238\" class=\"wp-caption-text\"><noscript><img loading=\"lazy\" src=\"http:\/\/shabeebk.com\/blog\/wp-content\/uploads\/2014\/12\/ciig-baseurl-change-300x282.png\" alt=\"ciig-baseurl-change\" width=\"300\" height=\"282\" class=\"size-medium wp-image-238\" srcset=\"http:\/\/shabeebk.com\/blog\/wp-content\/uploads\/2014\/12\/ciig-baseurl-change-300x282.png 300w, http:\/\/shabeebk.com\/blog\/wp-content\/uploads\/2014\/12\/ciig-baseurl-change.png 1024w, http:\/\/shabeebk.com\/blog\/wp-content\/uploads\/2014\/12\/ciig-baseurl-change-788x741.png 788w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/noscript><\/a> ciig-baseurl-change<\/p><\/div>\n<p><!-- Category - 3 (shabeebk.com) --><br \/>\n<ins class=\"adsbygoogle\"\n     style=\"display:block\"\n     data-ad-client=\"ca-pub-1812723430816589\"\n     data-ad-slot=\"7059238555\"\n     data-ad-format=\"auto\"><\/ins><br \/>\n<script>\n(adsbygoogle = window.adsbygoogle || []).push({});\n<\/script><\/p>\n<p>2. After that we have to change database setting in application\/config\/database.php<\/p>\n<p><a href=\"http:\/\/shabeebk.com\/blog\/wp-content\/uploads\/2014\/12\/ciig_database_change.png\"><img loading=\"lazy\" src=\"http:\/\/shabeebk.com\/blog\/wp-content\/plugins\/jquery-image-lazy-loading\/images\/grey.gif\" data-original=\"http:\/\/shabeebk.com\/blog\/wp-content\/uploads\/2014\/12\/ciig_database_change-300x189.png\" alt=\"ciig_database_change\" width=\"300\" height=\"189\" class=\"lazy alignnone size-medium wp-image-239\" srcset=\"http:\/\/shabeebk.com\/blog\/wp-content\/uploads\/2014\/12\/ciig_database_change-300x189.png 300w, http:\/\/shabeebk.com\/blog\/wp-content\/uploads\/2014\/12\/ciig_database_change.png 1024w, http:\/\/shabeebk.com\/blog\/wp-content\/uploads\/2014\/12\/ciig_database_change-788x497.png 788w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><noscript><img loading=\"lazy\" src=\"http:\/\/shabeebk.com\/blog\/wp-content\/uploads\/2014\/12\/ciig_database_change-300x189.png\" alt=\"ciig_database_change\" width=\"300\" height=\"189\" class=\"alignnone size-medium wp-image-239\" srcset=\"http:\/\/shabeebk.com\/blog\/wp-content\/uploads\/2014\/12\/ciig_database_change-300x189.png 300w, http:\/\/shabeebk.com\/blog\/wp-content\/uploads\/2014\/12\/ciig_database_change.png 1024w, http:\/\/shabeebk.com\/blog\/wp-content\/uploads\/2014\/12\/ciig_database_change-788x497.png 788w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/noscript><\/a><\/p>\n<p>3. Before changing the database I am going to create a new database and a few tables inside that. The table create will look like as below:<\/p>\n<p><a href=\"http:\/\/shabeebk.com\/blog\/wp-content\/uploads\/2014\/12\/ciig-tablestructure.png\"><img loading=\"lazy\" src=\"http:\/\/shabeebk.com\/blog\/wp-content\/plugins\/jquery-image-lazy-loading\/images\/grey.gif\" data-original=\"http:\/\/shabeebk.com\/blog\/wp-content\/uploads\/2014\/12\/ciig-tablestructure-300x116.png\" alt=\"ciig-table-structure\" width=\"300\" height=\"116\" class=\"lazy alignnone size-medium wp-image-240\" srcset=\"http:\/\/shabeebk.com\/blog\/wp-content\/uploads\/2014\/12\/ciig-tablestructure-300x116.png 300w, http:\/\/shabeebk.com\/blog\/wp-content\/uploads\/2014\/12\/ciig-tablestructure.png 1024w, http:\/\/shabeebk.com\/blog\/wp-content\/uploads\/2014\/12\/ciig-tablestructure-788x306.png 788w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><noscript><img loading=\"lazy\" src=\"http:\/\/shabeebk.com\/blog\/wp-content\/uploads\/2014\/12\/ciig-tablestructure-300x116.png\" alt=\"ciig-table-structure\" width=\"300\" height=\"116\" class=\"alignnone size-medium wp-image-240\" srcset=\"http:\/\/shabeebk.com\/blog\/wp-content\/uploads\/2014\/12\/ciig-tablestructure-300x116.png 300w, http:\/\/shabeebk.com\/blog\/wp-content\/uploads\/2014\/12\/ciig-tablestructure.png 1024w, http:\/\/shabeebk.com\/blog\/wp-content\/uploads\/2014\/12\/ciig-tablestructure-788x306.png 788w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/noscript><\/a><\/p>\n<p>Next we wil go to the main screen, where we can see the ciig crud generator form.<\/p>\n<p><a href=\"http:\/\/shabeebk.com\/blog\/wp-content\/uploads\/2014\/12\/ciig-crud-generator-form.png\"><img loading=\"lazy\" src=\"http:\/\/shabeebk.com\/blog\/wp-content\/plugins\/jquery-image-lazy-loading\/images\/grey.gif\" data-original=\"http:\/\/shabeebk.com\/blog\/wp-content\/uploads\/2014\/12\/ciig-crud-generator-form-300x161.png\" alt=\"ciig-crud-generator-form\" width=\"300\" height=\"161\" class=\"lazy alignnone size-medium wp-image-241\" srcset=\"http:\/\/shabeebk.com\/blog\/wp-content\/uploads\/2014\/12\/ciig-crud-generator-form-300x161.png 300w, http:\/\/shabeebk.com\/blog\/wp-content\/uploads\/2014\/12\/ciig-crud-generator-form.png 1024w, http:\/\/shabeebk.com\/blog\/wp-content\/uploads\/2014\/12\/ciig-crud-generator-form-788x423.png 788w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><noscript><img loading=\"lazy\" src=\"http:\/\/shabeebk.com\/blog\/wp-content\/uploads\/2014\/12\/ciig-crud-generator-form-300x161.png\" alt=\"ciig-crud-generator-form\" width=\"300\" height=\"161\" class=\"alignnone size-medium wp-image-241\" srcset=\"http:\/\/shabeebk.com\/blog\/wp-content\/uploads\/2014\/12\/ciig-crud-generator-form-300x161.png 300w, http:\/\/shabeebk.com\/blog\/wp-content\/uploads\/2014\/12\/ciig-crud-generator-form.png 1024w, http:\/\/shabeebk.com\/blog\/wp-content\/uploads\/2014\/12\/ciig-crud-generator-form-788x423.png 788w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/noscript><\/a><\/p>\n<p><!-- Category - 3 (shabeebk.com) --><br \/>\n<ins class=\"adsbygoogle\"\n     style=\"display:block\"\n     data-ad-client=\"ca-pub-1812723430816589\"\n     data-ad-slot=\"7059238555\"\n     data-ad-format=\"auto\"><\/ins><br \/>\n<script>\n(adsbygoogle = window.adsbygoogle || []).push({});\n<\/script><\/p>\n<p>After that we need to give our table name here on table name text field., like that we will give the controller name and form title too.<\/p>\n<p><a href=\"http:\/\/shabeebk.com\/blog\/wp-content\/uploads\/2014\/12\/sample_ciig-form.png\"><img loading=\"lazy\" src=\"http:\/\/shabeebk.com\/blog\/wp-content\/plugins\/jquery-image-lazy-loading\/images\/grey.gif\" data-original=\"http:\/\/shabeebk.com\/blog\/wp-content\/uploads\/2014\/12\/sample_ciig-form-300x86.png\" alt=\"sample_ciig-form sample\" width=\"300\" height=\"86\" class=\"lazy alignnone size-medium wp-image-242\" srcset=\"http:\/\/shabeebk.com\/blog\/wp-content\/uploads\/2014\/12\/sample_ciig-form-300x86.png 300w, http:\/\/shabeebk.com\/blog\/wp-content\/uploads\/2014\/12\/sample_ciig-form.png 1024w, http:\/\/shabeebk.com\/blog\/wp-content\/uploads\/2014\/12\/sample_ciig-form-788x225.png 788w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><noscript><img loading=\"lazy\" src=\"http:\/\/shabeebk.com\/blog\/wp-content\/uploads\/2014\/12\/sample_ciig-form-300x86.png\" alt=\"sample_ciig-form sample\" width=\"300\" height=\"86\" class=\"alignnone size-medium wp-image-242\" srcset=\"http:\/\/shabeebk.com\/blog\/wp-content\/uploads\/2014\/12\/sample_ciig-form-300x86.png 300w, http:\/\/shabeebk.com\/blog\/wp-content\/uploads\/2014\/12\/sample_ciig-form.png 1024w, http:\/\/shabeebk.com\/blog\/wp-content\/uploads\/2014\/12\/sample_ciig-form-788x225.png 788w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/noscript><\/a><\/p>\n<p>Once we click on submit it will show 5 text boxes with PHP code. <br \/>\n    &#8211; Model &#8211; (Here  sample_table_model.php )<br \/>\n    &#8211; Controller &#8211; (sample_table.php)<br \/>\n    &#8211; List Form  &#8211; (list_sample_table.php)<br \/>\n    &#8211; Create Form &#8211; ( create_sample_table.php)<br \/>\n    &#8211; Header structure &#8211; (header.php) <br \/>\n    &#8211; Footer &#8211; (footer.php) <\/p>\n<p><\/p>\n<p>&#8211; <strong>Model<\/strong><\/p>\n<p><a href=\"http:\/\/shabeebk.com\/blog\/wp-content\/uploads\/2014\/12\/ciig-model.png\"><img loading=\"lazy\" src=\"http:\/\/shabeebk.com\/blog\/wp-content\/plugins\/jquery-image-lazy-loading\/images\/grey.gif\" data-original=\"http:\/\/shabeebk.com\/blog\/wp-content\/uploads\/2014\/12\/ciig-model-300x165.png\" alt=\"ciig-model\" width=\"300\" height=\"165\" class=\"lazy alignnone size-medium wp-image-243\" srcset=\"http:\/\/shabeebk.com\/blog\/wp-content\/uploads\/2014\/12\/ciig-model-300x165.png 300w, http:\/\/shabeebk.com\/blog\/wp-content\/uploads\/2014\/12\/ciig-model.png 1024w, http:\/\/shabeebk.com\/blog\/wp-content\/uploads\/2014\/12\/ciig-model-788x435.png 788w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><noscript><img loading=\"lazy\" src=\"http:\/\/shabeebk.com\/blog\/wp-content\/uploads\/2014\/12\/ciig-model-300x165.png\" alt=\"ciig-model\" width=\"300\" height=\"165\" class=\"alignnone size-medium wp-image-243\" srcset=\"http:\/\/shabeebk.com\/blog\/wp-content\/uploads\/2014\/12\/ciig-model-300x165.png 300w, http:\/\/shabeebk.com\/blog\/wp-content\/uploads\/2014\/12\/ciig-model.png 1024w, http:\/\/shabeebk.com\/blog\/wp-content\/uploads\/2014\/12\/ciig-model-788x435.png 788w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/noscript><\/a><\/p>\n<p>&#8211; <strong>Controller<\/strong><\/p>\n<p><a href=\"http:\/\/shabeebk.com\/blog\/wp-content\/uploads\/2014\/12\/ciig-controller.png\"><img loading=\"lazy\" src=\"http:\/\/shabeebk.com\/blog\/wp-content\/plugins\/jquery-image-lazy-loading\/images\/grey.gif\" data-original=\"http:\/\/shabeebk.com\/blog\/wp-content\/uploads\/2014\/12\/ciig-controller-300x138.png\" alt=\"ciig-controller\" width=\"300\" height=\"138\" class=\"lazy alignnone size-medium wp-image-244\" srcset=\"http:\/\/shabeebk.com\/blog\/wp-content\/uploads\/2014\/12\/ciig-controller-300x138.png 300w, http:\/\/shabeebk.com\/blog\/wp-content\/uploads\/2014\/12\/ciig-controller.png 1024w, http:\/\/shabeebk.com\/blog\/wp-content\/uploads\/2014\/12\/ciig-controller-788x364.png 788w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><noscript><img loading=\"lazy\" src=\"http:\/\/shabeebk.com\/blog\/wp-content\/uploads\/2014\/12\/ciig-controller-300x138.png\" alt=\"ciig-controller\" width=\"300\" height=\"138\" class=\"alignnone size-medium wp-image-244\" srcset=\"http:\/\/shabeebk.com\/blog\/wp-content\/uploads\/2014\/12\/ciig-controller-300x138.png 300w, http:\/\/shabeebk.com\/blog\/wp-content\/uploads\/2014\/12\/ciig-controller.png 1024w, http:\/\/shabeebk.com\/blog\/wp-content\/uploads\/2014\/12\/ciig-controller-788x364.png 788w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/noscript><\/a><\/p>\n<p>&#8211; <strong>Create form<\/strong><\/p>\n<p><a href=\"http:\/\/shabeebk.com\/blog\/wp-content\/uploads\/2014\/12\/ciig-create-form.png\"><img loading=\"lazy\" src=\"http:\/\/shabeebk.com\/blog\/wp-content\/plugins\/jquery-image-lazy-loading\/images\/grey.gif\" data-original=\"http:\/\/shabeebk.com\/blog\/wp-content\/uploads\/2014\/12\/ciig-create-form-300x138.png\" alt=\"ciig-create-form\" width=\"300\" height=\"138\" class=\"lazy alignnone size-medium wp-image-245\" srcset=\"http:\/\/shabeebk.com\/blog\/wp-content\/uploads\/2014\/12\/ciig-create-form-300x138.png 300w, http:\/\/shabeebk.com\/blog\/wp-content\/uploads\/2014\/12\/ciig-create-form.png 1024w, http:\/\/shabeebk.com\/blog\/wp-content\/uploads\/2014\/12\/ciig-create-form-788x362.png 788w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><noscript><img loading=\"lazy\" src=\"http:\/\/shabeebk.com\/blog\/wp-content\/uploads\/2014\/12\/ciig-create-form-300x138.png\" alt=\"ciig-create-form\" width=\"300\" height=\"138\" class=\"alignnone size-medium wp-image-245\" srcset=\"http:\/\/shabeebk.com\/blog\/wp-content\/uploads\/2014\/12\/ciig-create-form-300x138.png 300w, http:\/\/shabeebk.com\/blog\/wp-content\/uploads\/2014\/12\/ciig-create-form.png 1024w, http:\/\/shabeebk.com\/blog\/wp-content\/uploads\/2014\/12\/ciig-create-form-788x362.png 788w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/noscript><\/a><\/p>\n<p>&#8211; <strong>List form<\/strong><\/p>\n<p><a href=\"http:\/\/shabeebk.com\/blog\/wp-content\/uploads\/2014\/12\/ciig-list-form.png\"><img loading=\"lazy\" src=\"http:\/\/shabeebk.com\/blog\/wp-content\/plugins\/jquery-image-lazy-loading\/images\/grey.gif\" data-original=\"http:\/\/shabeebk.com\/blog\/wp-content\/uploads\/2014\/12\/ciig-list-form-300x138.png\" alt=\"ciig-list-form\" width=\"300\" height=\"138\" class=\"lazy alignnone size-medium wp-image-246\" srcset=\"http:\/\/shabeebk.com\/blog\/wp-content\/uploads\/2014\/12\/ciig-list-form-300x138.png 300w, http:\/\/shabeebk.com\/blog\/wp-content\/uploads\/2014\/12\/ciig-list-form.png 1024w, http:\/\/shabeebk.com\/blog\/wp-content\/uploads\/2014\/12\/ciig-list-form-788x364.png 788w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><noscript><img loading=\"lazy\" src=\"http:\/\/shabeebk.com\/blog\/wp-content\/uploads\/2014\/12\/ciig-list-form-300x138.png\" alt=\"ciig-list-form\" width=\"300\" height=\"138\" class=\"alignnone size-medium wp-image-246\" srcset=\"http:\/\/shabeebk.com\/blog\/wp-content\/uploads\/2014\/12\/ciig-list-form-300x138.png 300w, http:\/\/shabeebk.com\/blog\/wp-content\/uploads\/2014\/12\/ciig-list-form.png 1024w, http:\/\/shabeebk.com\/blog\/wp-content\/uploads\/2014\/12\/ciig-list-form-788x364.png 788w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/noscript><\/a><\/p>\n<p>&#8211; <strong>Header<\/strong><\/p>\n<p><a href=\"http:\/\/shabeebk.com\/blog\/wp-content\/uploads\/2014\/12\/ciig-header-form.png\"><img loading=\"lazy\" src=\"http:\/\/shabeebk.com\/blog\/wp-content\/plugins\/jquery-image-lazy-loading\/images\/grey.gif\" data-original=\"http:\/\/shabeebk.com\/blog\/wp-content\/uploads\/2014\/12\/ciig-header-form-300x139.png\" alt=\"ciig-header-form\" width=\"300\" height=\"139\" class=\"lazy alignnone size-medium wp-image-247\" srcset=\"http:\/\/shabeebk.com\/blog\/wp-content\/uploads\/2014\/12\/ciig-header-form-300x139.png 300w, http:\/\/shabeebk.com\/blog\/wp-content\/uploads\/2014\/12\/ciig-header-form.png 1024w, http:\/\/shabeebk.com\/blog\/wp-content\/uploads\/2014\/12\/ciig-header-form-788x366.png 788w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><noscript><img loading=\"lazy\" src=\"http:\/\/shabeebk.com\/blog\/wp-content\/uploads\/2014\/12\/ciig-header-form-300x139.png\" alt=\"ciig-header-form\" width=\"300\" height=\"139\" class=\"alignnone size-medium wp-image-247\" srcset=\"http:\/\/shabeebk.com\/blog\/wp-content\/uploads\/2014\/12\/ciig-header-form-300x139.png 300w, http:\/\/shabeebk.com\/blog\/wp-content\/uploads\/2014\/12\/ciig-header-form.png 1024w, http:\/\/shabeebk.com\/blog\/wp-content\/uploads\/2014\/12\/ciig-header-form-788x366.png 788w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/noscript><\/a><\/p>\n<p>&#8211; <strong>footer<\/strong><\/p>\n<p><a href=\"http:\/\/shabeebk.com\/blog\/wp-content\/uploads\/2014\/12\/ciig-footer.png\"><img loading=\"lazy\" src=\"http:\/\/shabeebk.com\/blog\/wp-content\/plugins\/jquery-image-lazy-loading\/images\/grey.gif\" data-original=\"http:\/\/shabeebk.com\/blog\/wp-content\/uploads\/2014\/12\/ciig-footer-300x104.png\" alt=\"ciig-footer\" width=\"300\" height=\"104\" class=\"lazy alignnone size-medium wp-image-248\" srcset=\"http:\/\/shabeebk.com\/blog\/wp-content\/uploads\/2014\/12\/ciig-footer-300x104.png 300w, http:\/\/shabeebk.com\/blog\/wp-content\/uploads\/2014\/12\/ciig-footer.png 1024w, http:\/\/shabeebk.com\/blog\/wp-content\/uploads\/2014\/12\/ciig-footer-788x273.png 788w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><noscript><img loading=\"lazy\" src=\"http:\/\/shabeebk.com\/blog\/wp-content\/uploads\/2014\/12\/ciig-footer-300x104.png\" alt=\"ciig-footer\" width=\"300\" height=\"104\" class=\"alignnone size-medium wp-image-248\" srcset=\"http:\/\/shabeebk.com\/blog\/wp-content\/uploads\/2014\/12\/ciig-footer-300x104.png 300w, http:\/\/shabeebk.com\/blog\/wp-content\/uploads\/2014\/12\/ciig-footer.png 1024w, http:\/\/shabeebk.com\/blog\/wp-content\/uploads\/2014\/12\/ciig-footer-788x273.png 788w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/noscript><\/a><\/p>\n<p>We can copy and past this into the files with correct name as mentioned on that page or we can click download to get a zip folder.<\/p>\n<p>Once downloaded, copy and past this into the controller, model and view folders we can access it from URL:<br \/>\nIn our example http:\/\/localhost\/ciig\/index.php\/sample_table<\/p>\n<p>The page will look like as below:<\/p>\n<div id=\"attachment_249\" style=\"width: 310px\" class=\"wp-caption alignnone\"><a href=\"http:\/\/shabeebk.com\/blog\/wp-content\/uploads\/2014\/12\/ciig-sample-page.png\"><img aria-describedby=\"caption-attachment-249\" loading=\"lazy\" src=\"http:\/\/shabeebk.com\/blog\/wp-content\/plugins\/jquery-image-lazy-loading\/images\/grey.gif\" data-original=\"http:\/\/shabeebk.com\/blog\/wp-content\/uploads\/2014\/12\/ciig-sample-page-300x187.png\" alt=\"ciig-sample-page\" width=\"300\" height=\"187\" class=\"lazy size-medium wp-image-249\" srcset=\"http:\/\/shabeebk.com\/blog\/wp-content\/uploads\/2014\/12\/ciig-sample-page-300x187.png 300w, http:\/\/shabeebk.com\/blog\/wp-content\/uploads\/2014\/12\/ciig-sample-page.png 1024w, http:\/\/shabeebk.com\/blog\/wp-content\/uploads\/2014\/12\/ciig-sample-page-788x492.png 788w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><p id=\"caption-attachment-249\" class=\"wp-caption-text\"><noscript><img loading=\"lazy\" src=\"http:\/\/shabeebk.com\/blog\/wp-content\/uploads\/2014\/12\/ciig-sample-page-300x187.png\" alt=\"ciig-sample-page\" width=\"300\" height=\"187\" class=\"size-medium wp-image-249\" srcset=\"http:\/\/shabeebk.com\/blog\/wp-content\/uploads\/2014\/12\/ciig-sample-page-300x187.png 300w, http:\/\/shabeebk.com\/blog\/wp-content\/uploads\/2014\/12\/ciig-sample-page.png 1024w, http:\/\/shabeebk.com\/blog\/wp-content\/uploads\/2014\/12\/ciig-sample-page-788x492.png 788w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/noscript><\/a> ciig-sample-page<\/p><\/div>\n<p>On clicking the &#8220;create&#8221; link, it will go to create form <\/p>\n<p><a href=\"http:\/\/shabeebk.com\/blog\/wp-content\/uploads\/2014\/12\/ciig-create_form_camples.png\"><img loading=\"lazy\" src=\"http:\/\/shabeebk.com\/blog\/wp-content\/plugins\/jquery-image-lazy-loading\/images\/grey.gif\" data-original=\"http:\/\/shabeebk.com\/blog\/wp-content\/uploads\/2014\/12\/ciig-create_form_camples-300x187.png\" alt=\"ciig-create_form_camples\" width=\"300\" height=\"187\" class=\"lazy alignnone size-medium wp-image-250\" srcset=\"http:\/\/shabeebk.com\/blog\/wp-content\/uploads\/2014\/12\/ciig-create_form_camples-300x187.png 300w, http:\/\/shabeebk.com\/blog\/wp-content\/uploads\/2014\/12\/ciig-create_form_camples.png 1024w, http:\/\/shabeebk.com\/blog\/wp-content\/uploads\/2014\/12\/ciig-create_form_camples-788x492.png 788w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><noscript><img loading=\"lazy\" src=\"http:\/\/shabeebk.com\/blog\/wp-content\/uploads\/2014\/12\/ciig-create_form_camples-300x187.png\" alt=\"ciig-create_form_camples\" width=\"300\" height=\"187\" class=\"alignnone size-medium wp-image-250\" srcset=\"http:\/\/shabeebk.com\/blog\/wp-content\/uploads\/2014\/12\/ciig-create_form_camples-300x187.png 300w, http:\/\/shabeebk.com\/blog\/wp-content\/uploads\/2014\/12\/ciig-create_form_camples.png 1024w, http:\/\/shabeebk.com\/blog\/wp-content\/uploads\/2014\/12\/ciig-create_form_camples-788x492.png 788w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/noscript><\/a><\/p>\n<p>Once created we will see the list as below: <\/p>\n<p><a href=\"http:\/\/shabeebk.com\/blog\/wp-content\/uploads\/2014\/12\/ciig-sample-list-data.png\"><img loading=\"lazy\" src=\"http:\/\/shabeebk.com\/blog\/wp-content\/plugins\/jquery-image-lazy-loading\/images\/grey.gif\" data-original=\"http:\/\/shabeebk.com\/blog\/wp-content\/uploads\/2014\/12\/ciig-sample-list-data-300x187.png\" alt=\"ciig-sample-list-data\" width=\"300\" height=\"187\" class=\"lazy alignnone size-medium wp-image-251\" srcset=\"http:\/\/shabeebk.com\/blog\/wp-content\/uploads\/2014\/12\/ciig-sample-list-data-300x187.png 300w, http:\/\/shabeebk.com\/blog\/wp-content\/uploads\/2014\/12\/ciig-sample-list-data.png 1024w, http:\/\/shabeebk.com\/blog\/wp-content\/uploads\/2014\/12\/ciig-sample-list-data-788x492.png 788w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><noscript><img loading=\"lazy\" src=\"http:\/\/shabeebk.com\/blog\/wp-content\/uploads\/2014\/12\/ciig-sample-list-data-300x187.png\" alt=\"ciig-sample-list-data\" width=\"300\" height=\"187\" class=\"alignnone size-medium wp-image-251\" srcset=\"http:\/\/shabeebk.com\/blog\/wp-content\/uploads\/2014\/12\/ciig-sample-list-data-300x187.png 300w, http:\/\/shabeebk.com\/blog\/wp-content\/uploads\/2014\/12\/ciig-sample-list-data.png 1024w, http:\/\/shabeebk.com\/blog\/wp-content\/uploads\/2014\/12\/ciig-sample-list-data-788x492.png 788w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/noscript><\/a><\/p>\n<p><\/p>\n<div class=\"pvc_clear\"><\/div>\n<p class=\"pvc_stats all \" data-element-id=\"234\" style=\"\"><i class=\"pvc-stats-icon medium\" aria-hidden=\"true\"><svg aria-hidden=\"true\" focusable=\"false\" data-prefix=\"far\" data-icon=\"chart-bar\" role=\"img\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" viewBox=\"0 0 512 512\" class=\"svg-inline--fa fa-chart-bar fa-w-16 fa-2x\"><path fill=\"currentColor\" d=\"M396.8 352h22.4c6.4 0 12.8-6.4 12.8-12.8V108.8c0-6.4-6.4-12.8-12.8-12.8h-22.4c-6.4 0-12.8 6.4-12.8 12.8v230.4c0 6.4 6.4 12.8 12.8 12.8zm-192 0h22.4c6.4 0 12.8-6.4 12.8-12.8V140.8c0-6.4-6.4-12.8-12.8-12.8h-22.4c-6.4 0-12.8 6.4-12.8 12.8v198.4c0 6.4 6.4 12.8 12.8 12.8zm96 0h22.4c6.4 0 12.8-6.4 12.8-12.8V204.8c0-6.4-6.4-12.8-12.8-12.8h-22.4c-6.4 0-12.8 6.4-12.8 12.8v134.4c0 6.4 6.4 12.8 12.8 12.8zM496 400H48V80c0-8.84-7.16-16-16-16H16C7.16 64 0 71.16 0 80v336c0 17.67 14.33 32 32 32h464c8.84 0 16-7.16 16-16v-16c0-8.84-7.16-16-16-16zm-387.2-48h22.4c6.4 0 12.8-6.4 12.8-12.8v-70.4c0-6.4-6.4-12.8-12.8-12.8h-22.4c-6.4 0-12.8 6.4-12.8 12.8v70.4c0 6.4 6.4 12.8 12.8 12.8z\" class=\"\"><\/path><\/svg><\/i> &nbsp;30,567&nbsp;total views, &nbsp;1&nbsp;views today<\/p>\n<div class=\"pvc_clear\"><\/div>\n","protected":false},"excerpt":{"rendered":"<p>CIIG or codeigniter-ignator is codeigniter crud generator from database, which will simplify developer&#8217;s job who uses codeigniter framework. We all know that codeigniter is one of the best light weight developer friendly framework for PHP. Have you ever thought of creating an automatic form in codeigniter? Here I have narrated a simple way to use [&hellip;]<\/p>\n<div class=\"pvc_clear\"><\/div>\n<p class=\"pvc_stats all \" data-element-id=\"234\" style=\"\"><i class=\"pvc-stats-icon medium\" aria-hidden=\"true\"><svg aria-hidden=\"true\" focusable=\"false\" data-prefix=\"far\" data-icon=\"chart-bar\" role=\"img\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" viewBox=\"0 0 512 512\" class=\"svg-inline--fa fa-chart-bar fa-w-16 fa-2x\"><path fill=\"currentColor\" d=\"M396.8 352h22.4c6.4 0 12.8-6.4 12.8-12.8V108.8c0-6.4-6.4-12.8-12.8-12.8h-22.4c-6.4 0-12.8 6.4-12.8 12.8v230.4c0 6.4 6.4 12.8 12.8 12.8zm-192 0h22.4c6.4 0 12.8-6.4 12.8-12.8V140.8c0-6.4-6.4-12.8-12.8-12.8h-22.4c-6.4 0-12.8 6.4-12.8 12.8v198.4c0 6.4 6.4 12.8 12.8 12.8zm96 0h22.4c6.4 0 12.8-6.4 12.8-12.8V204.8c0-6.4-6.4-12.8-12.8-12.8h-22.4c-6.4 0-12.8 6.4-12.8 12.8v134.4c0 6.4 6.4 12.8 12.8 12.8zM496 400H48V80c0-8.84-7.16-16-16-16H16C7.16 64 0 71.16 0 80v336c0 17.67 14.33 32 32 32h464c8.84 0 16-7.16 16-16v-16c0-8.84-7.16-16-16-16zm-387.2-48h22.4c6.4 0 12.8-6.4 12.8-12.8v-70.4c0-6.4-6.4-12.8-12.8-12.8h-22.4c-6.4 0-12.8 6.4-12.8 12.8v70.4c0 6.4 6.4 12.8 12.8 12.8z\" class=\"\"><\/path><\/svg><\/i> &nbsp;30,567&nbsp;total views, &nbsp;1&nbsp;views today<\/p>\n<div class=\"pvc_clear\"><\/div>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"open","ping_status":"open","template":"","meta":{"spay_email":""},"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v18.4.1 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>CIIG | codeigniter CRUD generator - shabeeb Blog<\/title>\n<meta name=\"description\" content=\"CIIG or codeigniter-ignator is codeigniter crud generator from database. which will simplify developer job who uses codeigniter framework.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"http:\/\/shabeebk.com\/blog\/ciig-codeigniter-crud-generator\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"CIIG | codeigniter CRUD generator - shabeeb Blog\" \/>\n<meta property=\"og:description\" content=\"CIIG or codeigniter-ignator is codeigniter crud generator from database. which will simplify developer job who uses codeigniter framework.\" \/>\n<meta property=\"og:url\" content=\"http:\/\/shabeebk.com\/blog\/ciig-codeigniter-crud-generator\/\" \/>\n<meta property=\"og:site_name\" content=\"shabeeb Blog\" \/>\n<meta property=\"article:modified_time\" content=\"2014-12-30T21:08:31+00:00\" \/>\n<meta property=\"og:image\" content=\"http:\/\/shabeebk.com\/blog\/wp-content\/uploads\/2014\/12\/ciig-folder_struct-225x300.png\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebSite\",\"@id\":\"http:\/\/shabeebk.com\/blog\/#website\",\"url\":\"http:\/\/shabeebk.com\/blog\/\",\"name\":\"shabeeb Blog\",\"description\":\"A developer blog\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"http:\/\/shabeebk.com\/blog\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"ImageObject\",\"@id\":\"http:\/\/shabeebk.com\/blog\/ciig-codeigniter-crud-generator\/#primaryimage\",\"inLanguage\":\"en-US\",\"url\":\"http:\/\/shabeebk.com\/blog\/wp-content\/uploads\/2014\/12\/ciig-folder_struct.png\",\"contentUrl\":\"http:\/\/shabeebk.com\/blog\/wp-content\/uploads\/2014\/12\/ciig-folder_struct.png\",\"width\":508,\"height\":676,\"caption\":\"codeigniter crud generator\"},{\"@type\":\"WebPage\",\"@id\":\"http:\/\/shabeebk.com\/blog\/ciig-codeigniter-crud-generator\/#webpage\",\"url\":\"http:\/\/shabeebk.com\/blog\/ciig-codeigniter-crud-generator\/\",\"name\":\"CIIG | codeigniter CRUD generator - shabeeb Blog\",\"isPartOf\":{\"@id\":\"http:\/\/shabeebk.com\/blog\/#website\"},\"primaryImageOfPage\":{\"@id\":\"http:\/\/shabeebk.com\/blog\/ciig-codeigniter-crud-generator\/#primaryimage\"},\"datePublished\":\"2014-12-23T20:53:48+00:00\",\"dateModified\":\"2014-12-30T21:08:31+00:00\",\"description\":\"CIIG or codeigniter-ignator is codeigniter crud generator from database. which will simplify developer job who uses codeigniter framework.\",\"breadcrumb\":{\"@id\":\"http:\/\/shabeebk.com\/blog\/ciig-codeigniter-crud-generator\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"http:\/\/shabeebk.com\/blog\/ciig-codeigniter-crud-generator\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"http:\/\/shabeebk.com\/blog\/ciig-codeigniter-crud-generator\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"http:\/\/shabeebk.com\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"CIIG | codeigniter CRUD generator\"}]}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"CIIG | codeigniter CRUD generator - shabeeb Blog","description":"CIIG or codeigniter-ignator is codeigniter crud generator from database. which will simplify developer job who uses codeigniter framework.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"http:\/\/shabeebk.com\/blog\/ciig-codeigniter-crud-generator\/","og_locale":"en_US","og_type":"article","og_title":"CIIG | codeigniter CRUD generator - shabeeb Blog","og_description":"CIIG or codeigniter-ignator is codeigniter crud generator from database. which will simplify developer job who uses codeigniter framework.","og_url":"http:\/\/shabeebk.com\/blog\/ciig-codeigniter-crud-generator\/","og_site_name":"shabeeb Blog","article_modified_time":"2014-12-30T21:08:31+00:00","og_image":[{"url":"http:\/\/shabeebk.com\/blog\/wp-content\/uploads\/2014\/12\/ciig-folder_struct-225x300.png"}],"twitter_misc":{"Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebSite","@id":"http:\/\/shabeebk.com\/blog\/#website","url":"http:\/\/shabeebk.com\/blog\/","name":"shabeeb Blog","description":"A developer blog","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"http:\/\/shabeebk.com\/blog\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"ImageObject","@id":"http:\/\/shabeebk.com\/blog\/ciig-codeigniter-crud-generator\/#primaryimage","inLanguage":"en-US","url":"http:\/\/shabeebk.com\/blog\/wp-content\/uploads\/2014\/12\/ciig-folder_struct.png","contentUrl":"http:\/\/shabeebk.com\/blog\/wp-content\/uploads\/2014\/12\/ciig-folder_struct.png","width":508,"height":676,"caption":"codeigniter crud generator"},{"@type":"WebPage","@id":"http:\/\/shabeebk.com\/blog\/ciig-codeigniter-crud-generator\/#webpage","url":"http:\/\/shabeebk.com\/blog\/ciig-codeigniter-crud-generator\/","name":"CIIG | codeigniter CRUD generator - shabeeb Blog","isPartOf":{"@id":"http:\/\/shabeebk.com\/blog\/#website"},"primaryImageOfPage":{"@id":"http:\/\/shabeebk.com\/blog\/ciig-codeigniter-crud-generator\/#primaryimage"},"datePublished":"2014-12-23T20:53:48+00:00","dateModified":"2014-12-30T21:08:31+00:00","description":"CIIG or codeigniter-ignator is codeigniter crud generator from database. which will simplify developer job who uses codeigniter framework.","breadcrumb":{"@id":"http:\/\/shabeebk.com\/blog\/ciig-codeigniter-crud-generator\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["http:\/\/shabeebk.com\/blog\/ciig-codeigniter-crud-generator\/"]}]},{"@type":"BreadcrumbList","@id":"http:\/\/shabeebk.com\/blog\/ciig-codeigniter-crud-generator\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"http:\/\/shabeebk.com\/blog\/"},{"@type":"ListItem","position":2,"name":"CIIG | codeigniter CRUD generator"}]}]}},"_links":{"self":[{"href":"http:\/\/shabeebk.com\/blog\/wp-json\/wp\/v2\/pages\/234"}],"collection":[{"href":"http:\/\/shabeebk.com\/blog\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"http:\/\/shabeebk.com\/blog\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"http:\/\/shabeebk.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/shabeebk.com\/blog\/wp-json\/wp\/v2\/comments?post=234"}],"version-history":[{"count":18,"href":"http:\/\/shabeebk.com\/blog\/wp-json\/wp\/v2\/pages\/234\/revisions"}],"predecessor-version":[{"id":340,"href":"http:\/\/shabeebk.com\/blog\/wp-json\/wp\/v2\/pages\/234\/revisions\/340"}],"wp:attachment":[{"href":"http:\/\/shabeebk.com\/blog\/wp-json\/wp\/v2\/media?parent=234"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}