Wiki

Articles in category "tutorials"X
Displaying 1-10 of 254 result(s).

Working with relational removals by yii2

Created 9 months ago by AndroideLPTutorials2 comments – viewed 8,820 times – ( +1 / -1 ) – version 2.0
This tutorial shows you how to safely remove records between relationships.

Optimize Scenarios for yii2

Created 10 months ago by AndroideLPTutorials0 comments – viewed 8,445 times – ( +1 / -1 ) – version 2.0
Working with scenarios, with models that can receive many modifications in their rules or structures as development evolves, can create disruptions in the rescue process.

Yii2 GridView Sorting and Searching with a Junction Table Column(Many to Many Relationship)

Created 10 months ago by Amjad KhanTutorials3 comments – viewed 16,678 times – ( +4 / -1 ) – version 2.0
Following is the table structure

How to make bootstrap tabs remain active/selected after navigating to different web pages.

Created 11 months ago by emraldTutorials4 comments – viewed 4,937 times – ( -1 ) – version 2.0
Bootstrap tabs gets unselected/inactive when user navigates to other page and comes back. How to make bootstrap tabs remain active/selected after navigating to different web pages.

Installation guide: Yii-2 advanced template with RBAC system

Created about a year ago by Sherin JoseTutorials3 comments – viewed 38,435 times – ( +13 / -3 ) – version 2.0
Welcome, all of you !
tags: install, yii2, rbac

Background task with Ajax

Created about a year ago by Alexandre RodichevskiTutorials0 comments – viewed 12,495 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

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

How to create/update a model with its related items using Listbox or CheckboxList

Created about a year ago by softarkTutorials1 comment – viewed 13,900 times – ( +4 / -1 ) – version 2.0
Assume we have many categories and many posts.

Language Selector

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

Relational Query - Lazy Loadnig and Eager Loading in Yii 2.0

Created about a year ago by softarkTutorials0 comments – viewed 14,814 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.