YII

Creating Your First Yii Application

커버 YII > Getting Started > Creating Your First Yii Application

To give you an initial experience with Yii, in this section we describe how to create your first Yii application. We will useyiic (command line tool) to create a new Yii application andGii (powerful web based code generator) to automate code creation for certain tasks. For convenience, we assume thatYiiRoot is the directory where Yii is installed, and WebRootis the document root of our Web server.

Run yiic on the command line as follows:

% YiiRoot/framework/yiic webapp WebRoot/testdrive

댓글

댓글 본문