Wiki

Articles in category "tutorials"X
Displaying 131-140 of 247 result(s).

Understanding Scenarios

Created 4 years ago by Luke JurgsTutorials12 comments – viewed 106,609 times – ( +30 ) – version 1.1
Scenarios are an extremely useful tool for separating validation tasks on any class you use derived from CModel. In this tutorial we will use CActiveRecord.

Autocomplete in console command

Created 4 years ago by StammTutorials1 comment – viewed 8,456 times – ( +3 ) – version 1.1
Missed of autocomplete in bash console commands yii make me sad.

Functional Testing in Yii using Goutte and PHPUnit

Created 4 years ago by puteraTutorials2 comments – viewed 20,019 times – ( +7 ) – version 1.1
Functional Testing in Yii using Goutte and PHPUnit

TDD with PHPUnit_Story and Yii

Created 4 years ago by sidewinderTutorials1 comment – viewed 16,208 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.

Serve jQuery and jQuery-UI from Google's CDN

Created 4 years ago by YetiTutorials15 comments – viewed 26,507 times – ( +14 / -1 ) – version 1.1
There are good reasons to use Google's Content Delivery Network (CDN) to serve jQuery and jQuery UI on your site:

Windows Web Development With AMPPS, NetBeans and XDebug

Created 4 years ago by macinvilleTutorials1 comment – viewed 23,296 times – ( +4 ) – version 1.1
This article will discuss how to setup your web development environment with the following specifications:

Yii for beginners

Created 4 years ago by rackyczTutorials13 comments – viewed 269,655 times – ( +97 ) – version 1.1
Hi. This is first article with my Yii tutorial. I had to split it into more articles as there's limited length of texts on Wiki. So once you understand basics, you can read next article here: Yii for beginners 2.

Adding search to Yii blog example (using Zend Lucene)

Created 4 years ago by dckurushinTutorials21 comments – viewed 68,889 times – ( +33 / -3 ) – version 1.1
For this tutorial I will add a search to the blog demo. The search would be based on Zend Lucene.

free PHP IDE CodeLobster supports Yii framework

Created 4 years ago by clodTutorials0 comments – viewed 13,768 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.

Force a User to Change Their Password (ChangePasswordFilter)

Created 4 years ago by waterloomattTutorials2 comments – viewed 16,699 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.