mirror of
				https://github.com/yiisoft/yii2.git
				synced 2025-11-04 14:46:19 +08:00 
			
		
		
		
	Yii 2.0 权威指南
本指南依据 Terms of Yii Documentation 发布。
保留所有权利。
2014 (c) Yii Software LLC.
简介
入门
程序结构
处理请求
- TBD Bootstrapping
 - TBD Routing
 - TBD Requests
 - TBD Responses
 - TBD Sessions and Cookies
 - URL 解析及生成
 - 处理错误
 - 日志
 
关键概念
使用数据库
- 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 - Version control your databases in a team development environment
 - TBD Sphinx
 - TBD Redis
 - TBD MongoDB
 - TBD ElasticSearch
 
获取来自用户的数据
显示数据
- TBD Data Formatting
 - TBD Pagination
 - TBD Sorting
 - Data Providers
 - Data Widgets
 - 主题
 
安全
- 验证
 - 授权
 - 使用密码
 - TBD Auth Clients
 - TBD Best Practices
 
缓存
RESTful Web 服务
- 快速入门
 - Resources
 - Controllers
 - Routing
 - Response Formatting
 - Authentication
 - Rate Limiting
 - Versioning
 - Error Handling
 
开发工具
测试
- Overview
 - TBD Unit Tests
 - TBD Functional Tests
 - TBD Acceptance Tests
 - Fixtures
 
扩展 Yii
- 创建扩展
 - 定制核心代码
 - 使用第三方库
 - TBD Using Yii in 3rd-Party Systems
 - TBD Using Yii 1.1 and 2.0 Together
 - 使用 Composer
 
专题
挂件(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
 - TBD Jquery UI Widgets
 
助手(Helpers)
- 概览
 - TBD ArrayHelper
 - TBD Html
 - TBD Url
 - TBD Security