mirror of
https://github.com/yiisoft/yii2.git
synced 2026-03-12 10:18:27 +01:00
* master: (1112 commits) Removed unused "use" statements Fixed array syntax Removed unused "use" statements Перевод runtime-handling-errors.md на русский язык Mark tests with problematic DBMS as skipped. Fixes #3511: Dropped `yii.allowAction()` and modified `yii.confirm()` in `yii.js` to support callbacks Update runtime-url-handling.md Update runtime-url-handling.md Update runtime-url-handling.md Update runtime-url-handling.md Update runtime-url-handling.md Create runtime-url-handling.md Fixed test break. Fixes #3410: yii.activeForm.js now supports adding/removing fields dynamically Fixes #2914: `ActiveForm::fieldConfig` will be merged recursively with the `$options` parameter in `ActiveForm::field()` Fixes #4936 [skip ci] Reverted/fixed some incorrect changes. missing "." sign Fixed formatting, initialized options array Fixed phpdoc ... Conflicts: framework/CHANGELOG.md framework/base/Formatter.php framework/i18n/Formatter.php tests/unit/framework/base/FormatterTest.php tests/unit/framework/i18n/FormatterTest.php
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