Wiki

Articles in category "how-tos", sorted by ratingX
Displaying 191-200 of 306 result(s).

Handling recursive deletion in Yii

Created about a year ago by JamesBarnsleyHow-tos3 comments – viewed 6,655 times – ( +3 ) – version 1.1
As a lead developer at Mutable Labs I was tasked to find a way to do recursive deletion in Yii. As I asked other developers and looked around the internet the usual answers all came up, use a plugin or use cascade delete at the DB level, but I did not want to do either of these.

Yii2 and Pdf files with Mpdf

Created 3 months ago by CTalaHow-tos0 comments – viewed 1,746 times – ( +3 ) – version 2.0
I am still new to composer and packagist, so I want to share how I am creating the pdf files because for me was not as simple as it should be.

Creating a Dependent Dropdown From Scratch in Yii2

Created 2 months ago by ThePr0f3550rHow-tos1 comment – viewed 2,656 times – ( +3 ) – version 2.0
I have read http://www.yiiframework.com/wiki/24/creating-a-dependent-dropdown/ (Dependen Dropdown Yii1), but I cant implementation in Yii2 because Yii2 not built-in AJAX functionality hem.. I am search about it and get this statement

How to use the official Yii installer for Composer (**DEPRECATED**)

Created about a year ago by br0skHow-tos9 comments – viewed 12,072 times – ( +3 ) – version 1.1
This wiki shall be considered deprecated since the Yii installer for composer has been discontinued.

How to change Migration Table name and use defined prefix.

Created about a year ago by JorgeeHow-tos1 comment – viewed 5,490 times – ( +3 ) – version 1.1
To accomplish the task of changing Migration table's name, by default tbl_migration, you need to add the following in your ./protected/config/console.php.

Profiling using XDebug

Created about a year ago by le_topHow-tos1 comment – viewed 5,202 times – ( +3 ) – version all
A short explication on how to extract profile information for PHP on your server using XDebug and KCacheGrind or WinCacheGrind.

Yii HMVC

Created about a year ago by ezekielnoobHow-tos6 comments – viewed 6,807 times – ( +5 / -1 )
Right now we can use widgets + action provider like in this tutorial: How to use a Widget as an Action Provider

Remove Byte Order Mark (BOM) from files recursively

Created 11 months ago by KonApazHow-tos3 comments – viewed 5,059 times – ( +5 / -1 ) – version all
Ok, this wiki is not only for yii projects.

Caching strategy

Created 9 months ago by darkheirHow-tos9 comments – viewed 3,713 times – ( +5 / -1 ) – version 1.1
Note: Before reading this wiki you should have read the caching part in the Yii guide
tags: caching, filter

Install, update and use Yii with WAMP server

Created about a year ago by mrsHow-tos5 comments – viewed 27,379 times – ( +5 / -1 ) – version 1.1
Here I am describing how you can install and update Yii in WAMP sever.