Wiki articles in category Tutorials

Showing 1-20 of 267 items.

Building Modern SPAs with Yii2 and Inertia.js

Created a month ago by Akshay Joshi Akshay Joshi.

Inertia.js is a modern approach to building single-page applications (SPAs) without the complexity of building an API. It allows you to use modern JavaScript frameworks like React, Vue, or Svelte while keeping your Yii2 controllers and routing intact.

2 0
1 follower
Viewed: 7 124 times
Version: 2.0
Category: Tutorials
Tags:

Yii3 - How to start

Created 3 months ago by rackycz rackycz, updated 2 months ago by rackycz rackycz.

(draft - all will be retested later)

2 0
5 followers
Viewed: 42 298 times
Version: 3.0
Category: Tutorials
Tags:

Use Single Login Session on All Your Yii2 Application/Repository Under Same Domain/Sub Domain

Created a year ago by aayushmhu aayushmhu, updated a year ago by aayushmhu aayushmhu.

There are multiple blog that shows how to use seperate login for yii2 application but in this article i will show you how to use a single login screen for all your YII2 Advanced, YII2 Basic, Application, It will also work when your domain on diffrent server or the same server.

3 0
1 follower
Viewed: 34 889 times
Version: 2.0
Category: Tutorials

Create Bootstrap5 based Image carousel with thumbnails

Created 2 years ago by pravi pravi, updated 2 years ago by pravi pravi.

Use the following css styles for carousel to work as expected.

3 0
1 follower
Viewed: 131 256 times
Version: 2.0
Category: Tutorials

JWT authentication tutorial

Created 4 years ago by Allan Jensen Allan Jensen, updated 4 years ago by Allan Jensen Allan Jensen.

JWT is short for JSON Web Token. It is used eg. instead of sessions to maintain a login in a browser that is talking to an API - since browser sessions are vulnerable to CSRF security issues. JWT is also less complicated than setting up an OAuth authentication mechanism.

14 0
8 followers
Viewed: 178 896 times
Version: 2.0
Category: Tutorials

Yii v2 snippet guide III

Created 4 years ago by rackycz rackycz, updated 5 months ago by rackycz rackycz.

Articles are separated into more files as there is the max lenght for each file on wiki.

8 0
4 followers
Viewed: 238 109 times
Version: 2.0
Category: Tutorials

Api of Multiple File Uploading in Yii2

Created 5 years ago by fezzymalek fezzymalek, updated 3 years ago by fezzymalek fezzymalek.

After getting lot's of error and don't know how to perform multiple images api in yii2 finally I get it today

5 0
4 followers
Viewed: 72 079 times
Version: 2.0
Category: Tutorials
4 0
3 followers
Viewed: 109 374 times
Version: 2.0
Category: Tutorials
7 0
4 followers
Viewed: 369 067 times
Version: 2.0
Category: Tutorials

Nested Set with Yii2

Created 6 years ago by sangprabo sangprabo, updated 6 years ago by sangprabo sangprabo.

The nested set behaviour is an approach to store hierarchical data in relational databases. For example, if we have many categories for our product or items. One category can be a "parent" for other categories, means that one category consists of more than one category. The model can be drawn using a "tree" model. There are other approaches available but what we will learn in this article is speci...

7 0
3 followers
Viewed: 93 328 times
Version: 2.0
Category: Tutorials

(draft) Understanding Yii 3

Created 7 years ago by Mehdi Achour Mehdi Achour, updated 3 years ago by samdark samdark.

This document is intended for an audience already familiar with Yii2. It's meant to bring together all information related to Yii 3 in one place to make it easier to get on track.

40 0
17 followers
Viewed: 219 035 times
Version: 3.0
Category: Tutorials
Tags: yii3

Batch Gridview data ajax send splitted in chunks displaying bootstrap Progress bar

Created 7 years ago by toaster toaster, updated 7 years ago by toaster toaster.

The scenario in which this wiki can be useful is when you have to send an (huge) array of model ids and perform a time consuming computation with it like linking every model to other models. The idea is to split the array into smaller arrays and perform sequential ajax requests, showing the calculation progress using a [Bootstrap Progress bar](https://www.yiiframework.com/extension/yiisoft/yii2-bo...

8 0
2 followers
Viewed: 38 399 times
Version: 2.0
Category: Tutorials

Yii2 RESTful API with OAuth 2.0

Created 8 years ago by sirin k sirin k, updated 7 years ago by sirin k sirin k.

https://cdn.pbrd.co/images/GMN5ROs.jpg

3 0
3 followers
Viewed: 74 903 times
Version: 2.0
Category: Tutorials

Working with relational removals by yii2

Created 9 years ago by AndroideLP AndroideLP, updated 8 years ago by Jairus Martin Jairus Martin.

This tutorial shows you how to safely remove records between relationships.

0 0
2 followers
Viewed: 39 716 times
Version: 2.0
Category: Tutorials

Optimize Scenarios for yii2

Created 9 years ago by AndroideLP AndroideLP, updated 6 years ago by AndroideLP AndroideLP.

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.

4 0
2 followers
Viewed: 47 705 times
Version: 2.0
Category: Tutorials

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

Created 9 years ago by Amjad Khan Amjad Khan, updated 9 years ago by Amjad Khan Amjad Khan.

Following is the table structure

tblgroups

CREATE TABLE IF NOT EXISTS `tblgroups` (
  `id` int(11) NOT NULL,
  `groupname` varchar(150) NOT NULL,
  `status` tinyint(1) NOT NULL DEFAULT '1' COMMENT '1=Acitve,2=Inactive',
  `date` datetime NOT NULL
) ENGINE=MyISAM DEFAULT CHARSET=latin1;

tblcontacts

4 1
7 followers
Viewed: 95 539 times
Version: 2.0
Category: Tutorials

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

Created 9 years ago by emrald emrald, updated 9 years ago by emrald emrald.

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.

1 0
3 followers
Viewed: 23 708 times
Version: 2.0
Category: Tutorials

Installation guide: Yii-2 advanced template with RBAC system

Created 9 years ago by Sherin Jose Sherin Jose, updated 9 years ago by Sherin Jose Sherin Jose.

Welcome, all of you !

10 1
19 followers
Viewed: 127 552 times
Version: 2.0
Category: Tutorials
Tags: install, rbac, yii2

Background task with Ajax

Created 9 years ago by Alexandre Rodichevski Alexandre Rodichevski, updated 9 years ago by Alexandre Rodichevski Alexandre Rodichevski.

This article discusses how one can run a long task in background in yiiframework 1.1 using Ajax technique.

0 0
1 follower
Viewed: 28 886 times
Version: 1.1
Category: Tutorials

CMenu widget like bootstrap navbar with submenu

Created 9 years ago by kv4nt kv4nt, updated 9 years ago by kv4nt kv4nt.
0 0
1 follower
Viewed: 25 332 times
Version: 1.1
Category: Tutorials