It is a small part of my complete project. PHPExtJS CRUD generator is a tool that we use to generate ExtJS MVC structure on the application. As in Gii, you can use this extension as usual. After creating a model Yii, you can generate ExtJS CRUD forms.
Requirements ¶
- Yii 1.1 or above
- PHP 5.3 or above
Usage ¶
- Extract the entension to your /protected/extensions folder
- Add your gii configuration at main.php on Yii config folder
...
'modules'=>array(
...
'gii' => array(
'class' => 'system.gii.GiiModule',
'password' => 'Your gii password',
'ipFilters' => array('127.0.0.1', '::1'),
'generatorPaths' => array(
'ext.phpextjs' // load phpextjs extension
),
),
...
)
- Make sure that this folder must be set to writeable
- protected/runtime
- protected/controllers
- protected/models
- protected/views (optional)
- assets
- app
- Access your gii as usual. eg : http://localhost/app/index.php/gii
Your gii tool, should be like this one
Finnaly, you can generate ExtJS CRUD form like this sample sceenshot
Data Grid
Create Form
Update Form
Resources ¶
Check our project page at http://phpextjs.com
You can try our complete project demo at http://phpextjs.com/demo
If you have any questions, please ask in the forum instead.
Signup or Login in order to comment.