Classes Names

Hi,

I was reading the Yii 2 coding style and the following caught my attention:

[color="#333333"][font="Helvetica, arial, freesans, clean, sans-serif"] [/font][/color]

[color="#333333"][font="Helvetica, arial, freesans, clean, sans-serif"] [/font][/color]

My question is… is still necessary the class names prefixes once we have namespaces? Why use CClass, EClass or Class if we are able to have \yii\Class, \extension\Class or \app\Class / \Class?

Cheers.

In the example code posted by qiang the "C" prefix is not used, so I guess not. However the "E"-prefix could be usefull for extensions.

Thanks. Fixed. That page is a draft I’ve started putting up together but haven’t finished yet.

[size=2]No problem. Congrats for the great work done so far. [/size];)