The Generator will create the following files.
- Views
- {Controller_name}/list.php
- {Controller_name}/add.php
- {Controller_name}/edit.php
- Model
- Codegen_model.php -> a generic model, you can use you own model if you want.
- Controller
- {Controller_name}.php
DOWNLOAD
INSTALLATION
Details
- This is not scaffolding!
- Generates simple code
- Adds a form_validation.php under the config file so you can call it in any of your controller.
- The generator creates a generic controller, model and views in which you can edit and customized.
- You can customized the Table Header based using Aliases , see controller comments.
- Straight forward
- Pagination
- No CSS, No Images!
Installation:
1. Unzip the files and copy it in htdocs, htdocs/codegen/2. Configure the database then go to http://localhost/codegen/crud/
3. That's it!
Change Log Version 0.7 - January 28, 2012
- ADDED -Views are now saved in a folder separately
Change Log Version 0.6 - August 15, 2011
Now compatible with CI 2.02- FIXED -
unknown error occurred when editing a table that has a password field
- FIXED -
form_validation will not be overwritten, appends new rules and updates the old rule on duplicate
- FIXED -
offset errors when the table has no data
Change Log Version 0.5 - April 3, 2011
Now compatible with CI 2.01Renamed model to codegen_model.php from crud_model.php
Will Overwrite files - see comments to disable it
Other notes
Use this in localhost only!Sumber : http://projects.keithics.com/
Posting Komentar