Alexander Makarov from Yii core team wrote another issue of development notes.
May 29, 2017
Alexander Makarov from Yii core team wrote another issue of development notes.
May 28, 2017
New article at tuts+ is about using apidoc to generate documentation from markdown and transforming it into PDFs.
May 15, 2017
Hacking together votes, comments and social sharing using Yii extensions.
May 12, 2017
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
At plusarchive.com npm(Yarn) and webpack 2.x are used instead of composer-asset-plugin and yii\web\AssetManager
. The project was recently opensourced and could serve as an example.
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\Mailer::$messageConfig
.yii\swiftmailer\Message
did not clone the underlying $swiftMessage
instance 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:
ActiveQuery
methods (ActiveRecord::find()
)ActiveRecord
methods with conditionActiveQuery
ActiveRecord::relations
methodBesides 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.
Support for Url::to()
and Model::rules()
methods is in development and is scheduled for the next release.