Comprehensive guide to Yii 2.0 framework covering installation, basics, database, security, caching, REST APIs, and more.
This guide covers Yii 2.0, a high-performance PHP framework for building modern web applications. It includes installation, MVC structure, database operations, security, caching, RESTful services, and developer tools. The framework supports Composer, namespaces, traits, and PSR standards. It is designed for scalability and performance, suitable for portals, CMS, e-commerce, and REST APIs.
The guide explains key concepts like components, events, behaviors, dependency injection, and service locator. It also covers form handling, data validation, pagination, sorting, widgets, helpers, and internationalization. Security features include authentication, authorization, password handling, and cryptography. Performance optimization and virtual hosting are also addressed. This manual is written in Russian.
Yii is a high-performance component-based PHP framework designed for rapid development of modern web applications.
Yii 2.0 requires PHP 5.4.0 or higher.
Yii 2.0 is a completely rewritten version using modern technologies like Composer, PSR, namespaces, and traits.
The two main versions are Yii 1.1 and Yii 2.0.