README.md 5.78 KB
Newer Older
Qiang Xue committed
1 2
The Definitive Guide to Yii 2.0
===============================
Mark committed
3

Qiang Xue committed
4 5 6 7 8 9 10 11 12 13
This tutorial is released under the [Terms of Yii Documentation](http://www.yiiframework.com/doc/terms/).

All Rights Reserved.

2014 (c) Yii Software LLC.


Introduction
------------

14
* [About Yii](intro-yii.md)
Qiang Xue committed
15 16 17 18 19 20
* [Upgrading from Version 1.1](intro-upgrade-from-v1.md)


Getting Started
---------------

Qiang Xue committed
21 22
* [Installing Yii](start-installation.md)
* [Running Applications](start-workflow.md)
23
* [Saying Hello](start-hello.md)
Qiang Xue committed
24 25 26 27
* [Working with Forms](start-forms.md)
* [Working with Databases](start-databases.md)
* [Generating Code with Gii](start-gii.md)
* [Looking Ahead](start-looking-head.md)
Qiang Xue committed
28

Qiang Xue committed
29

Qiang Xue committed
30 31
Application Structure
---------------------
Qiang Xue committed
32

33
* [Overview](structure-overview.md)
Qiang Xue committed
34
* [Entry Scripts](structure-entry-scripts.md)
Qiang Xue committed
35
* [Applications](structure-applications.md)
36
* [Application Components](structure-application-components.md)
Qiang Xue committed
37
* [Controllers](structure-controllers.md)
Qiang Xue committed
38
* [Models](structure-models.md)
Qiang Xue committed
39
* [Views](structure-views.md)
Qiang Xue committed
40 41 42
* [Modules](structure-modules.md)
* [Filters](structure-filters.md)
* [Widgets](structure-widgets.md)
43
* [Asset Bundles](structure-assets.md)
Qiang Xue committed
44
* **TBD** [Extensions](structure-extensions.md)
Qiang Xue committed
45 46 47 48 49 50 51 52 53 54 55


Handling Requests
-----------------

* **TBD** [Bootstrapping](runtime-bootstrapping.md)
* **TBD** [Routing](runtime-routing.md)
* **TBD** [Requests](runtime-requests.md)
* **TBD** [Responses](runtime-responses.md)
* **TBD** [Sessions and Cookies](runtime-sessions-cookies.md)
* [URL Parsing and Generation](runtime-url-handling.md)
Qiang Xue committed
56 57
* [Handling Errors](runtime-handling-errors.md)
* [Logging](runtime-logging.md)
Qiang Xue committed
58 59


Qiang Xue committed
60 61
Key Concepts
------------
Qiang Xue committed
62

63 64 65 66
* [Components](concept-components.md)
* [Properties](concept-properties.md)
* [Events](concept-events.md)
* [Behaviors](concept-behaviors.md)
Qiang Xue committed
67
* [Configurations](concept-configurations.md)
68 69 70 71
* [Aliases](concept-aliases.md)
* [Class Autoloading](concept-autoloading.md)
* [Service Locator](concept-service-locator.md)
* [Dependency Injection Container](concept-di-container.md)
Qiang Xue committed
72 73


Qiang Xue committed
74 75 76 77 78 79 80 81 82 83 84 85 86
Working with Databases
----------------------

* [Data Access Objects](db-dao.md) - Connecting to a database, basic queries, transactions and schema manipulation
* [Query Builder](db-query-builder.md) - Querying the database using a simple abstraction layer
* [Active Record](db-active-record.md) - The active record ORM, retrieving and manipulating records and defining relations
* [Migrations](db-migrations.md) - Version control your databases in a team development environment
* **TBD** [Sphinx](db-sphinx.md)
* **TBD** [Redis](db-redis.md)
* **TBD** [MongoDB](db-mongodb.md)
* **TBD** [ElasticSearch](db-elastic-search.md)


Qiang Xue committed
87 88
Getting Data from Users
-----------------------
Qiang Xue committed
89 90

* [Creating Forms](input-forms.md)
Qiang Xue committed
91 92 93
* [Validating Input](input-validation.md)
* **TBD** [Uploading Files](input-file-upload.md)
* **TBD** [Getting Data for Multiple Models](input-multiple-models.md)
Qiang Xue committed
94 95


Qiang Xue committed
96
Displaying Data
Qiang Xue committed
97 98 99 100 101 102 103
---------------

* **TBD** [Data Formatting](output-formatting.md)
* **TBD** [Pagination](output-pagination.md)
* **TBD** [Sorting](output-sorting.md)
* [Data Providers](output-data-providers.md)
* [Data Widgets](output-data-widgets.md)
104
* [Working with Client Scripts](output-client-scripts.md)
Qiang Xue committed
105
* [Theming](output-theming.md)
Qiang Xue committed
106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121


Security
--------

* [Authentication](security-authentication.md)
* [Authorization](security-authorization.md)
* [Working with Passwords](security-passwords.md)
* **TBD** [Auth Clients](security-auth-clients.md)
* **TBD** [Best Practices](security-best-practices.md)


Caching
-------

* [Overview](caching-overview.md)
Qiang Xue committed
122
* [Data Caching](caching-data.md)
123 124
* [Fragment Caching](caching-fragment.md)
* [Page Caching](caching-page.md)
Qiang Xue committed
125
* [HTTP Caching](caching-http.md)
Qiang Xue committed
126 127 128 129 130


RESTful Web Services
--------------------

Qiang Xue committed
131
* [Quick Start](rest-quick-start.md)
Qiang Xue committed
132 133 134
* [Resources](rest-resources.md)
* [Controllers](rest-controllers.md)
* [Routing](rest-routing.md)
Qiang Xue committed
135
* [Response Formatting](rest-response-formatting.md)
Qiang Xue committed
136 137 138 139
* [Authentication](rest-authentication.md)
* [Rate Limiting](rest-rate-limiting.md)
* [Versioning](rest-versioning.md)
* [Error Handling](rest-error-handling.md)
Qiang Xue committed
140 141


Qiang Xue committed
142 143 144 145 146 147 148 149
Development Tools
-----------------

* [Debug Toolbar and Debugger](tool-debugger.md)
* [Generating Code using Gii](tool-gii.md)
* **TBD** [Generating API Documentation](tool-api-doc.md)


Qiang Xue committed
150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173
Testing
-------

* [Overview](test-overview.md)
* **TBD** [Unit Tests](test-unit.md)
* **TBD** [Functional Tests](test-functional.md)
* **TBD** [Acceptance Tests](test-acceptance.md)
* [Fixtures](test-fixtures.md)


Extending Yii
-------------

* [Creating Extensions](extend-creating-extensions.md)
* [Customizing Core Code](extend-customizing-core.md)
* [Using 3rd-Party Libraries](extend-using-libs.md)
* **TBD** [Using Yii in 3rd-Party Systems](extend-embedding-in-others.md)
* **TBD** [Using Yii 1.1 and 2.0 Together](extend-using-v1-v2.md)
* [Using Composer](extend-using-composer.md)


Special Topics
--------------

174 175
* [Advanced Application Template](tutorial-advanced-app.md)
* [Building Application from Scratch](tutorial-start-from-scratch.md)
Qiang Xue committed
176
* [Console Commands](tutorial-console.md)
Qiang Xue committed
177
* [Core Validators](tutorial-core-validators.md)
Qiang Xue committed
178
* [Internationalization](tutorial-i18n.md)
Klimov Paul committed
179
* [Mailing](tutorial-mailing.md)
Qiang Xue committed
180
* [Performance Tuning](tutorial-performance-tuning.md)
181
* **TBD** [Shared Hosting Environment](tutorial-shared-hosting.md)
Qiang Xue committed
182 183 184 185 186 187 188 189 190 191 192 193 194 195 196
* [Template Engines](tutorial-template-engines.md)


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](bootstrap-widgets.md)
197
* [Jquery UI Widgets](jui-widgets.md)
Qiang Xue committed
198 199 200 201 202


Helpers
-------

Qiang Xue committed
203
* [Overview](helper-overview.md)
Qiang Xue committed
204 205 206 207
* **TBD** [ArrayHelper](helper-array.md)
* **TBD** [Html](helper-html.md)
* **TBD** [Url](helper-url.md)
* **TBD** [Security](helper-security.md)
Mark committed
208