Yii and no CLI

In the installation instructions for Yii it is nescessary to use console and command line utility - yiic.

Well, on my shared hosting I don’t have ssh access.

This is why I have following questions:


[*]How often and for what reasons will I have to use console?

[*]Is there a way to avoid using yiic?

[*]May I run yiic on local server and then just transfer everything to the final web server?



No, you don’t use yiic on production server to generate code. You only use it on your dev machine which you normally should have full control over it.

The yiic code generation tool is just a way to help you speed up your development. If you are familiar with yii, you can create an application from scratch without using yiic.

Thanks for your answer.

you might also want to check out http://code.google.com/p/yii-skeleton-app/ it’s good for people just beginning wit yii