According to the manual http://jp.php.net/manual/en/memcache.installation.php;
According to the manual http://jp.php.net/manual/en/memcache.installation.php;
This is a simple demo how to use Zend_AMF with Yii.
1) Add a fancy-box extension on admin page
Logging context information (session, user, ...) to the logfile can be of great help tracking down problems with specific users.
Yii's ActiveRecord classes are powerful, but they fall short when you want to have a configurable table prefix for your application.
The most difficult thing in a big project, is to manage conflicts with files modified by others users. Git can do this work for us.
The purpose of this post is to let anyone quickly find how to accomplish a configuration task, and list here all the posibilities of the config.php file and also link to pages that explain how is each thing implemented.
pagoda box is very useful tool for a programmer to test their php app online so its very useful one. For deploying code pagodabox use git command
namespace app\components;
A simple trick to get the localized version of a model field is to add this little method to your models.
It's well known that there are Lazy Loading approach and Eager Loading approach in the relational query. But it's very important to know how the Eager Loading approach works in Yii 2. It has changed drastically from that of Yii 1.1, and there are common misunderstandings about it in the community.
$this->render('index', array(
'dataProvider' => $dataProvider,
));
`
This article discusses how one can run a long task in background in yiiframework 1.1 using Ajax technique.
This tutorial assumes some basic knowledge of Yii and a functional development environment.
Sometime, in a many-to-many relation, you need to retrieve AR that aren't linked. In practice, AR with null value in the join table. So you implements a criteria like this :
public function scopeUnused( $useAnd = true )
{
$join = " left outer join composed_by j on t.ID = j.ID ";
$condition = ' j.ID Is Null';
Followings are the simple steps to put an analogue clock widget on your skeleton application that is just generated by yiic.
This tutorial is for people that are integrating Yii into WordPress. Meaning that WordPress is the host platform, and that Yii will be handling AR, CRUD, etc.