Yii – Gii

  • Post author:
  • Post category:Yii
  • Post comments:0 Comments

Gii is the extension, that provides a web-based code generator for generating models, forms, modules, CRUD, and so forth. By default, the following generators are available − Model Generator − Generates…

Continue ReadingYii – Gii

Yii – Authorization

  • Post author:
  • Post category:Yii
  • Post comments:1 Comment

The process of verifying that a user has enough permission to do something is called authorization. Yii provides an ACF (Access Control Filter), an authorization method implemented as yii\filters\AccessControl. Modify the behaviors()…

Continue ReadingYii – Authorization

Yii – Logging

  • Post author:
  • Post category:Yii
  • Post comments:0 Comments

Yii provides a highly customizable and extensible framework. With the help of this framework, you can easily log various types of messages. To log a message, you should call one…

Continue ReadingYii – Logging

Yii – Aliases

  • Post author:
  • Post category:Yii
  • Post comments:2 Comments

Aliases help you not to hard-code absolute paths or URLs in your project. An alias starts with the @ character. To define an alias you should call the Yii::setAlias() method − //…

Continue ReadingYii – Aliases

Yii – Caching

  • Post author:
  • Post category:Yii
  • Post comments:0 Comments

Caching is an effective way to improve the performance of your application. Caching mechanisms store static data in cache and get it from cache when requested. On the server side,…

Continue ReadingYii – Caching