Articles in category "tutorials"X
Displaying 11-20 of 251 result(s).

Export query content to excel through any of your controllers, also can set cssClass for header/odd/even rows, auto download

Created about a year ago by Scott_HuangTutorials1 comment – viewed 8,528 times – ( +2 ) – version 2.0
I have generate one extension base below wiki. You can easily download and use it directly instead of digest below article.

YII2 : simple language Switcher Widget

Created about a year ago by phunsanitTutorials0 comments – viewed 9,272 times – ( +1 ) – version 2.0
ภาษาไทย YII 2 Widget เปลี่ยนภาษา

Simple way to implement Dynamic Tabular Inputs

Created about a year ago by ezekielnoobTutorials5 comments – viewed 14,071 times – ( +4 ) – version all

Active Record snapshotting (Model data base history)

Created about a year ago by BizleyTutorials3 comments – viewed 5,538 times – ( +2 ) – version 1.1
One of the common tasks the web application might be required to perform, especially the app using some kind of a CMS, is to save the history of data changes. Your client for sure will want the answer to this simple question - If I mess this up or delete by accident can we bring it back? Well, DB backup is one thing and quick recovery is another - let's talk about latter one.

Running applications with Docker

Created about a year ago by schmunkTutorials1 comment – viewed 14,882 times – ( +7 ) – version 2.0
When building PHP web applications you usually have to take care about defining and providing a consistent development and production environment for your team. This includes your application packages, PHP-extensions, database servers and often further components such as a mail server or workers.

Drills : Search by a HAS_MANY relation in Yii 2.0

Created about a year ago by softarkTutorials4 comments – viewed 37,138 times – ( +19 ) – version 2.0
This article tries to describe the practical techniques of searching by a HAS_MANY relation using ActiveRecord of Yii 2.0.

Gettext and Poedit HOWTO

Created about a year ago by Maug LeeTutorials0 comments – viewed 5,175 times – version 1.1
Example settings when using Gettext for i18n.

RBAC Super Simple with Admin and User

Created about a year ago by evercodeTutorials10 comments – viewed 47,920 times – ( +16 / -3 ) – version 2.0
One of the common requests I see in the forum is how to implement RBAC. While you can implement Yii 2's built-in RBAC, that might be too much for developers who are just starting with Yii 2 or have simpler needs. Sometimes you are looking for a fast solution and just want two flavors, user and admin. And even if you will eventually need more, you can use these methods as a starting point for developing your own features or move on to Yii 2's RBAC.

Simple Way to Upload and Save File

Created 2 years ago by Misbahul D MunirTutorials0 comments – viewed 15,117 times – ( -2 ) – version 2.0
This tutorial need extension mdmsoft/yii2-upload-file. Follow the intruction to install. After installation done, create controller and action

How to use imagine ( crop, thumb, effects for images ) on Yii2

Created 2 years ago by Anas AbuDayahTutorials1 comment – viewed 33,564 times – ( +8 ) – version 2.0
Imagine adds most common image functions and also acts as a wrapper to Imagine image manipulation library.