Thursday, 15 March 2012

php - CRUD Codeigniter -



php - CRUD Codeigniter -

i utilize codeigniter cake webapps, i'm boring create "crud" operations (form, controller, model, database). know great tool generate crud operations ? (like ror ?).

thank's !

i created library reason, because creating crud operations boring , frustrating.

sparks version: http://getsparks.org/packages/sangar-scaffold/versions/head/show

github: https://github.com/sangar82/sangar-scaffold-spark

with sparks can following:

sangar-scaffolds creates tables on database, controllers, models , views.

it modifies routes.php file.

you can create forms followings elements: - text - textarea - radiobuttons - checkboxes - select - select 1:n (populate form select existent model) - upload images (with thumbnail creation , uploads rules) - upload files (with uploads rules) - hidden relational (it's special element. 1 hidden relational scaffolding allowed. produce form relation 1:n linked parent form automatically. belongs_to relation )

each element has validation rules , possibility multilanguage.

create paginated list view.

codeigniter starter project

i created codeigniter starter project, because configure new project boring . has basic think need new codeigniter project , crud generator has more features sparks version. utilize daily. take @ github

custom codeigniter preinstalled features:

github: https://github.com/sangar82/codeigniter-starter/

it´s in continous development, bugs alerts , improvements welcome.

features:

sparks installed (http://getsparks.org/) sangar auth library. (ion-auth modified me working under php-activerecord) sangar scaffolding library. new way scaffolding! php-activerecord installed (https://github.com/kla/php-activerecord) version nightly build may 2012 backend & total access command (login, logout, remember password, , protected access backend) template library phil sturgeon implemented (http://philsturgeon.co.uk/demos/codeigniter-template/user_guide/) basic layout (frontend, backend) toast unit test (http://jensroland.com/projects/toast/) includes basic before_filter , after_filter back upwards (matthew machuga) https://github.com/machuga/codeigniter-filter scheme messages implemented partial in layouts folder public content (images, js, uploads, ...) subdomains multi-language translation on 3 languages (english, spanish, catalan) methods translate controllers , methods names on url crud users implemented. example: crud categories. categories tree of categories (with order via ajax) example: crud products upload image , thumbnail creation examples of testing (sangarauth test, users test, categories test, products test).

php ruby-on-rails codeigniter crud

No comments:

Post a Comment