Welcome

to

Yii Training

Prepared by

Shamsher Ansari

Day 1

  1. MVC architecture
    • What is MVC architecture?
    • How it works.
    • Need for framework.
  2. Introduction to Yii framework
    • What is Yii
    • Installation of Yii
    • Folder structure and files in Yii
  3. Sample Application
    • Sample Application Development.

Day 2

  1. Fundamentals
    • Entry script
    • Application
    • components
    • module
    • Conventions
  2. Code Generations
    • GII tool
    • creating actions
    • creating access rules
    • creating models
    • creating views
    • creating forms

Day 3

  1. Working with database
    • DB connectivity
    • Active record
    • Query builder
    • Relational active record

Day 4

  1. Theming and extensions
    • Applying the theme
    • Custom themes
    • Extensions
  2. Error handling and testing
    • Error handling
    • Testing

Performance

RPS (Requests Per Second)

PHP Framework Usage Statistics

What is Yii

  • Yii is Fast, Secure and Professional PHP Framework
  • Acroynym for, "Yes It Is!".
  • Founder Qiang Xue, who started the Yii project on January 1, 2008
  • On December 3, 2008, Yii 1.0 was formally released to the public.
  • DRY design.

Yii Features

  • MVC
  • DAO, Query Builder, Active Record, DB Migration
  • Form input and validation
  • Authentication and authorization
  • Skinning and theming
  • Internationalization (I18N)
  • Error handling and logging
  • Automatic code generation
  • Extension library

Workflow

http://www.example.com/index.php?r=post/show&id=1

Lets do some practical experiment

Questions ?

Ask Google

"No one knows better then Google"

THANK YOU

Shamsher Ansari