Welcome Guest, Not a member yet? Register   Sign In
CRUD generator for Codeigniter
#1

[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.
#2

[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
#3

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

[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();
       }
}
#5

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

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


CRUD generator for Codeigniter

You can now preview the code after generating it.
#7

[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
#8

[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
#9

[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...
#10

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




Theme © iAndrew 2016 - Forum software by © MyBB