Setelah kita merancang tabel-tabel yang diperlukan dalam aplikasi database ini, langkah selanjutnya adalah memulai pembuatan aplikasi. Misalnya kita menset aplikasi :
- Document root berada di : D:\home\gl\public_html
- Framework Yii berada D:\home\gl\yii
Kita akan memulai pembuatan aplikasi ini dengan menjalankan program yiic dengan format: yiic webapp namaaplikasi pada document root. Dan tentu saja yiic harus disesuaikan lokasinya seperti contoh di bawah ini
D:\home\gl\public_html>..\yii\framework\yiic webapp gl
Create a Web application under ‘D:\home\gl\public_html\gl’? [Yes|No] yes
mkdir D:/home/gl/public_html/gl
mkdir D:/home/gl/public_html/gl/assets
mkdir D:/home/gl/public_html/gl/css
generate css/bg.gif
generate css/form.css
generate css/ie.css
generate css/main.css
generate css/print.css
generate css/screen.css
mkdir D:/home/gl/public_html/gl/images
generate index-test.php
generate index.php
mkdir D:/home/gl/public_html/gl/protected
generate protected/.htaccess
mkdir D:/home/gl/public_html/gl/protected/commands
mkdir D:/home/gl/public_html/gl/protected/commands/shell
mkdir D:/home/gl/public_html/gl/protected/components
generate protected/components/Controller.php
generate protected/components/UserIdentity.php
mkdir D:/home/gl/public_html/gl/protected/config
generate protected/config/console.php
generate protected/config/main.php
generate protected/config/test.php
mkdir D:/home/gl/public_html/gl/protected/controllers
generate protected/controllers/SiteController.php
mkdir D:/home/gl/public_html/gl/protected/data
generate protected/data/schema.mysql.sql
generate protected/data/schema.sqlite.sql
generate protected/data/testdrive.db
mkdir D:/home/gl/public_html/gl/protected/extensions
mkdir D:/home/gl/public_html/gl/protected/messages
mkdir D:/home/gl/public_html/gl/protected/models
generate protected/models/ContactForm.php
generate protected/models/LoginForm.php
mkdir D:/home/gl/public_html/gl/protected/runtime
mkdir D:/home/gl/public_html/gl/protected/tests
generate protected/tests/bootstrap.php
mkdir D:/home/gl/public_html/gl/protected/tests/fixtures
mkdir D:/home/gl/public_html/gl/protected/tests/functional
generate protected/tests/functional/SiteTest.php
generate protected/tests/phpunit.xml
mkdir D:/home/gl/public_html/gl/protected/tests/report
mkdir D:/home/gl/public_html/gl/protected/tests/unit
generate protected/tests/WebTestCase.php
mkdir D:/home/gl/public_html/gl/protected/views
mkdir D:/home/gl/public_html/gl/protected/views/layouts
generate protected/views/layouts/column1.php
generate protected/views/layouts/column2.php
generate protected/views/layouts/main.php
mkdir D:/home/gl/public_html/gl/protected/views/site
generate protected/views/site/contact.php
generate protected/views/site/error.php
generate protected/views/site/index.php
generate protected/views/site/login.php
mkdir D:/home/gl/public_html/gl/protected/views/site/pages
generate protected/views/site/pages/about.php
generate protected/yiic
generate protected/yiic.bat
generate protected/yiic.php
mkdir D:/home/gl/public_html/gl/themes
mkdir D:/home/gl/public_html/gl/themes/classic
mkdir D:/home/gl/public_html/gl/themes/classic/views
generate themes/classic/views/.htaccess
mkdir D:/home/gl/public_html/gl/themes/classic/views/layouts
mkdir D:/home/gl/public_html/gl/themes/classic/views/site
mkdir D:/home/gl/public_html/gl/themes/classic/views/system
Your application has been created successfully under D:\home\gl\public_html\gl.
D:\home\gl\public_html>
Kunjungi www.proweb.co.id untuk menambah wawasan anda.