index.md 3.67 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
- [Upgrading from 1.1 to 2.0](upgrade-from-v1.md)
16 17


18 19 20 21
Installation
------------

- [Installation](installation.md) - How to download Yii and configure the Web server?
22 23 24
- [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

27
Base concepts
28
-------------
29

30 31
- [Basic Concepts](basics.md) - The Object and Component class, Path aliases and autoloading
- [Configuration](configuration.md) - Configuration of a Yii application
32 33 34 35 36 37
- [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)
38

Qiang Xue committed
39

40
Database
41
--------
42

43 44
- [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
45 46
- [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
47

48
Developers Toolbox
49
------------------
50

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

Extensions and 3rd party libraries
58
----------------------------------
59 60

- [Composer](composer.md) - How to manage applications dependencies via composer
61
- [Extending Yii](extensions.md)
Sébastien Asselin committed
62
- [Template engines](template.md) - Using template engines such as Smarty or Twig
63
- [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
64 65

Security and access control
66
---------------------------
67

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

73
Data providers, lists and grids
74
-------------------------------
75

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

81
Advanced Topics
82
---------------
83

84
- [Asset Management](assets.md)
85
- [Working with forms](form.md)
Qiang Xue committed
86
- [Implementing RESTful Web Service APIs](rest.md)
87
- [Bootstrap widgets](bootstrap-widgets.md) - Using [twitter bootstrap](http://getbootstrap.com/)
88
- [Theming](theming.md)
89 90 91
- [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
92 93 94
- [Console Application](console.md)
- [Performance Tuning](performance.md)
- [Testing](testing.md)
Qiang Xue committed
95
- [Managing Test Fixtures](test-fixture.md)
Qiang Xue committed
96
- [Service Locator and Dependency Injection](di.md)
97 98

References
99
----------
100 101

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