Yii 1.1.6 is released
#1
Posted 16 January 2011 - 06:44 PM

POPULAR
http://www.yiiframework.com/download/
This release includes more than 50 feature enhancements and bug fixes. Some exciting new features include:
* Added a SQL query builder
* Implemented database migration support
* Enhanced support for using plural forms, and upgraded CLDR i18n data to version 1.9
* Improved exception display in Web mode and error display in console mode
* Added support for using anonymous parameters and global options in console commands
* Added support for using X-Sendfile to send files
For the complete list of changes in this release, please see:
http://www.yiiframew...GELOG-1.1.6.txt
http://www.yiiframew...c/guide/changes
If you plan to upgrade from an older version to 1.1.6, refer to the following upgrade instructions :
http://www.yiiframew...GRADE-1.1.6.txt
Thank you for your support!
The Yii Developer Team
#2
Posted 16 January 2011 - 07:43 PM

POPULAR
SQL query builder
Allows not to use AR and still have a nice code:
$user = Yii::app()->db->createCommand()
->select('username, password')
->from('tbl_user')
->where('id=:id', array(':id'=>1))
->queryRow();Details
Database migration support
Migrations will allow you to keep your database schema up to date when working in a team. Migration tool works via command line and also can be integrated with SVN hooks to deploy DB changes automatically.
Details
Enhanced support for using plural forms
This one is about additions to Yii::t that will make creating international applications easier:
Yii::t('test', '{username} has a cucumber|{username} has {n} cucumbers',
array(5, '{username}' => 'samdark'));
will give you:
samdark has 5 cucumbers
Details
Improved exception display in Web mode and error display in console mode
Main web mode enhancements are displaying method call parameters and code blocks for each trace step. Also it looks a lot better. You should really check it.
Support for using anonymous parameters and global options in console commands
Now you can create console commands to accept anonymous position-based parameters.
Details
Support for using X-Sendfile to send files
This one is to send files to a browser efficiently.
A guide on MVC
A very nice guide on MVC principles added. It will help developers to understand Yii way of doing things:
http://www.yiiframew....best-practices
#5
Posted 16 January 2011 - 08:26 PM
If it is alright, I would also like to request examples in the documentation for different possible situations, that way, entry level would be lower and adapting would be a bit faster.
#6
Posted 16 January 2011 - 09:00 PM
#8
Posted 17 January 2011 - 04:43 AM
#10
Posted 17 January 2011 - 07:57 AM
As more perfect becomes this framework, more grows my love for it!!!
The problem is communication! Excess of communication!
#11
Posted 17 January 2011 - 08:35 AM
Good job!
--iM
The maker rests. The wheel’s in motion.
-- Imre Madách
check out Yii Themes at http://yiithemes.mehesz.net
#12
Posted 17 January 2011 - 09:51 AM
PoL, on 17 January 2011 - 07:57 AM, said:
As more perfect becomes this framework, more grows my love for it!!!
True! I'd also suggest to create a more solid UI layer and it will be
best of the best
UI layer in 1.2... Does anyone know anything about it?
#13
Posted 17 January 2011 - 11:28 AM
#16
Posted 18 January 2011 - 05:27 AM
#17
Posted 18 January 2011 - 06:44 AM
I didn't see the migration feature coming - really nice!
#18
Posted 18 January 2011 - 07:18 AM
www.ramirezcobos.com
#19
Posted 18 January 2011 - 09:41 AM
Sr. Developer at Envisage International
D.H. Luther - Web Design & Development
Dana's Yii Blog
Extensions:
ChildrenRequiredValidator | ESitemap | EStrongPassword | ES3
#20
Posted 18 January 2011 - 10:09 AM

Help

















