Skip to content

Latest commit

 

History

History
98 lines (72 loc) · 3.46 KB

index.md

File metadata and controls

98 lines (72 loc) · 3.46 KB

The Definitive Guide to Yii 2.0

This tutorial is released under the Terms of Yii Documentation.

All Rights Reserved.

2014 (c) Yii Software LLC.

Introduction

  • Overview - What is Yii and what is it good for?

Getting started

Base concepts

  • Basic concepts of Yii - The Object and Component class, Path aliases and autoloading
  • MVC - Implementation of MVC in Yii and a typical MVC application flow
    • Model - The Yii Model provides Attributes, Scenarios and data Validation
    • View - Rendering Views applying layouts, using Widgets and asset management
    • Controller - controller actions, routing and action filters
  • Event Handling - The Yii event handling mechanism
  • Behaviors

Database

  • Basics - Connecting to a database, basic queries, transactions and schema manipulation
  • Query Builder - Querying the database using a simple abstraction layer
  • ActiveRecord - The active record ORM, retrieving and manipulating records and defining relations
  • Database Migration - Versioning your database with database migration

Developers Toolbox

Extensions and 3rd party libraries

Security and access control

Data providers, lists and grids

  • Overview
  • Data providers
  • Grids
  • Lists

Advanced Topics

References