mirror of
https://github.com/yiisoft/yii2.git
synced 2025-11-22 01:30:23 +08:00
* master: (22 commits) Fixes #4971: Fixed hardcoded table names in `viaTable` expression in model generator Fixed test break. Fixes #4955: Replaced callbacks with events for `ActiveForm` Fix brackets Rename `\yii\web\User` component param for consistency Html::button() type is `button` by default Fix bug in Estonian translation Typo fixed inside \yii\rest\CreateAction Fixed test break. Fixed test case. note about validation rules order Return a fixtures cleanup in case of a failing test Update finnish translation skip fixture controller test on HHVM Make unit tests cleanup a DB after finish Fixes #4945: Added `yii\test\ArrayFixture` added array fixture class minor doc adjustment [skip ci] Fixes #4948. Thanks, @johan162 Fixes #4947 ... Conflicts: framework/UPGRADE.md
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
- Asset Bundles
- Extensions
Handling Requests
- TBD Bootstrapping
- TBD Routing
- TBD Requests
- TBD Responses
- TBD Sessions and Cookies
- URL Parsing and Generation
- 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
- TBD Data Formatting
- TBD Pagination
- TBD Sorting
- Data Providers
- Data Widgets
- Working with Client Scripts
- Theming
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
- TBD Shared Hosting Environment
- Template Engines
- Working with Third-Party Code
Widgets
- GridView: link to demo page
- ListView: link to demo page
- DetailView: link to demo page
- ActiveForm: link to demo page
- Pjax: link to demo page
- Menu: link to demo page
- LinkPager: link to demo page
- LinkSorter: link to demo page
- Bootstrap Widgets
- Jquery UI Widgets
Helpers
- Overview
- TBD ArrayHelper
- TBD Html
- TBD Url
- TBD Security