PHP Development Framework YII Framework Tutorial (1) First Application Hello World

Source: Internet
Author: User
Tags root directory yii

The Yii Framework tutorial can be found in official Chinese documents, so why do you want to write this development tutorial? The purpose of this tutorial is to help Windows desktop applications or ASP.net programmers to quickly master the PHP YII Framework application framework through different perspectives (primarily through the development of Windows applications c++,c# Programmer's perspective). An important benefit of using PHP to develop Web applications is that it can be applied to various operating systems (Unix,windows,mac OS), unlike ASP.net, which are typically only available on Windows operating systems. The use of Php+apache+mysql (Xmap/lamp) can be used to fight the invincible hand:-) almost.

The operating system used for this tutorial is windows and the development IDE is VS. PHP, which uses this development environment because vs.php is using Visual Studio as the IDE, is familiar to Visual Studio developers. And can be used to develop debugging c#,php applications at the same time. The Yii Framework itself has nothing to do with the IDE, and you can use your favorite PHP development tools to develop YII applications (such as Eclipse). For an introduction to vs.php, see VS. PHP + yiiframework Portfolio development PHP application. This tutorial on Yii framework knowledge is not related to the development of the IDE, can be applied to a variety of development environments, you can choose your own favorite development environment.

In the creation of the first application, you need to download the Yii development package, download can go to the Yii website http://www.yiiframework.com/download/download, the current version of 1.1 12, after downloading the direct decompression, for convenience to extract it to the C: root directory:

Another benefit of using vs.php is that it has its own Apache Web server, so you can install Xamp (apache+mysql+php) without additional installation, but MySQL is also required if you need to use MySQL.

After installing the YII framework, we used vs.php to create the first PHP application, Hello world.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.