Wiki

Articles tagged with "yii2"X
Displaying 71-78 of 78 result(s).

Installare Yii 2.0.* usando XAMPP su Windows in versione portabile

Created 3 years ago by realteboTutorials0 comments – viewed 14,612 times – ( +2 / -1 ) – version 2.0
Una delle soluzioni che preferisco per studiare un framework PHP รจ avere a disposizione un webserver portabile, ovvero che non richiede una vera e propria installazione. Questo mi permette spesso di lavorare direttamente su una chiavetta USB, potendo passare da un computer ad un altro di casa, o al lavoro, o dai clienti per le demo, senza alcun problema, avendo sempre con me l'ambiente server completo: server web, server MySQL, interprete php.

How to implement cron in Yii 2

Created 3 years ago by hemcHow-tos10 comments – viewed 58,049 times – ( +11 / -1 ) – 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 3 years ago by edoardo849Tips0 comments – viewed 9,714 times – ( +1 / -1 ) – 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 3 years ago by edoardo849How-tos2 comments – viewed 14,668 times – ( +6 / -1 ) – 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 3 years ago by edoardo849How-tos3 comments – viewed 19,689 times – ( +8 / -1 ) – 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 3 years ago by Kartik VTutorials25 comments – viewed 163,903 times – ( +57 / -5 ) – 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 4 years ago by aarondfrancisHow-tos2 comments – viewed 13,826 times – ( -1 ) – version 2.0
I wrote about this on my blog, but wanted to post it here too.
tags: yii2, controllers

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

Created 4 years ago by Charles R. Portwood IITutorials7 comments – viewed 197,095 times – ( +10 / -11 ) – version 2.0
Creating a Simple CRUD App with Yii Framework 2 (Updated December 20th, 2013)
tags: yii2, tutorial, howto