overview.md 1.84 KB
Newer Older
Qiang Xue committed
1 2 3
What is Yii
===========

Larry Ullman committed
4
Yii is a high-performance, component-based PHP framework for rapidly developing large-scale Web applications. Yii enables maximum reusability in Web
Qiang Xue committed
5 6
programming and can significantly accelerate your Web application development
process. The name Yii (pronounced `Yee` or `[ji:]`) is an acronym for
Alexander Makarov committed
7
**Yes It Is!**.
Qiang Xue committed
8 9 10 11 12 13


Requirements
------------

To run a Yii-powered Web application, you need a Web server that supports
Larry Ullman committed
14
PHP 5.3.? or greater.
Qiang Xue committed
15 16 17 18 19 20 21 22 23 24 25 26

For developers who want to use Yii, understanding object-oriented
programming (OOP) is very helpful, because Yii is a pure OOP framework.


What is Yii Best for?
---------------------

Yii is a generic Web programming framework that can be used for developing
virtually any type of Web application.  Because it is light-weight and
equipped with sophisticated caching mechanisms, it is especially suited
to high-traffic applications, such as portals, forums, content
Larry Ullman committed
27
management systems (CMS), e-commerce projects, etc.
Qiang Xue committed
28 29 30 31 32


How does Yii Compare with Other Frameworks?
-------------------------------------------

Larry Ullman committed
33 34 35 36 37 38
- Like most PHP frameworks, Yii is uses the MVC (Model-View-Controller) design approach.
- Yii is a fullstack framework providing many solutions and components, such as logging, session management, caching etc.
- Yii strikes a good balance between simplicity and features.
- Syntax and overall development usability are taken seriously by the Yii development team.
- Performance is one of the key goals for the Yii framework.
- The Yii development team is constantly watching what other Web frameworks are doing to see what best practices and features should be incorporated into Yii. The initial Yii release was heavily influenced by Ruby on Rails. Still, no framework or feature is being blindly copied into Yii; all decisions are based upon what's best for Web developers and in keeping with Yii's philosophy.