overview.md 2.03 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
14
PHP 5.4.0 or greater.
Qiang Xue committed
15 16 17

For developers who want to use Yii, understanding object-oriented
programming (OOP) is very helpful, because Yii is a pure OOP framework.
Larry Ullman committed
18 19
Yii 2.0 also makes use of the latest features of PHP such as [namespaces](http://www.php.net/manual/en/language.namespaces.php),
so you should be familiar with how they work, too.
Qiang Xue committed
20 21 22 23 24 25


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

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


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

Larry Ullman committed
35
- Like most PHP frameworks, Yii is uses the MVC (Model-View-Controller) design approach.
Larry Ullman committed
36
- Yii is a fullstack framework providing many solutions and components, such as logging, session management, caching, etc.
Larry Ullman committed
37 38 39
- 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.
40 41 42 43
- 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.