Well, at the moment I am working on Myii. I am trying to do a video to show you something like ...
clone Myii (git clone git@github.com:sensorario/Myii)
move to Myii (cd Myii)
crate a new webapp (phing create)
load console (php yii/yiic shell projects/APP_NAME/protected/config/main.php)
create table products ( >>> queryii create product)
add a field "name" ( >>> queryii alter product add string name)
load gii (Myii load a /protected/views/layouts/main.php that automatically show Gii on main menu so you do not have to do anything by hand)
...
create model, crud, ...
That's it! few minutes. But I need to see composer. At the moment I have two kind of extensions:
console command (queryii)
widgets (lyiightbox and scrolltop)
This is widgets config file:
return array(
'version' => '1.0',
'extract' => array(
'to' => 'protected/commands/shell'
),
);
And this is console command config file:
return array(
'version' => '1.0',
'extract' => array(
'files' => array(
'QueryiiCommand.php'
),
'to' => 'protected/commands/shell'
),
);
Maybe composer can make more easy this steps ... I am thinking that Myii can work well for yii1.1.x
Maybe composer can work very well for Yii2 I want to study it!