Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

coding standards in yii framework

is there any coding standard which follows yii framework, and where it is specified

like image 867
liysd Avatar asked Jul 10 '10 15:07

liysd


People also ask

Is Yii a framework?

Yii is a fast, secure, and efficient PHP framework.

Why Yii is the best framework?

It helps in reducing the response time and improves the speed and performance of the web application. Yii allows easy integration of a cache application component.

Is Yii Framework easy to learn?

Yii certainly requires good programming skills, PHP, at least basics of object oriented programming. If you know all that, then you can start in a week. After a month or two you'll be doing things correctly. After about 3 months you should be comfortable.

Is Yii hard to learn?

Yii has a low-entry barrier. In other words, it is really easy to learn. Developers describe it as a PHP framework that is most simple.


2 Answers

You can find them in Yii basic Documents

Yii Basic Convention

like image 182
Sam Dark Avatar answered Oct 27 '22 01:10

Sam Dark


The following code style is used for Yii 1.x development: https://github.com/yiisoft/yii/wiki/Core-framework-code-style

CodeSniffer Coding Standard Repo: https://github.com/Ardem/yii-coding-standard

like image 37
Motin Avatar answered Oct 26 '22 23:10

Motin