index.md 3.68 KB
Newer Older
1 2 3 4 5 6 7 8 9 10
The Definitive Guide to Yii 2.0
===============================

This tutorial is released under the [Terms of Yii Documentation](http://www.yiiframework.com/doc/terms/).

All Rights Reserved.

2014 (c) Yii Software LLC.


11
Introduction
12
------------
13

14
- [Overview](overview.md) - What is Yii and what is it good for?
15 16

Getting started
17
---------------
18

19 20 21 22 23 24
- [Upgrading from 1.1 to 2.0](upgrade-from-v1.md)
- [Installation](installation.md) - How to download Yii and configure the Webserver?
- [Configuration](configuration.md) - Configuration of a Yii application
- [Basic Application Template](apps-basic.md) - A template to start a basic frontend application.
- [Advanced Application Template](apps-advanced.md) - The basis for more advanced applications.
- [Creating your own Application structure](apps-own.md) - Learn how to start from scratch.
25

26
Base concepts
27
-------------
28

29
- [Basic concepts of Yii](basics.md) - The Object and Component class, Path aliases and autoloading
30 31 32 33 34 35
- [MVC](mvc.md) - Implementation of MVC in Yii and a typical MVC application flow
  - [Model](model.md) - The Yii Model provides Attributes, Scenarios and data Validation
  - [View](view.md) - Rendering Views applying layouts, using Widgets and asset management
  - [Controller](controller.md) - controller actions, routing and action filters
- [Event Handling](events.md) - The Yii event handling mechanism
- [Behaviors](behaviors.md)
36

Qiang Xue committed
37

38
Database
39
--------
40

41 42
- [Basics](database-basics.md) - Connecting to a database, basic queries, transactions and schema manipulation
- [Query Builder](query-builder.md) - Querying the database using a simple abstraction layer
Qiang Xue committed
43 44
- [ActiveRecord](active-record.md) - The active record ORM, retrieving and manipulating records and defining relations
- [Database Migration](console-migrate.md) - Versioning your database with database migration
45

46
Developers Toolbox
47
------------------
48

Qiang Xue committed
49
- [Helper Classes](helpers.md)
50
- [Automatic Code Generation](gii.md)
51
- [Debug toolbar and debugger](module-debug.md)
52 53 54 55
- [Error Handling](error.md)
- [Logging](logging.md)

Extensions and 3rd party libraries
56
----------------------------------
57 58

- [Composer](composer.md) - How to manage applications dependencies via composer
59
- [Extending Yii](extensions.md)
Sébastien Asselin committed
60
- [Template engines](template.md) - Using template engines such as Smarty or Twig
61
- [Using Yii together with 3rd-Party Systems](using-3rd-party-libraries.md) - Using Yii in 3rd-Party Systems and using Yii 1 and 2 together
62 63

Security and access control
64
---------------------------
65

66
- [Authentication](authentication.md) - Identifying Users
67 68 69
- [Authorization](authorization.md) - Access control and RBAC
- [Security](security.md) - Hashing and verifying passwords, encryption
- [Views security](view.md#security) - how to prevent XSS
70

71
Data providers, lists and grids
72
-------------------------------
73

74 75 76 77
- [Overview](data-overview.md)
- [Data providers](data-providers.md)
- [Data widgets](data-widgets.md)
- [Grid](data-grid.md)
78

79
Advanced Topics
80
---------------
81

82
- [Asset Management](assets.md)
83
- [Working with forms](form.md)
Qiang Xue committed
84
- [Implementing RESTful Web Service APIs](rest.md)
85
- [Bootstrap widgets](bootstrap-widgets.md) - Using [twitter bootstrap](http://getbootstrap.com/)
86
- [Theming](theming.md)
87 88 89
- [Caching](caching.md) - Caching data, page fragments and http requests
- [Internationalization](i18n.md) - Message translation and formatting
- [URL Management](url.md) - routing, customized urls and SEO
90 91 92
- [Console Application](console.md)
- [Performance Tuning](performance.md)
- [Testing](testing.md)
Qiang Xue committed
93
- [Managing Test Fixtures](test-fixture.md)
Qiang Xue committed
94
- [Service Locator and Dependency Injection](di.md)
95 96

References
97
----------
98 99

- [Model validation reference](validation.md)
Vincent committed
100
- [Official Composer documentation](http://getcomposer.org)