index.md 3.54 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
- [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
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.
25

26
- [Creating your own Application structure](apps-own.md) - Learn how to start from scratch.
27

28
Base concepts
29
-------------
30

31
- [Basic concepts of Yii](basics.md) - The Object and Component class, Path aliases and autoloading
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 39

Database
40
--------
41

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

47
Developers Toolbox
48
------------------
49

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

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

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

Security and access control
65
---------------------------
66

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

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

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

80
Advanced Topics
81
---------------
82

83
- [Asset Management](assets.md)
84
- [Working with forms](form.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)
93 94

References
95
----------
96 97

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