Wiki

Sorted by viewsX
Displaying 361-370 of 726 result(s).

Auto TDD - How to auto-run PHPUnit

Created 4 years ago by imeheszTips3 comments – viewed 13,142 times – ( +3 / -1 ) – 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

i18n All-in-one format and timezone conversions for date, time, timestamp and datetime.

Created about a year ago by Gerhard LiebenbergHow-tos3 comments – viewed 13,014 times – ( +7 / -1 ) – version 1.1
Countries sometimes change their laws pertaining to timezones and daylight saving times. This means that GMT+2 can be a different time this August compared to last August! However, by using php's DateTime class (instead of timestamps), we can do both "format" and "timezone" conversions on a single DateTime object (only 2 lines of code) for date, time, timestamp and datetime types - while php takes care of nightmares such as current and historical timezones and daylight saving times.

Changing Controllers Name

Created 4 years ago by TrejderHow-tos0 comments – viewed 12,968 times – ( +5 ) – version 1.1
This very short how-to presents steps required to change controller name. It is oriented for less experienced users, which are starting their journey with Yii, to avoid common newbie pitfalls.

How to log context information to logger (session id, user, ...)

Created 5 years ago by olafureTutorials0 comments – viewed 12,964 times – ( +2 ) – version 1.1
Logging context information (session, user, ...) to the logfile can be of great help tracking down problems with specific users.
tags: Logging

Implementing a WebDAV server using SabreDAV

Created about a year ago by nineinchnickTutorials6 comments – viewed 12,865 times – ( +5 )
This article will show you how to easily implement a WebDAV server in your project using SabreDAV.

BootProgressColumn - Progress Bar Inside GridView Column compatible with 'bootstrap' extension

Created 2 years ago by LuizTips1 comment – viewed 12,830 times – ( +7 ) – version 1.1
A little hint of how to create a progress bar inside the column of the grid, using the 'bootstrap' extension.

Sub-domains with different databases in Yii!

Created 3 years ago by jwerdHow-tos4 comments – viewed 12,776 times – ( +2 ) – version 1.1
Sub-domains with different databases in Yii!

Update a part of content using AJAX when select a GridView row

Created about a year ago by Kostas Apazidis (KonApaz)How-tos2 comments – viewed 12,765 times – ( +4 ) – version 1.1
Suppose you want to refresh a form or any content when a single row of CGridView is selected

free PHP IDE CodeLobster supports Yii framework

Created 3 years ago by clodTutorials0 comments – viewed 12,468 times – ( +5 ) – version 1.1
This page is created to supply short directions and general tips for managing a Yii application in Codelobster PHP Edition.