extjs crud generator for yii
PHP CSS JavaScript
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.


overview of the extension
ExGen is gii Extended, an extjs code generator for Yii PHP framework.

ExGen is inspired and based on giix by mentel, web app generator by derelict and gii-template-collection (gtc), by Herbert Maschke (thyseus).

ExGen is free software and is dual-licensed under the terms of the new BSD License and under the terms of GNU GPL v3. See the LICENSE file

requirements of using this extension extjs 3.4.0 and Yii 1.1.8 or above


extract to extension folder
copy webapp and extjs in extension folder to theme folder
copy js folder in extension folder to base path

configure config/main php
		// uncomment the following to enable the Gii tool
			'password'=>'you password',
		 	// If removed, Gii defaults to localhost only. Edit carefully to taste.
                            'ext.giix-core', // giix generators

create module first before using the generator, after creating the module, add your newly created module to config->main.php before running giixcrudjs <-important
generate model using giix model under that module
generate controller using giixcrudjs under that module
js automaticaly created on basepath js/view

#### final structure
project name
------your modules

configure theme to use
'theme'=>'webapp' or 'theme'=>'extjs',

configure component
// autoloading model and component classes
add generated controler to site/tree action, with pattern 'jun.' + model name + 'Grid', automatic site/tree action will be added in the next release
$data = "[{
                            text:'Entri Mims',
                            expanded: true,
                                text: 'Mims',
                                id: 'jun.MimsGrid',
                                leaf: true
                                text: 'your model label',
                                id: 'jun.{model name}Grid',
                                leaf: true


- [project link](https://github.com/bluejedi/e-xgen)
- [forum link](http://www.yiiframework.com/forum/index.php/topic/25427-ext-js-scafolding-%20extension/)
- [forum link2](http://www.yiiframework.com/forum/index.php/topic/25531-e-xgen-extjs-scafolding-for-admin/)