News

Jun 2, 2017

samdark

Moving constants into dictionaries

How to refactor constants further to both improve both syntax and make project structured better.

May 29, 2017

samdark

Yii development notes #8

Alexander Makarov from Yii core team wrote another issue of development notes.

May 28, 2017

samdark

Programming With Yii: Generating Documentation

New article at tuts+ is about using apidoc to generate documentation from markdown and transforming it into PDFs.

May 15, 2017

samdark

Programming With Yii2: Building Community With Voting, Comments, and Sharing

Hacking together votes, comments and social sharing using Yii extensions.

May 12, 2017

samdark

Yii development notes 7

7th issue of Yii development notes by Alexander Makarov from core team is out.

May 8, 2017

samdark

Building Your Startup With PHP series continues

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

jamband

Yii and webpack in a real project

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

Saquib Rizwan

Create A Cross-Platform REST API In Yii2

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

samdark

Queue for Yii 2

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

samdark

SwiftMailer extension 2.0.7 released

Yii team released SwiftMailer extension version 2.0.7. Changes are the following:

  • Ability to setup several message headers in batch, including configuration at yii\swiftmailer\Mailer::$messageConfig.
  • Better logging support, by choosing logging level (info, trace, warning) according to swiftmailer log format.
  • Fixed bug: yii\swiftmailer\Message did not clone the underlying $swiftMessage instance during its own cloning.