Wiki

Articles in category "tutorials"X
Displaying 141-150 of 254 result(s).

TDD with PHPUnit_Story and Yii

Created 5 years ago by sidewinderTutorials1 comment – viewed 17,436 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 5 years ago by YetiTutorials15 comments – viewed 29,417 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 5 years ago by macinvilleTutorials1 comment – viewed 25,835 times – ( +4 ) – version 1.1
This article will discuss how to setup your web development environment with the following specifications:

Yii for beginners

Created 5 years ago by rackyczTutorials13 comments – viewed 295,942 times – ( +99 ) – 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 5 years ago by dckurushinTutorials21 comments – viewed 73,626 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 5 years ago by clodTutorials0 comments – viewed 14,754 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 5 years ago by waterloomattTutorials2 comments – viewed 18,347 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.

Configuring CWebLogRoute for DB profiling

Created 5 years ago by Igor IvanovicTutorials1 comment – viewed 24,312 times – ( +3 ) – version 1.1
/index.php /protected/config/main.php
tags: logger, profiler, db

Caching the config main.php

Created 5 years ago by dckurushinTutorials11 comments – viewed 15,031 times – ( +4 / -2 ) – version 1.1
The config long array included every time, and it's not cached at all!

Avoiding duplicate script download when using CActiveForm on Ajax calls

Created 5 years ago by Antonio RamirezTutorials2 comments – viewed 19,481 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.