Yii2 framework backup
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

3.4 KiB

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 manipulatings records and defining relations
  • Database Migration - Versioning your database with database migrations

Developers Toolbox

Extensions and 3rd party libraries

Security and access control

Data providers, lists and grids

  • Overview
  • Data providers
  • Grids
  • Lists

Advanced Topics

References