Wiki articles

Showing 141-153 of 153 items.

Change default date format in Oracle

Created a year ago by lenovo, updated a year ago by samdark.

Default date format in Oracle is DD-MON-RR (25-JAN-18). With that output, we can't using date formatting.

0 0
2 followers
Viewed: 17 031 times
Version: 2.0
Category: How-tos
Tags: database

Optimize Scenarios for yii2

Created 3 years ago by AndroideLP, updated 11 months ago by 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: 28 902 times
Version: 2.0
Category: Tutorials

How to learn Yii?!

Created 8 years ago by yJeroen, updated 7 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: 104 668 times
Version: all
Category: Tutorials

Upload files in Yii2 with MongoDb and GridFs

Created 6 years ago by edoardo849, updated 7 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 687 times
Version: 2.0
Category: How-tos

Yii2 - Upgrading to Bootstrap 4

Created 7 months ago by Richard Pillay, updated 6 months ago by Richard Pillay.

Yii2 - Converting from Bootstrap3 to Bootstrap4

9 0
7 followers
Viewed: 22 820 times
Version: 2.0
Category: How-tos

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

Created 9 months ago by grigori, updated 5 months 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: 18 714 times
Version: 2.0
Category: How-tos

How to login from different tables in Yii2

Created 2 years ago by AndroideLP, updated 4 months 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: 33 449 times
Version: 2.0
Category: How-tos

When to use Active Record

Created 2 years ago by samdark, updated 4 months ago by samdark.

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

11 0
3 followers
Viewed: 46 530 times
Version: all
Category: FAQs

Start using Yii2 in Raspberry Pi3 (RPI3) via Pantahub

Created a month ago by sirin k, updated a month ago by sirin k.

3 0
2 followers
Viewed: 3 741 times
Version: 2.0
Category: How-tos

Yii v2 snippet guide

Created a year ago by rackycz, updated 27 days ago by rackycz.

This article had to be split as I reached the max length. Second part is here:

6 0
3 followers
Viewed: 59 891 times
Version: 2.0
Category: Tutorials

How to add Schema.org markup to Yii2 pages

Created 11 days ago by Gabriel A. López López, updated 11 days ago by Gabriel A. López López.

https://schema.org is a markup system that allows to embed structured data on their web pages for use by search engines and other applications. Let's see how to add Schema.org to our pages on Yii2 based websites using JSON-LD.

0 0
1 follower
Viewed: 417 times
Version: 2.0
Category: How-tos

Api of Multiple File Uploading in Yii2

Created 8 days ago by fezzymalek, updated 6 days ago by fezzymalek.

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

0 0
1 follower
Viewed: 375 times
Version: 2.0
Category: Tutorials