Wiki

Sorted by viewsX
Displaying 461-470 of 785 result(s).

How to re enable logging during unit testing

Created 5 years ago by AsgarothHow-tos3 comments – viewed 16,284 times – ( +11 / -1 ) – version 1.1
Some of you have experienced the need to log some information while doing unit testing, due to the fact that the information given in the summary is just not enough, to know why the test is actually failing. this article focuses on 2 ways to get you logs up and running again.

Auto TDD - How to auto-run PHPUnit

Created 6 years ago by imeheszTips3 comments – viewed 16,284 times – ( +3 / -2 ) – version 1.1
If you are lucky enough and have the privilege to develop on a Linux based environment, this little tip might boost-up your TDD process (at least the Unit Testing part). Please note, that this should work just fine with Apple computers also, but not tested!
tags: PHPUnit, testing, TDD

How to handle decimal separators (e.g comma instead of dot) for l18n

Created 5 years ago by jpabloHow-tos2 comments – viewed 16,215 times – ( +2 / -1 ) – version 1.1
Yii i18n does not cover decimal format. Some languages like Spanish (I live in Argentina) uses comma ',' instead of dot '.' as decimal separator.

Easy way to redirect http:\\localhost\yii2-basic to http:\\localhost\yii2-basic\web\index.php

Created 2 years ago by Scott_HuangTips0 comments – viewed 16,072 times – ( +3 / -4 ) – version 2.0
First of all, install yii2 basic template according below link:

A simple action for XUpload extension

Created 6 years ago by tydeas_drTips1 comment – viewed 16,049 times – ( +3 / -1 ) – version 1.1
All the basic functionality for an action used by the xupload extension. Check resources for the source code of this action
tags: tips, xupload, caction

Key web server settings after installing a fresh Yii 2 basic or advanced app

Created 3 years ago by Kartik VTips2 comments – viewed 16,000 times – ( +48 / -1 ) – version 2.0
So, you have installed a brand new Yii 2 app (basic) or (advanced). Here are a few tips for Apache web server users to get things running more secure and better with your yii2 app.

New Relic Error Alert with Yii

Created 4 years ago by simon604Tips2 comments – viewed 15,897 times – ( +6 / -1 ) – version 1.1
Introduction

Visualization tree-multi subcategories as listbox or dropdownlist

Created 4 years ago by Kostas Apazidis (KonApaz)How-tos4 comments – viewed 15,892 times – ( +4 / -1 ) – version 1.1
Do you want to make a listbox or dropdownlist to select one or more categories or sub categories ?

YouTube API v2.0 – Browser-based Uploading

Created 5 years ago by VaibhavHow-tos1 comment – viewed 15,867 times – ( +6 / -1 ) – version 1.1
Through the YouTube API you can upload files directly to the Youtube server. Youtube currently offers two services 1. Direct Link 2. Browser Based Uploading. In this wiki I will demonstrate how you can quickly set Browser Based Uploading for your Yii application. This is the protocol request that takes place.

Using Google Maps in Yii Applications via Jquery

Created 4 years ago by bluyellHow-tos2 comments – viewed 15,848 times – ( +3 / -2 ) – version 1.1