александр макаров yii rit 2010
TRANSCRIPT
PHP Yii
Yii 2010 (1.1.1)
http://yiiframework.ru/
http://rmcreative.ru/
?!
?
?
API
?
trunk
PHP4
?
, .
.
CakePHP ZF CI ZF Yii
Yii?
Qiang, Wei. Prado (2004+): , , , , , .
Ruby on Rails: Convention over configuration, Mixin, Active Record.
Symfony: , .
Joomla: , .
?
, , .
(+), .
, , .
MVC, , , CLI.
(, , ).
Active Record, , .
I18n, l10n.
Yiic, gii.
JQuery, zii.
, RBAC.
New BSD ( , ).
.
.
.
.
.
(Caction).
(. ).
.
: , , , .
().
.
Active Record
API.
.
Named scope.
.
$posts = Post::model() ->taggedWith(array('yii', 'RIT'))->published()->findAll();
foreach($posts as $post){ $post->text = ''; $post->save(); echo $post->id;}
mixin Ruby ( ).
+ .
= .
Taggable.
Commentable.
Timestampable.
View
Native PHP, Smarty, Prado, Twig .
Layout.
CHtml.
Partial.
Widget, zii.
.
Clip ().
.
().
().
, , APC, Memcached, EAccelerator, XCache, Zend Data Cache, WinCache.
: , , , , .
yiic
CLI.
.
.
.
CRUD, zii: grid view, detail view, list view, , , , ajax-.
Gii.
?
Yii .
, .
Zend Framework.
http://yiiframework.com/
http://yiiframework.ru/