The Definitive Guide to Yii 2.0 ¶
This tutorial is released under the Terms of Yii Documentation.
All Rights Reserved.
2014 (c) Yii Software LLC.
Introduction ¶
Getting Started ¶
- Installing Yii
- Running Applications
- Saying Hello
- Working with Forms
- Working with Databases
- Generating Code with Gii
- Looking Ahead
Application Structure ¶
- Overview
- Entry Scripts
- Applications
- Application Components
- Controllers
- Models
- Views
- Modules
- Filters
- Widgets
- Assets
- Extensions
Handling Requests ¶
- Overview
- Bootstrapping
- Routing and URL Creation
- Requests
- Responses
- Sessions and Cookies
- Handling Errors
- Logging
Key Concepts ¶
- Components
- Properties
- Events
- Behaviors
- Configurations
- Aliases
- Class Autoloading
- Service Locator
- Dependency Injection Container
Working with Databases ¶
- Data Access Objects: Connecting to a database, basic queries, transactions, and schema manipulation
- Query Builder: Querying the database using a simple abstraction layer
- Active Record: The Active Record ORM, retrieving and manipulating records, and defining relations
- Migrations: Apply version control to your databases in a team development environment
- TBD Sphinx
- TBD Redis
- TBD MongoDB
- TBD ElasticSearch
Getting Data from Users ¶
Displaying Data ¶
Security ¶
Caching ¶
RESTful Web Services ¶
- Quick Start
- Resources
- Controllers
- Routing
- Response Formatting
- Authentication
- Rate Limiting
- Versioning
- Error Handling
Development Tools ¶
Testing ¶
Special Topics ¶
- Advanced Application Template
- Building Application from Scratch
- Console Commands
- Core Validators
- Internationalization
- Mailing
- Performance Tuning
- Shared Hosting Environment
- Template Engines
- Working with Third-Party Code
Widgets ¶
- GridView: TBD link to demo page
- ListView: TBD link to demo page
- DetailView: TBD link to demo page
- ActiveForm: TBD link to demo page
- Pjax: TBD link to demo page
- Menu: TBD link to demo page
- LinkPager: TBD link to demo page
- LinkSorter: TBD link to demo page
- Bootstrap Widgets
- jQuery UI Widgets