README.md 5.39 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
* [Routing and URL Creation](runtime-routing.md)
Qiang Xue committed
53 54
* [Requests](runtime-requests.md)
* [Responses](runtime-responses.md)
55
* [Sessions and Cookies](runtime-sessions-cookies.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
Working with Databases
----------------------

Larry Ullman committed
77 78 79 80
* [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
81 82 83
* **TBD** [Sphinx](db-sphinx.md)
* **TBD** [Redis](db-redis.md)
* **TBD** [MongoDB](db-mongodb.md)
84
* **TBD** [ElasticSearch](db-elasticsearch.md)
Qiang Xue committed
85 86


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

* [Creating Forms](input-forms.md)
Qiang Xue committed
91
* [Validating Input](input-validation.md)
Valentin Ts committed
92
* [Uploading Files](input-file-upload.md)
Qiang Xue committed
93
* **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
---------------

Valentin Ts committed
99
* [Data Formatting](output-formatter.md)
Alexander Makarov committed
100
* [Pagination](output-pagination.md)
Alexander Makarov committed
101
* [Sorting](output-sorting.md)
Qiang Xue committed
102 103
* [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


Security
--------

* [Authentication](security-authentication.md)
* [Authorization](security-authorization.md)
* [Working with Passwords](security-passwords.md)
114
* [Auth Clients](security-auth-clients.md)
115
* [Best Practices](security-best-practices.md)
Qiang Xue committed
116 117 118 119 120 121


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
Testing
-------

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


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

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


Widgets
-------

179 180 181 182 183 184 185 186
* GridView: **TBD** link to demo page
* ListView: **TBD** link to demo page
* DetailView: **TBD** link to demo page
* ActiveForm: **TBD** link to demo page
* Pjax: **TBD** link to demo page
* Menu: **TBD** link to demo page
* LinkPager: **TBD** link to demo page
* LinkSorter: **TBD** link to demo page
187
* [Bootstrap Widgets](widget-bootstrap.md)
188
* [jQuery UI Widgets](widget-jui.md)
Qiang Xue committed
189 190 191 192 193


Helpers
-------

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