Wiki

Articles in category "tutorials", sorted by date (updated)X
Displaying 1-10 of 247 result(s).

Relational Query - Lazy Loadnig and Eager Loading in Yii 2.0

Updated 8 days ago by softarkTutorials0 comments – viewed 2,523 times – ( +1 ) – version 2.0
It's well known that there are Lazy Loading approach and Eager Loading approach in the relational query. But it's very important to know how the Eager Loading approach works in Yii 2, since it has changed drastically from that of Yii 1.1 and there are common misunderstandings about it in the community.

How to use Listbox and CheckboxList

Updated 11 days ago by softarkTutorials0 comments – viewed 1,354 times – ( +1 ) – version 2.0
Assume we want to create a page that gathers a user's favorite foods.

Language Selector

Updated 17 days ago by Programmer ThailandTutorials0 comments – viewed 1,590 times – version 2.0
common\components\LanguageSelector.php
tags: i18n, language, select

Handling tabular data loading and validation in Yii 2

Updated 18 days ago by Said BakrTutorials5 comments – viewed 22,147 times – ( +42 / -6 ) – version 2.0
How do you read and handle tabular data submission via form in Yii framework 2.0? Sometimes we want to collect user input in a batch mode. That is, the user can enter the information for multiple model instances and submit them all at once. We call this tabular input because the input fields are often presented in an HTML table.

Relational Query - Lazy Loading and Eager Loading in Yii 1.1 / with and together

Updated 29 days ago by softarkTutorials11 comments – viewed 30,198 times – ( +15 ) – version 1.1
It's well known that there are Lazy Loading approach and Eager Loading approach in the relational query. But it's important to note that you should distinguish 2 different modes in the Eager Loading in Yii 1.1.x.

Drills : Search by a HAS_MANY relation in Yii 2.0

Updated 29 days ago by softarkTutorials3 comments – viewed 19,695 times – ( +13 ) – version 2.0
This article tries to describe the practical techniques of searching by a HAS_MANY relation using ActiveRecord of Yii 2.0.

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

Updated about a month ago by CozumelTutorials0 comments – viewed 18,733 times – ( +7 ) – version 2.0
Imagine adds most common image functions and also acts as a wrapper to Imagine image manipulation library.

A simple widget - jump2link

Updated about a month ago by Scott_HuangTutorials0 comments – viewed 3,578 times – version 2.0
Jump 2 Link

Simple Jui Autocomplete in yii2

Updated 2 months ago by ajithTutorials3 comments – viewed 4,560 times – ( -1 ) – version 2.0
In this tutorial i will explain how to use jui auto complete in yii2. The Autocomplete widget enables users to quickly find and select from a pre-populated list of values as they type, leveraging searching and filtering.

YII2: Create console commands inside a module or extension

Updated 3 months ago by OldMehdiTutorials1 comment – viewed 8,055 times – ( +3 ) – version 2.0
Here is a small guide how to get console commands running inside modules & extensions. For this guide I used a fresh yii2 basic application template.
tags: yii2, tutorial, config