CodeIgniter Forums
CRUD generator for Codeigniter - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20)
+--- Forum: Archived Libraries & Helpers (https://forum.codeigniter.com/forumdisplay.php?fid=22)
+--- Thread: CRUD generator for Codeigniter (/showthread.php?tid=36500)

Pages: 1 2


CRUD generator for Codeigniter - El Forum - 12-04-2010

[eluser]keithics[/eluser]
CRUD generator for Codeigniter generates code for creating, reading, updating, and deleting database tables.
The Generator will create the following files.

1. Views
1. {Controller_name}_list.php
2. {Controller_name}_add.php
3. {Controller_name}_edit.php
2. Model
1. Crud_model.php -> a generic model, you can use you own model if you want.
3. Controller
1. {Controller_name}.php

Demo for CRUD Generator for CI

Hope it can help everybody!

Feel free to contact me for bugs and suggestions.


CRUD generator for Codeigniter - El Forum - 12-04-2010

[eluser]DeaD SouL[/eluser]
Good job,

this would really save the coder time, so he would just need to modify them instead of starting from scratch,..

Thanks fivel


CRUD generator for Codeigniter - El Forum - 12-06-2010

[eluser]RaZoR LeGaCy[/eluser]
This looks awesome! Can you explain this to do item -> Generate Blank Controller and Model


CRUD generator for Codeigniter - El Forum - 12-06-2010

[eluser]keithics[/eluser]
Generate Blank Controller and Model

Just as it says, nothing special.. rather than coding the controller. the generator will make it for you.

Code:
<?php
class Controller_name extends Controller {

       function __construct()
       {
            parent::Controller();
       }
}



CRUD generator for Codeigniter - El Forum - 03-14-2011

[eluser]Evollution[/eluser]
can you make it 2.0 compatible


CRUD generator for Codeigniter - El Forum - 04-03-2011

[eluser]keithics[/eluser]
Updated! Now compatible to 2.01


CRUD generator for Codeigniter

You can now preview the code after generating it.


CRUD generator for Codeigniter - El Forum - 04-28-2011

[eluser]sihijau[/eluser]
[quote author="fivel" date="1301867309"]Updated! Now compatible to 2.01


CRUD generator for Codeigniter

You can now preview the code after generating it.[/quote]

let's try it on CI 2.0.2


CRUD generator for Codeigniter - El Forum - 04-29-2011

[eluser]skiter[/eluser]
[quote author="sihijau" date="1304059437"][quote author="fivel" date="1301867309"]Updated! Now compatible to 2.01


CRUD generator for Codeigniter

You can now preview the code after generating it.[/quote]

let's try it on CI 2.0.2[/quote]
Any review after test? Wink


CRUD generator for Codeigniter - El Forum - 05-01-2011

[eluser]Evollution[/eluser]
include is_numeric option + can you do a option that checks if exists allready this name

unique ... can't be added more then once a news with the same name...


CRUD generator for Codeigniter - El Forum - 05-01-2011

[eluser]Evollution[/eluser]
how can i edit validation rules ?