7th issue of Yii development notes by Alexander Makarov from core team is out.
May 8, 2017
YiiFeed missed a few articles in "Building Your Startup With PHP" series at tuts+. The series continues. So far the following articles were published:
May 5, 2017
When you are working on the cross-platform application, REST API’s become essential requirements of the process. This is why the Internet is full of third party API’s that provide a wide range of functionality and usability. Yii is a major PHP framework for rapid web development with a well-defined MVC architecture. In order to create a cross-platform Yii2 application, you need to create a REST API in Yii2.
In this article, I will develop a REST API in Yii 2 framework. The process covers:
Installation of Yii 2 framework on Cloudways Database and table(s) creation Database model using Gii Controller creation using Gii HTTP Calls (GET, PUT, POST, DELETE)
May 4, 2017
zhuravljov/yii2-queue extension for async queues version 1.0.0 was released.
First stable release is a result of 180 commits and a year of development. The development was supervised by core team suggesting improvements and ideas based on many iterations of yii2-queue. Thus, quality of the extension is high and in the future it may become official one for Yii.
May 2, 2017
Yii team released SwiftMailer extension version 2.0.7. Changes are the following:
yii\swiftmailer\Messagedid not clone the underlying
$swiftMessageinstance during its own cloning.
Apr 27, 2017
yii2support plugin got new release. This time we focused on working with database. Connection to database is required to get all the benefits such as autocompleting table and column names in the following cases:
ActiveRecordmethods with condition
Besides the above, the plugin provides extra help for parametrized queries by generating parameters array and checking if it is consistent with condition.
Last but not least, the plugin checks if
@property tags conform to database structure and completes tags in case some properties are missing.
Model::rules() methods is in development and is scheduled for the next release.
Apr 18, 2017
Jeff Reifman at tuts+ on Yii error handler: using it and customizing it.