Yii 1.1: icrud

[Obsolete] iCRUD - CRUD with i18n messages support and referenced fields completion
4 followers

You are encouraged to use AweCrud. AweCrud is the official upgrade for iCRUD with lots of new features and improvements. Check it out at BitBucket too.

This extension is the CRUD version with i18n CRUD support. That way the CRUD command will be able to generate the same CRUD that Yii generates plus i18n messages (English, Spanish, German, French and Portuguese currently supported, new languages are welcome). Also, All referenced fields are replaced by the master values instead of ids numbers.

Resources

Documentation

Requirements

  • Yii 1.1.1 or above (Yii from svn version is recommended) WARNING: iCRUD has not been tested on Yii 1.1.0, it is being developed for Yii 1.1.1 and above.

Installation

  • Extract the release file under protected/commands/shell/
  • Extract messages file under 'protected/messages/'
  • Setup config/main.php file with i18n support (eg: 'language'=>'es','charset'=>'utf-8')
  • And below components block:'messages'=>array('class'=>'CPhpMessageSource',)
  • Ready to use.

Usage of iCRUD Comand

Open the console and execute:

icrud MyModel
icrud AnotherModel

Usage of iForm Comand

Open the console and execute:

iform MyModel application.views.site.mymodelform
iform AnotherModel application.views.someview.myanothermodelform

Change Log

October 22, 2012

  • You are encouraged to use AweCrud. AweCrud extension is the official replacement to iCRUD, since AweCrud implements all the current iCrud feature plus many bug fixes and lots of enhancements.

March 9, 2010

  • iCRUD v. 0.9. Beta 3 - Release Candidate
  • Portuguese messages added.
  • German messages updated. Thanks to thyseus.
  • French messages revised and updated. Thanks to francois.allard
  • Fixed bug when generating Date fields.
  • Fixed bug when the table has more than 7 fields and one of the fields is a password.
  • Added iFormCommand (extension of FormCommand, new command in Yii

February 22, 2010

  • Fixed bugs in index view and controller.
  • Default view is admin (index is not anymore)
  • Breadcrumbs are using a text value (with i18n support too)
  • Foreign keys now can be filtered by combo-boxes (no bugs)
  • Fixed bugs when showing foreign keys in list, view and main views.
  • Spanish and French translations updated.
  • Minor optimizations and minor fixed bugs.

February 21, 2010

  • Added French messages.
  • TINYINT(1) is interpreted as BOOLEAN in MySQL databases.
  • Fixed bugs in some messages.

February 14, 2010

  • Srbac support dropped. Now it is extended from default Controller (located by default in protected/components). Developer can decide if using Srbac or not.
  • Minor bug fixes (Thanks to thyseus)

February 11, 2010

Initial release.

Total 3 comments

#264 report it
Juan Pablo Sala at 2010/07/24 05:06pm
Great!!

I think this is a great contribution to the framework, not only because of the language support but for the other improvements to! I think that this is how the crud has to be generated by the framework by default. again thanks

#734 report it
robregonm at 2010/03/09 07:17pm
Hope be helpful

I hope iCRUD be helpful and save you much time in your daily development process. Suggestions and feedback are welcome.

#768 report it
kanjar at 2010/03/01 07:11pm
nice work

well done

Leave a comment

Please to leave your comment.

Create extension