Yii Framework - PowerPoint PPT Presentation

About This Presentation
Title:

Yii Framework

Description:

YII Framework Version 2.0.6 Released.In this version of Yii Development,there are many fixes and improvements that should make error reporting and displaying errors even more reliable and useful.More about Yii Development @ – PowerPoint PPT presentation

Number of Views:640
Slides: 13
Provided by: jananya213

less

Transcript and Presenter's Notes

Title: Yii Framework


1
Yii Framework
Yii Framework Version 2.0.6 Released
2
Yii Development
  • Yes It Is !
  • Open source component based framework
  • fast, secure, high performance PHP framework ,
  • Yii is simply a fine tool.

Features
-- caching -- MVC, -- DAO I18N or L10N
(internationalization and localization),
-- Scaffolding authentication, --
Testing and a lot more
3
Yii Framework Version 2.0.6 Released
The most important features added in this
powerful version 2.0.6 Version 2.0.6 is a
patch release of Yii 2.0 which contains over 70
minor new features and bug fixes as well as
numerous improvements to documentation and great
progress on guide translations.
4
Some of Most Important Features Included in this
Version
  • Better Migrations Syntax
  • Error Handling
  • More Control Over Activeform Using Javascript
  • Yii Message Command Improvements
  • Assets
  • Extra Session Fields

5
  • Better Migrations Syntax
  • Migrations are a convenient way to alter your
    database schema over time in a consistent and
    easy way.
  • Planning schema builder for 2.1 at first however
    pana1990 and vaseninm made a move and now we've
    showed signs of improvement migrations syntax

6
  • Error Handling

There are many fixes and improvements that should
make error handling even more reliable and
useful
  • Yii is now able to properly handle HHVM fatal
    errors.
  • A warning is now written to logs in case
    FileCache fails to write into a file.
  • yii\web\ErrorAction displays 404 error instead of
    blank page on direct access.
  • Jsonencode() and Jsondecode() are handling
    errors better throwing meaningful exceptions.
  • ErrorHandlerlogException() now logs the whole
    exception object instead of only its string
    representation. This can be used in custom log
    targets to provide more detailed error
    information.

7
  • More Control Over Activeform Using Javascript
  • With this new YII Framework Version 2.0.6 there
    is more control over ActiveForm using JavaScript.
  • Update error messages of certain fields

Exapmle // add error ('contact-form').yiiAct
iveForm('updateAttribute', 'contactform-subject',
"I have an error...") // remove
error ('contact-form').yiiActiveForm('updateAtt
ribute', 'contactform-subject', '')
8
  • Yii Message Command Improvements
  • In this version of YII Framework Message
    extraction command is now supports .pot file
    creation.
  • And also supports nested Yiit()
  • Always sorting created messages.
  • Also a new config option called markUnused that
    allows configuring behaviour of adding _at__at_ to
    unused messages.

9
  • Assets
  • Possible to fine-tune what's published and what's
    not.
  • Now customize the way directory name hashes (the
    ones in web/assets directory) are generated.
  • It could be done right from application config

10
  • Extra Session Fields
  • In this version of YII Framework easily store
    extra data in session storage.
  • Currently it's supported in yii\web\DbSession but
    could be possibly extended to more storages in
    future. In order to configure it, modify the
    session component in your application config

11
Resources
http//www.yiiframework.com/news/88/yii-2-0-6-is-
released/ http//probytes.net/services/yii-develo
pment/
12
(No Transcript)
Write a Comment
User Comments (0)
About PowerShow.com