Programming With Yii2: Automated Testing With Codeception

New episode of "Programming With Yii2" series explains how to test your Yii application using Codeception.

A new Yii 2.0 book is released

Yii 2 Application Development Cookbook - Third Edition was just released by PACKT publishing.

The book is based on the Alexander Makarov (@samdark) book about Yii 1.1. All the old recipes were refined for Yii 2.0. New ones were added as well.

Authors are Andrew Bogdanov from 2amigos and Dmitry Eliseev who's well known in Russian Yii community for his webinars and tutorials.

Programming With Yii2: Using Ajax

This article by Jeff Reifman provides some examples of various asyncrnonous UI elements implemented with JavaScript and Yii at the server side.

Programming With Yii2: Security

Jeff Reifman "Programming With Yii2" series continues with a post giving a good overview of Yii's security solutions.

Whatacart: e-commerce solution built on Yii 2.0

Whatacart is an Open Source Shopping Cart Software built with Yii 2.0. It has a good set of features on both backend and frontend which would make it readymade solution to develop an online store with speed. In case you want to customize it, it's fast for both developers and designers to do.

Yii 2.0 OAuth2 server and RBAC extension

This extension implements OAuth2 server. It is a wrapper around Brent Shaffer's OAuth2 Library.

Currently only Redis could be used as backend. More backends are planned later.

Out of the box extension provides:

  • Classic OAuth2 endpoints
  • Login and authorization pages which could be overriden

Code coverage is about 70% now and will be improved in upcoming releases.

Imagine extension version 2.1.0 released

Yii team released Imagine extension version 2.1.0. This release uses 0.6.x versions of imagine library and may break backwards compatibility if you are working with color. Additionally there are two important additions:

  • New autorotate() method which rotates images based on EXIF metadata.
  • You may pass resources or ImageInterface instances to methods now.

Uploading files

A complete recipe showing a real case of handling file uploads within Yii 2.0.

On dependencies

A draft of article about dependencies: which are good ones, which are bad ones. Why bad ones are bad. Why dependency container.

SOLID. A simple overview

A draft of simple overview of SOLID set of principles.