Wiki

Articles in category "tutorials", sorted by ratingX
Displaying 101-110 of 236 result(s).

Send mail using YiiMail extension

Created about a year ago by RKATutorials8 comments – viewed 41,389 times – ( +8 ) – version 1.1
Let me show a simpe example to send mail using YiiMail extension in 5 steps. It also includes any template view if required along with the content.
tags: YiiMail

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

Created 5 months ago by Rajith RTutorials0 comments – viewed 4,021 times – ( +8 ) – 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

Force a User to Change Their Password (ChangePasswordFilter)

Created 3 years ago by waterloomattTutorials2 comments – viewed 14,828 times – ( +16 / -2 ) – version 1.1
Sometimes you need to force a user to change their password after x number of days. This article describes how to implement this using a filter, ChangePasswordFilter.

Setting application parameters dynamically in the back-end

Created 2 years ago by PablovpTutorials6 comments – viewed 30,126 times – ( +12 / -1 ) – version 1.1
I was wondering how to set-up the application parameters in the back-end to use them all around the application without the need of using the database and I came up with this solution, I hope it helps somebody else.

Avoiding duplicate script download when using CActiveForm on Ajax calls

Created 3 years ago by Antonio RamirezTutorials2 comments – viewed 16,102 times – ( +12 / -1 ) – version 1.1
Sometimes the active form we wish to use to edit/add a new element on our database is too small and we believe that is much better to use an AJAX'ed dialog/slide form rather than reloading the page to just display one or two fields.

Multiple Databases and Multiple Domains

Created 4 years ago by got 2 doodleTutorials2 comments – viewed 31,644 times – ( +15 / -2 ) – version 1.1
Add these lines in /config/main.php
tags: database

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

Created about a year ago by aarondfrancisTutorials1 comment – viewed 4,015 times – ( +7 )
Hello everybody.
tags: heroku, assets

TDD with PHPUnit_Story and Yii

Created 3 years ago by sidewinderTutorials1 comment – viewed 14,431 times – ( +7 ) – 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 3 years ago by puteraTutorials2 comments – viewed 17,230 times – ( +7 ) – version 1.1
Functional Testing in Yii using Goutte and PHPUnit

How to filter data using a dropdown list?

Created 5 years ago by qiangTutorials0 comments – viewed 24,315 times – ( +7 ) – version 1.1
A dropdown list can be used to select a value, based on which we can filter the data to be displayed. For example, the extension page has a dropdown list to filter the displayed extensions according to the selected category.