Title: Yii Framework
1 Yii Framework
Yii Framework Version 2.0.6 Released
2Yii 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
3Yii 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.
4Some 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- 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
6There 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- 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- 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
11Resources
http//www.yiiframework.com/news/88/yii-2-0-6-is-
released/ http//probytes.net/services/yii-develo
pment/
12(No Transcript)