Mais conteúdo relacionado
Semelhante a Yii c orange エンジニア勉強会20140129 (20)
Mais de エンジニア勉強会 エスキュービズム (20)
Yii c orange エンジニア勉強会20140129
- 3. Rapid progress in Web technology
in recent years
MVC-Frameworks
CSS-Frameworks
JS-Frameworks
etc...
- 9. Advanced Active Record
$posts = Post::model()->published()->recently()->findAll();
$posts = Post::model()
->with(array(‘comments’=>array(‘together’=>false)))
->findAll();
- 11. UnitTest With Fixtures
class TblXxx extends CDbTestCase {
public $fixtures = array(
‘tbl_xxx’=>’TblXxx’,
);
public function testYyy() {
...
}
}
- 13. Pluggable UI Widgets
<?php $this->widget(‘zii.widgets.grid.CGridView’, array(
‘dataProvider’=>$dataProvider)); ?>
http://www.yiiframework.com/