mirror of
https://github.com/yiisoft/yii2.git
synced 2025-11-13 04:38:03 +08:00
restructured guide.
This commit is contained in:
@@ -12,75 +12,128 @@ Getting Started
|
|||||||
* Starting with Basic App
|
* Starting with Basic App
|
||||||
* Starting with Advanced App
|
* Starting with Advanced App
|
||||||
* Starting from Scratch
|
* Starting from Scratch
|
||||||
* What's Next
|
|
||||||
|
|
||||||
|
|
||||||
Fundamentals
|
Basic Concepts
|
||||||
------------
|
--------------
|
||||||
|
|
||||||
* Properties, Events and Behaviors
|
* Object Properties
|
||||||
* Class Autoloading
|
* Events
|
||||||
|
* Behaviors
|
||||||
* Object Configurations
|
* Object Configurations
|
||||||
|
* Class Autoloading
|
||||||
* Path Aliases
|
* Path Aliases
|
||||||
* Request Lifecyle
|
* Extensions
|
||||||
|
* Service Locator
|
||||||
|
* Dependency Injection Container
|
||||||
|
|
||||||
|
|
||||||
|
Key Components
|
||||||
|
--------------
|
||||||
|
|
||||||
* Entry Scripts
|
* Entry Scripts
|
||||||
* Applications
|
* Applications
|
||||||
* Controllers and Actions
|
* Controllers and Actions
|
||||||
* Views
|
* Views
|
||||||
* Models
|
* Models
|
||||||
* Requests
|
* Action Filters
|
||||||
* Responses
|
|
||||||
* Filters
|
|
||||||
* Widgets
|
* Widgets
|
||||||
* Modules
|
* Modules
|
||||||
* Extensions
|
* Code Organization
|
||||||
|
|
||||||
|
|
||||||
|
Handling Requests
|
||||||
|
-----------------
|
||||||
|
|
||||||
|
* Request Lifecycle
|
||||||
|
* Bootstrapping
|
||||||
|
* Routing
|
||||||
|
* Requests
|
||||||
|
* Responses
|
||||||
|
* Sessions and Cookies
|
||||||
|
* URL Parsing and Generation
|
||||||
|
|
||||||
|
|
||||||
|
Collecting Input Data
|
||||||
|
---------------------
|
||||||
|
|
||||||
|
* Creating Forms
|
||||||
|
* Input Validation
|
||||||
|
* Uploading Files
|
||||||
|
* Handling Multiple Models
|
||||||
|
|
||||||
|
|
||||||
|
Presenting Data
|
||||||
|
---------------
|
||||||
|
|
||||||
|
* Data Formatting
|
||||||
|
* Pagination
|
||||||
|
* Sorting
|
||||||
|
* Data Providers
|
||||||
|
* Data Widgets
|
||||||
|
|
||||||
|
|
||||||
Working with Database
|
Working with Database
|
||||||
---------------------
|
---------------------
|
||||||
|
|
||||||
* Basics - Connecting to a database, basic queries, transactions and schema manipulation
|
* Data Access Objects - Connecting to a database, basic queries, transactions and schema manipulation
|
||||||
* Query Builder - Querying the database using a simple abstraction layer
|
* Query Builder - Querying the database using a simple abstraction layer
|
||||||
* ActiveRecord - The active record ORM, retrieving and manipulating records and defining relations
|
* Active Record - The active record ORM, retrieving and manipulating records and defining relations
|
||||||
* Working with Redis
|
* Sphinx
|
||||||
* Working with MongoDB
|
* Redis
|
||||||
* Working with ElasticSearch
|
* MongoDB
|
||||||
* Working with Sphinx
|
* ElasticSearch
|
||||||
|
|
||||||
|
|
||||||
|
Caching
|
||||||
|
-------
|
||||||
|
|
||||||
|
* Overview
|
||||||
|
* Data Caching
|
||||||
|
* Fragment and Page Caching
|
||||||
|
* HTTP Caching
|
||||||
|
|
||||||
|
|
||||||
|
Testing
|
||||||
|
-------
|
||||||
|
|
||||||
|
* Overview
|
||||||
|
* Unit Tests
|
||||||
|
* Functional Tests
|
||||||
|
* Acceptance Tests
|
||||||
|
* Fixtures
|
||||||
|
|
||||||
|
|
||||||
|
Extending Yii
|
||||||
|
-------------
|
||||||
|
|
||||||
|
* Creating Extensions
|
||||||
|
* Customizing Core Code
|
||||||
|
* Using 3rd-Party Libraries
|
||||||
|
* Using Yii in 3rd-Party Systems
|
||||||
|
* Using Yii 1.1 and 2.0 Together
|
||||||
|
|
||||||
|
|
||||||
Special Topics
|
Special Topics
|
||||||
--------------
|
--------------
|
||||||
|
|
||||||
* Asset Management
|
|
||||||
* Authentication
|
* Authentication
|
||||||
* Authorization
|
* Authorization
|
||||||
* Building RESTful Web Services
|
* Auth Clients
|
||||||
* Caching
|
|
||||||
* Console Commands
|
* Console Commands
|
||||||
* Creating Extensions
|
|
||||||
* Data Formatting
|
|
||||||
* Debug Toolbar and Debugger
|
* Debug Toolbar and Debugger
|
||||||
* Error Handling
|
|
||||||
* File Upload
|
|
||||||
* Generating Code using Gii
|
* Generating Code using Gii
|
||||||
* Generating API Documentation
|
* Generating API Documentation
|
||||||
* Input Validation
|
* Handling Errors
|
||||||
* Internationalization
|
* Internationalization
|
||||||
* Logging
|
* Logging
|
||||||
* Mailing
|
* Mailing
|
||||||
* Pagination and Sorting
|
* Managing Assets
|
||||||
* Performance Tuning
|
* Performance Tuning
|
||||||
* Routing and URL Management
|
* RESTful Web Services
|
||||||
* Security
|
* Security
|
||||||
* Service Locator and Dependency Injection
|
* Template Engines
|
||||||
* Testing
|
|
||||||
* Theming
|
* Theming
|
||||||
* Using Auth Clients
|
|
||||||
* Using Template Engines
|
|
||||||
* Working with 3rd-Party Code
|
|
||||||
* Working with Cookies
|
|
||||||
* Working with HTML Forms
|
|
||||||
* Working with Sessions
|
|
||||||
|
|
||||||
|
|
||||||
Widgets
|
Widgets
|
||||||
|
|||||||
Reference in New Issue
Block a user