README.md 5.49 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
* [Working with Forms](start-forms.md)
* [Working with Databases](start-databases.md)
* [Generating Code with Gii](start-gii.md)
Qiang Xue committed
27
* [Looking Ahead](start-looking-ahead.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)
Qiang Xue committed
43
* [Assets](structure-assets.md)
Qiang Xue committed
44
* [Extensions](structure-extensions.md)
Qiang Xue committed
45 46 47 48 49


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

Qiang Xue committed
50 51
* [Overview](runtime-overview.md)
* [Bootstrapping](runtime-bootstrapping.md)
Qiang Xue committed
52 53 54
* [Routing](runtime-routing.md)
* [Requests](runtime-requests.md)
* [Responses](runtime-responses.md)
55
* [Sessions and Cookies](runtime-sessions-cookies.md)
Qiang Xue committed
56
* [URL Parsing and Generation](runtime-url-handling.md)
Qiang Xue committed
57 58
* [Handling Errors](runtime-handling-errors.md)
* [Logging](runtime-logging.md)
Qiang Xue committed
59 60


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

64 65 66 67
* [Components](concept-components.md)
* [Properties](concept-properties.md)
* [Events](concept-events.md)
* [Behaviors](concept-behaviors.md)
Qiang Xue committed
68
* [Configurations](concept-configurations.md)
69 70 71 72
* [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
73 74


Qiang Xue committed
75 76 77
Working with Databases
----------------------

Larry Ullman committed
78 79 80 81
* [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): Apply version control to your databases in a team development environment
Qiang Xue committed
82 83 84
* **TBD** [Sphinx](db-sphinx.md)
* **TBD** [Redis](db-redis.md)
* **TBD** [MongoDB](db-mongodb.md)
85
* **TBD** [ElasticSearch](db-elasticsearch.md)
Qiang Xue committed
86 87


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

* [Creating Forms](input-forms.md)
Qiang Xue committed
92 93 94
* [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
95 96


Qiang Xue committed
97
Displaying Data
Qiang Xue committed
98 99
---------------

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


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
123
* [Data Caching](caching-data.md)
124 125
* [Fragment Caching](caching-fragment.md)
* [Page Caching](caching-page.md)
Qiang Xue committed
126
* [HTTP Caching](caching-http.md)
Qiang Xue committed
127 128 129 130 131


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

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


Qiang Xue committed
143 144 145 146 147 148 149 150
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
151 152 153 154
Testing
-------

* [Overview](test-overview.md)
Qiang Xue committed
155
* [Testing environment setup](test-environment-setup.md)
156 157 158
* [Unit Tests](test-unit.md)
* [Functional Tests](test-functional.md)
* [Acceptance Tests](test-acceptance.md)
Qiang Xue committed
159 160 161 162 163 164
* [Fixtures](test-fixtures.md)


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

165 166
* [Advanced Application Template](tutorial-advanced-app.md)
* [Building Application from Scratch](tutorial-start-from-scratch.md)
Qiang Xue committed
167
* [Console Commands](tutorial-console.md)
Qiang Xue committed
168
* [Core Validators](tutorial-core-validators.md)
Qiang Xue committed
169
* [Internationalization](tutorial-i18n.md)
Klimov Paul committed
170
* [Mailing](tutorial-mailing.md)
Qiang Xue committed
171
* [Performance Tuning](tutorial-performance-tuning.md)
172
* **TBD** [Shared Hosting Environment](tutorial-shared-hosting.md)
Qiang Xue committed
173
* [Template Engines](tutorial-template-engines.md)
174
* [Working with Third-Party Code](tutorial-yii-integration.md)
Qiang Xue committed
175 176 177 178 179 180 181 182 183 184 185 186 187


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
188 189
* [Bootstrap Widgets](widget-bootstrap.md)
* [Jquery UI Widgets](widget-jui.md)
Qiang Xue committed
190 191 192 193 194


Helpers
-------

Qiang Xue committed
195
* [Overview](helper-overview.md)
Qiang Xue committed
196 197 198 199
* **TBD** [ArrayHelper](helper-array.md)
* **TBD** [Html](helper-html.md)
* **TBD** [Url](helper-url.md)
* **TBD** [Security](helper-security.md)
Mark committed
200