Wiki articles

Showing 141-147 of 147 items.

How to learn Yii?!

Created 8 years ago by yJeroen, updated 4 months 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: 103 013 times
Version: all
Category: Tutorials

Upload files in Yii2 with MongoDb and GridFs

Created 6 years ago by edoardo849, updated 3 months ago by pceuropa.

Uploading files in a webapp can be extremely tricky and sometimes the quickest way to do it is to store the file directly in the webserver or into a DNS (like Amazon S3) and then to save the link and the metadata inside a table in the DB. The thing is that you'll have to deal with file permissions, server storage, file management and so on (which is perfectly fine, by the way).

6 0
6 followers
Viewed: 25 021 times
Version: 2.0
Category: How-tos

Yii2 - Upgrading to Bootstrap 4

Created 3 months ago by Richard Pillay, updated 2 months ago by Richard Pillay.

Yii2 - Converting from Bootstrap3 to Bootstrap4

7 0
5 followers
Viewed: 10 865 times
Version: 2.0
Category: How-tos

UUID instead of an auto-increment integer for ID with Active Record

Created 6 months ago by grigori, updated a month ago by samdark.

I have an API. It's built with a RESTful extension over Active Record, and some endpoints provide PUT methods to upload files. By a REST design we create an entity with POST /video first, and then upload a video file with PUT /video/{id}/data.

4 0
3 followers
Viewed: 11 134 times
Version: 2.0
Category: How-tos

Yii v2 snippet guide

Created 8 months ago by rackycz, updated 19 days ago by rackycz.

Please note, that this article will be updated regularly as I have more and more snippets so come back in a few weeks

3 0
3 followers
Viewed: 37 965 times
Version: 2.0
Category: Tutorials

How to login from different tables in Yii2

Created 2 years ago by AndroideLP, updated 19 days ago by lenovo.

The Problem: Yii2 utilizes by default UserIdentity configured in config/web.php for connection, this object apply one table to authentication ('identityClass' => 'app\panel\models\User'). How to authentication from diferent tables? Solution: Create instances in web.php to uses UserIdentify. eg:

5 0
6 followers
Viewed: 28 816 times
Version: 2.0
Category: How-tos

When to use Active Record

Created a year ago by samdark, updated 3 days ago by samdark.

When to use Active Record is a common question among developers, Yii and overall.

10 0
3 followers
Viewed: 45 529 times
Version: all
Category: FAQs