Wiki

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

Simple way to implement Dynamic Tabular Inputs

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

Active Record snapshotting (Model data base history)

Created about a year ago by BizleyTutorials3 comments – viewed 4,796 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 12,416 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 softarkTutorials3 comments – viewed 30,323 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 4,540 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 42,571 times – ( +15 / -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 about a year ago by Misbahul D MunirTutorials0 comments – viewed 13,691 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 about a year ago by Anas AbuDayahTutorials1 comment – viewed 26,598 times – ( +7 ) – version 2.0
Imagine adds most common image functions and also acts as a wrapper to Imagine image manipulation library.

How to display images in CJuiAutoComplete without extenstions

Created about a year ago by AsmaaTutorials0 comments – viewed 4,435 times – version all
I wanted to customize the CJuiAutoComplete, so that it displays a thumb image before the label like the one shown in the following image:

Building a REST API in Yii2.0

Created about a year ago by sirin kTutorials6 comments – viewed 76,779 times – ( +9 ) – version 2.0
This is wiki page is useful if you are trying to build a customized REST API in Yii2.0
tags: yii2.0, REST API