Notes On <Agile Web Application Development with Yii 1.1 and PHP5> - 01
来源:互联网 发布:手机淘宝优惠券在哪里 编辑:程序博客网 时间:2024/05/01 11:01
Get started with Yii:
Installation
The steps were just following the instructions in this reference book.
1. Download the package from: link, the file I get is yii-1.1.2.r2086p.zip;
2. Upzip it and dump all the content into my yii folder: C:\xampp\htdocs\yii\;
3. Run the page of requirement verification: http://localhost/yii/requirements/index.php:
Create New Application
According to the book, run the command:
So, I add the php installation directory to PATH system variable. Then run the command again:
After the command execuated successfully, there are folders and files created under the directory: WebRoot/yiistudy/
And access it in browser is as:
Create Message Controller with outputting 'helloWorld'
Explore the commands with 'help' command:
Generate a controller with command 'controller':
As I see, this command generate a controller named 'MessageController', and with one action 'actionHelloWorld'.
We can view this new controller and its action by accessing: http://localhost/yiistudy/index.php?r=message/helloworld
- Notes On <Agile Web Application Development with Yii 1.1 and PHP5> - 01
- Agile Web Application Development with Yii 1.1 and PHP5 读后总结(1)简短介绍
- Agile Web Application Development with Yii 1.1 and PHP5 读后总结(2)初步使用
- Agile Web Application Development with Yii 1.1 and PHP5 读后总结(4)散乱的......
- Agile Web Application Development with Yii 1.1 and PHP5 读后总结(3)关于书中的那个TrackStar
- Agile Web Application Development with Yii 1.1 and PHP5 读后总结(5)Task的所有...
- Agile Web Development with Rails
- Agile Web Development with Rails
- Notes On <Codeigniter for Rapid PHP Application Development> - 01
- Agile Web Development with Rails 翻译(一)
- Agile Web Development with Rails 翻译(二)
- Agile Web Development with Rails 翻译(三)
- Agile Web Development with Rails 翻译(四)
- Agile Web Development with Rails 翻译(五)
- Agile Web Development with Rails 翻译(六)
- Agile Web Development with Rails 翻译(七)
- Agile Web Development with Rails 翻译(八)
- Agile Web Development with Rails 翻译(九)
- 微论坛:移动互联网使语音互动门槛急剧降低
- 隐藏UITableView空Cell的Separator Lines
- 【Android开发学习17】Android OpenGL ES 光照与混合glDrawElements
- #ifndef、#define和#endif的用法
- ※C++随笔※=>☆C++基础☆=>※№浅谈指针与引用
- Notes On <Agile Web Application Development with Yii 1.1 and PHP5> - 01
- IOS程序之间的文件共享
- calabash
- 写给4年前没有开始做设计的自己
- uva10344 - 23 out of 5
- centos 5.3 上安装 emacs 23.2
- Ubuntu 12.04下玩转终端管理器Byobu
- mini2440 裸机编程 - 内存控制
- Android Service学习之IntentService 深入分析