Known as one of a most popular PHP frameworks, the Yii framework, has helped developers throughout the past few years to build complex applications and deliver them on time. Yii framework has a huge community backing that comes up with regular updates and fixes that offer developers numerous options to explore during their development tasks. The latest update of the Yii framework, 2.0.8 has features that have stirred the interest of many Yii framework development companies and developers. Let discuss the important ones.

Active Record & Databases Updates

GridView columns with filter operators are considered as the popular functionality of the Yii 1.1 version of the framework. The latest version has brought this functionality back. Apart from this update, a new event has been added to the Active Record class and can now trigger an EVENT_AFTER_REFRESH, every time after a record has been refreshed.

Fixes With Regard To PHP Compatibility

The latest Yii 2.0.8 framework has fixed a couple of PHP7 compatibility issues. One is for the overall error handler and the other is for error handling with regards to JSON.  The inclusion of PHP7 into Ubuntu LTS, have made it extremely popular among many Yii framework development services.

Forms and Validation Updates

The new version of the Yii framework has automated the process of setting the necessary enctype for the forms, while implementing the file uploads. You can now include a field for validation and mark it unsafe for mass assignment, just by adding an exclamation mark before the attribute name. This can be done when specifying validation rules. The latest version has also enabled the File Validator to specify mime Types using wildcards. The Date Validator has been updated to be completely compatible for validating time values without any limitations.

Schema and Migrations Enhancements

Various database schema builder enhancements have been incorporated into the latest Yii 2.0.8 version of the framework. This will ensure Yii framework developers to use them while describing migrations or when they want to modify the schema for multiple purposes.

Updates with regard to Security

Before discussing these updates, one has to keep in mind that the older version did not have any security concerns and these updates are further enhancements only. 

The new version has 
  • A better RNG performance
  • Avoids reading more bytes than needed
  • More test coverage, making sure it works perfectly in different environments

The other significant features of the Yii 2.0.8 Framework
  • he advanced application has new configuration that allows you to install vagrant. It helps in the creation of a separate dev environment.
  • Dependencies can be automatically injected for closures during configuration.
  • As an addition to existing command line options, the new version has enabled console controllers to accept short aliases for most options.
  • If you are using Mutex, you have an extra option for handle locking, since the new version has added a  driver for PostgreSQL

Final Words

Apart from being one of the most modern and popular PHP frameworks, the Yii has the remarkable ability to ease the complexity during the development process. This is the reason, why developers favor the Yii framework as the end product will be efficient and easy to maintain. Go ahead and hire a Yii developer for your next web project and witness optimal results in a short span of time.