The official Yii Framework tutorial added to the beginning of the chapter: what is Yii

Source: Internet
Author: User
Tags sublime text ruby on rails netbeans

Yii is a high-performance, component-based PHP framework for rapid development of large WEB applications. It maximizes reusability in web development and can significantly improve the speed of your Web application development. The name Yii (read 易(Yee) or [ji:] ) is "Yes It is!" The abbreviation. This is often the most accurate answer to some of the most frequently asked questions:

Yii, hurry? Is it safe? Is IT professional? Does it apply to my next project? Yes, it is!

Yii Framework Author Manggold J is also the author of the Prado framework, in the process of writing the YII framework, the author maximizes the use of Prado,ruby on rails,cakephp and the essence of symfony to create a modern, rich character, and a reusable PHP framework.

1. Environmental Requirements

To run a Yii-driven Web application, you need to have a Web server (such as Apache or Nginx) that supports PHP 5.1.0 or later.

For developers who intend to use Yii, it can be very helpful to understand object-oriented programming (OOP). Because Yii is a purely OOP framework. (Learn more about PHP object-oriented features and syntax, refer to http://www.icultivator.com/p/tag/object-oriented)

Yii uses the standard MVC design pattern architecture.

Almost all Web applications are now based on related databases. Therefore, how a framework manages and interacts with the database is critical. The YII framework can operate on a database in a number of ways, but the standard practice is to use the ORM method implemented through AR (also in Ruby on Rails).

For low-level database interactions, you can use the PHP5 PDO extension. PDO provides a data access abstraction layer that allows you to interact with the same piece of code and multiple different databases, regardless of the associated database application call.

Development tools Ready:

NetBeans (Reference: 23 Collections of PHP development tools-The best way for NetBeans to be integrated with Yii after a trial!) )

Phpstorm (reference: Configuring Phpstorm IDE Integrated YII Framework Tutorial)

Sublime Text 2 (reference: Http://www.icultivator.com/p/tag/sublime-text)

2. What is Yii best for?

Yii is a common web programming framework that can be used to develop almost any Web application. Because it is lightweight and has a proven cache solution, it is ideal for developing high-traffic applications such as portals, forums, Content management systems (CMS), e-commerce systems, and more.

Some sites built using the YII framework:

Yii official website

Stay.com

Vice.com

Yii Chinese Community

Some open source programs based on the YII framework:

Chive

Zurmo

LimeSurvey2

Yincart

3. How does Yii compare with other frameworks?

Like most PHP frameworks, Yii is an MVC framework.

Yii wins other frameworks with its excellent performance, rich functionality and clear documentation. YII has been carefully designed from the outset to be suitable for WEB application development that is strictly forbidden. It is neither a derivative of another project nor a combination of third-party work. It is the author's rich experience in Web application development and the results of research and thinking on most popular web programming frameworks and applications.

4. Before you begin

Have the following knowledge reserves:

1) have relevant experience in web development

2) Master HTML, CSS, Javascript, JQuery, PHP, MySQL and SQL related knowledge

3) Learn to master any new things inevitably experience confusion and frustration, to do this in the heart prepared

The official Yii Framework tutorial added to the beginning of the chapter: what is Yii

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.