Yii 1.1: awecrud

Powerful and simple Code Generator (Gii+Bootstrap). Multilingual CRUD/Gii extension.
34 followers

Features

  • MANY_MANY support (Master-Detail - No 3rd party extensions required).
  • Powerful Source Code Generator for Models and CRUD
  • All CSS code uses Bootstrap.
  • Auth, Cruge, YUM, and other RBAC extensions supported natively and they are fully customizable.
  • i18n messages are enabled by default (Currently Spanish, Portuguese, German, French & Lithuanian are supported, contributors are welcomed).
  • Icons for Operations menu added when generating CRUD

Requirements

  • Yii 1.1.13
  • Yii-Booster/Bootstrap extension (for Bootstrap support)
  • PHP 5.2+

Usage

Installing

1) Extract the directory "AweCrud" (case-sensitive) from the downloaded archive into your application's protected/extensions directory.

2) Configure the gii generator path in your application, like:

'modules' => array(
    'gii' => array(
        'class' => 'system.gii.GiiModule',
        'generatorPaths' => array(
            'ext.AweCrud.generators', // AweCrud generators
        ),
    ),
),

3) Configure your application to automatically load the AweCrud component classes when needed, like:

'import' => array(
    ...
    'ext.AweCrud.components.*', // AweCrud components
),

4) Register the AweCrud messages directory, like the example below.

'components' => array(
    ...
    'messages' => array (
        'extensionPaths' => array(
            'AweCrud' => 'ext.AweCrud.messages', // AweCrud messages directory.
        ),
    ),
),

Resources

Comments

This extension is a kind of merge among several Gii extensions, looking for simplicity for Gii and a powerful code generator integrated with Cruge.

This extension borrows some ideas and code from other extensions like iCrud, GTC, Yii-Booster, GiiX, AweGen, Yii-Bootstrap and mix them all making a much simpler but powerful Gii extension plus Bootstrap look-and-feel.

Total 20 comments

#17512 report it
Co-k-ine at 2014/06/25 03:14pm
Do not work

Don't work with Yii 1.1.14 and Yii-booster !

#15646 report it
robregonm at 2013/12/03 02:51pm
Yii-Strap not supported

@Kavi

No, no plans to support yiistrap yet. However, feel free to make a pull request to add support to yiistrap (and allow to choose between yii-booster and yii-strap) in github repo.

#15455 report it
kavitama at 2013/11/11 06:21pm
Supporting yii-strap?

Hi,

Are you going to modify awecrud to support yiistrap?

Regards Kavi

#15100 report it
kavitama at 2013/10/07 04:59pm
booster, boostrap, yiistrap

Hi,

I think i have been dealing with all the problems because I am using YYII strap and not booster or bootstrap. CAn you confirm that yiistrap is ot supported or ma I wrong.

Thanks in advance Kavi

#14401 report it
robregonm at 2013/08/08 01:40pm
Re: Still on manage

@kavitama 1. Please check your YiiBooster installation 2. Please delete the contents of your assets folder. 3. Please clear the folder runtime/cache (if exists)

Hope it helps.

#13784 report it
kavitama at 2013/06/25 09:13pm
Still on Manage

Made all the checks. Started from scratch Same result The crud is made using AweCrud but the icons are not appearing.

Can you help me debugging it ?

Regards

#13725 report it
robregonm at 2013/06/19 04:59pm
Re: Question about the Manage action

The original CRUD icons has changed. NEverthless, I recommend to you to clear your /assets/* folder. If that doesn't work then check that you are really generating the CRUD from AweCrud module. Regards.

#13705 report it
kavitama at 2013/06/18 05:26pm
Question about the Manage action

I am not sure it is an issue or simply just doing something wrong bu when I generate a CRUD for a table and try to use the manage action I don't see the view, edit, delete icons I used to see using giix.

Am I doing something wrong?

#10596 report it
robregonm at 2012/11/06 12:41pm
Report in forum

@aleksdj Could you please report the bug in the forum? Including the details of the error and structure of the class inheritance?

#10555 report it
aleksdj at 2012/11/04 05:05pm
problems

Im having some problems. -Some of your classes dont import all the components clases inside ext.awecrud.components and fails. -LoadModel and perform ajax validation functions of generated controllers is not compatible with father class "AweController" meaning signature is different -I downloaded last 1.12 version of yii but the problems with messages using yii:t('Awecrud.app') still persists

#10519 report it
robregonm at 2012/11/01 04:32pm
Looking forward

@aleksdj @rosoft2001 It's not a matter o bad practices, it is a matter of taking advantage of future features and moving forward with "Yii-trend". If you don't want to use i18n feature, just skip it and use the extension without it ;)

#10515 report it
aleksdj at 2012/11/01 03:41pm
I agree with @rosoft2001

You cannot base an extension in a development Yii version, I think is a matter of best practices... any solution for yii stable 1.1.12 version?

#10496 report it
rosoft2001 at 2012/10/31 02:53pm
not working yet

Even if it's cool to use the latest features from the development yii version, I can't chase this, mostly because of my limited knowledge.

I will wait until this work out of the box with the yii released version.

Just post a comment when this would happen and I will try it again.

Thanks

#10495 report it
robregonm at 2012/10/31 02:28pm
Update required

For those who are experiencing issues with "extensionPaths" parameter(Property "CPhpMessageSource"."extensionPaths" is not defined), please download the latest dev version of Yii from Yii GitHub official repository

#10355 report it
robregonm at 2012/10/22 01:04pm
RE: Property "AweModelCode.connectionId" is not defined.

@rosoft2001 Please check you're using Yii 1.1.12. That property has been inherited from CodeModel (a Gii core class).

#10338 report it
rosoft2001 at 2012/10/20 12:43pm
Property "AweModelCode.connectionId" is not defined.

installed, generated model and crud for a table, then i get this error can't get out of it.

(regular model crud still working)

#10286 report it
robregonm at 2012/10/17 09:07am
Soon a screenshot will be available

@WebDevPT I hope to upload a screenshot soon!

#10285 report it
robregonm at 2012/10/17 09:06am
Not related to awegen

@schmunk No, this extension just borrows some ideas from Awegen (and some other extensions)... but looking a more "bootstrap-purist" way.

#10280 report it
schmunk at 2012/10/17 07:25am
Awegen?

Is it related to http://www.yiiframework.com/extension/awegen?

#10274 report it
WebDevPT at 2012/10/17 06:11am
Please add demo or screnshot

Hi! Looking forward to test this, but please consider adding a screenshot or a demo here.

Leave a comment

Please to leave your comment.

Create extension