Wiki

Articles tagged with "yii2"X
Displaying 1-8 of 8 result(s).

How to implement cron in Yii 2

Created 5 days ago by hemcHow-tos5 comments – viewed 1,240 times – ( +6 ) – version 2.0
In advance template there is already a file yii. And there is no need to run it as php, it is Linux script.
tags: cron, yii2, console

Auto-update denormalized attributes with MongoDb and Yii2

Created about a month ago by edoardo849Tips0 comments – viewed 1,610 times – version 2.0
You have different collections in MongoDb with de-normalized attributes. As you may know, due to its not-join nature, MongoDb tends to encourage repetition of the same value in different collections (de-normalization). In this MongoDb is opposed to a more SQL-like approach where you usually reference only the ID of the value with a foreign key.

MongoDb's embedded documents mapping for ActiveRecord in Yii2

Created about a month ago by edoardo849How-tos0 comments – viewed 1,444 times – version 2.0
You are working with MongoDb and you have embedded documents in your collection that you want to easily map in your Model for CRUD operations.

Upload files in Yii2 with MongoDb and GridFs

Created 2 months ago by edoardo849How-tos0 comments – viewed 3,411 times – ( +4 ) – version 2.0
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).

Filter & Sort by calculated/related fields in GridView Yii 2.0

Created 2 months ago by Kartik VTutorials11 comments – viewed 5,106 times – ( +6 ) – version 2.0
This wiki explains how to add calculated fields into your Yii Framework 2.0 gridview with filtering and sorting.

Automatic Parameter Binding to POST vars in Yii2

Created 6 months ago by aarondfrancisHow-tos2 comments – viewed 4,144 times – version 2.0
I wrote about this on my blog, but wanted to post it here too.
tags: yii2, controllers

Create Crud with Yii2

Created 6 months ago by Amjad YTutorials2 comments – viewed 8,879 times – ( +1 / -12 ) – version 2.0
This guide is meant to help you started with Yii2. Yii2 is by no means "production" ready. I do not recommend using this in production. lets start with yii2:

Creating a Simple CRUD App With Yii2 (Revised 12/20/2013)

Created 11 months ago by Charles R. Portwood IITutorials3 comments – viewed 42,793 times – ( +8 / -7 ) – version 2.0
Creating a Simple CRUD App with Yii Framework 2 (Updated December 20th, 2013)
tags: yii2, tutorial, howto