Wiki

Articles in category "tutorials", sorted by ratingX
Displaying 111-120 of 254 result(s).

CSqlDataProvider in CGridView

Created 3 years ago by Kostas Apazidis (KonApaz)Tutorials8 comments – viewed 23,623 times – ( +8 / -1 ) – version 1.1
In this wiki I will show how could use a CSqlDataProvider in CGridView with specific features

ePay Integration - Bulgarian Payment Provider

Created 4 years ago by yasenTutorials2 comments – viewed 7,586 times – ( +8 / -1 ) – version 1.1
I. In the view script add the following hidden fields:

Upload CSV File

Created 4 years ago by bhavesh vaghelaTutorials2 comments – viewed 17,349 times – ( +8 / -1 ) – version 1.1
View file

Starting with YII 1.1.x in Windows Environment (WAMP)

Created 3 years ago by Rajith RTutorials0 comments – viewed 18,694 times – ( +8 / -1 ) – version 1.1
As we know YII is the Leading Framework of PHP. Lots of new developers are starting to use YII day by day. Most of the beginners are little bit confused with how to start with YII . I think this note will help them. Follow the simple steps To run a Yii-powered Web application, you need a Web server that supports PHP 5.1.0.
tags: newbie, yii, yiic

How to use imagine ( crop, thumb, effects for images ) on Yii2

Created 2 years ago by Anas AbuDayahTutorials2 comments – viewed 48,694 times – ( +8 / -1 ) – version 2.0
Imagine adds most common image functions and also acts as a wrapper to Imagine image manipulation library.

CButtonColumn: Use special variable $data for the 'id' in the 'options' of a button

Created 4 years ago by bluezedTutorials5 comments – viewed 32,378 times – ( +10 / -2 ) – version 1.1
In an application I had a CGridView with a CButtonColumn and for an Ajax-Request I needed to make sure that the IDs of the buttons would not change when the GridView was updated so in effect I wanted to link them to the $data->id. So I tried:

Mantis Manager: An Asset Manager that minifies, combines, and publishes

Created 4 years ago by aarondfrancisTutorials1 comment – viewed 6,561 times – ( +7 / -1 )
Hello everybody.
tags: heroku, assets

TDD with PHPUnit_Story and Yii

Created 5 years ago by sidewinderTutorials1 comment – viewed 17,841 times – ( +7 / -1 ) – version 1.1
Unfortunately Sebastian Bergmann decided to remove PHPUnit_Story from future PHPUnit versions. Thanks to elvan for pointing me to the relevant comment. As an alternative Behat has been suggested but it seems too bloated for me TBH. There is also PHPSpec but it's non flexible enough for me and tightly bound with English language (What's the purpose of using DSL if customers can't speak English). Since both frameworks are quite young I think I'll just stick to PHPUnit and see what's going on on the BDD frameworks arena. Even PHPUnit_Story parts of this entry are going to be deprecated soon, rest is still valid! When doing TDD, please write tests with design and behaviour of application in mind instead of testing single functions.

Functional Testing in Yii using Goutte and PHPUnit

Created 5 years ago by puteraTutorials2 comments – viewed 22,486 times – ( +7 / -1 ) – version 1.1
Functional Testing in Yii using Goutte and PHPUnit

Encapsulate db and module configurations

Created 7 years ago by ricardogranaTutorials3 comments – viewed 13,122 times – ( +7 / -1 ) – version 1.1
This method was inspirated on the excellent text about different environments available at http://www.yiiframework.com/doc/cookbook/32/
tags: module