Wiki articles in category Tutorials

Showing 41-44 of 44 items.

Relational Query - Lazy Loading and Eager Loading in Yii 2.0

Created 9 years ago by softark, updated 6 years ago by samdark.

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.

11 0
6 followers
Viewed: 61 260 times
Version: 2.0
Category: Tutorials

JWT authentication tutorial

Created 4 years ago by Allan Jensen, updated 3 years ago by 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.

13 0
8 followers
Viewed: 171 345 times
Version: 2.0
Category: Tutorials

Drills : Search by a HAS_MANY relation in Yii 2.0

Created 10 years ago by softark, updated 6 years ago by softark.

This article tries to describe the practical techniques of searching by a HAS_MANY relation using ActiveRecord of Yii 2.0.

13 0
14 followers
Viewed: 108 867 times
Version: 2.0
Category: Tutorials

How to learn Yii?!

Created 13 years ago by yJeroen, updated 5 years ago by CeBe.

Here is a step by step To-Do list for Yii beginners. The list is an advice of what tutorials and documentation you can walk through to get a full understanding of the Yii Framework. These can be a help to learn Yii.

17 0
21 followers
Viewed: 123 516 times
Version: all
Category: Tutorials