Wiki

Articles in category "tutorials", sorted by date (updated)X
Displaying 11-20 of 255 result(s).

YII2: Create console commands inside a module or extension

Updated about a year ago by MetaCrawlerTutorials5 comments – viewed 22,670 times – ( +4 / -1 ) – 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

CJuiDialog to create new model

Updated about a year ago by Maurizio Domba CerinTutorials54 comments – viewed 98,610 times – ( +69 / -1 ) – version 1.1
In this tutorial we will learn how to realize a create interface using a dialog.

By Example: CHtml

Updated about a year ago by gliciousTutorials15 comments – viewed 854,834 times – ( +117 / -2 ) – version 1.1
"By Example" cookbook pages will provide coding examples for many of the commonly used classes within Yii. We will try to provide as many usage examples as possible for keep these pages as helpful as possible.

Relational Query - Lazy Loadnig and Eager Loading in Yii 2.0

Updated about a year ago by softarkTutorials0 comments – viewed 15,582 times – ( +6 / -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. It has changed drastically from that of Yii 1.1, and there are common misunderstandings about it in the community.

Background task with Ajax

Updated about a year ago by Alexandre RodichevskiTutorials0 comments – viewed 12,806 times – ( -1 ) – version 1.1
Web applications normally execute almost immediately the user's requests. But some requests, like statistical reports, take long time to execute.

CMenu widget like bootstrap navbar with submenu

Updated about a year ago by kv4ntTutorials0 comments – viewed 10,843 times – ( -1 ) – version 1.1

Language Selector

Updated about a year ago by Programmer ThailandTutorials1 comment – viewed 6,834 times – ( +1 / -1 ) – version 2.0
common\components\LanguageSelector.php
tags: i18n, language, select

Handling tabular data loading and validation in Yii 2

Updated about a year ago by Said BakrTutorials7 comments – viewed 39,788 times – ( +44 / -7 ) – 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 about a year ago by softarkTutorials11 comments – viewed 40,689 times – ( +17 / -1 ) – 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 about a year ago by softarkTutorials4 comments – viewed 53,154 times – ( +19 / -1 ) – version 2.0
This article tries to describe the practical techniques of searching by a HAS_MANY relation using ActiveRecord of Yii 2.0.