Wiki

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

Functional Testing in Yii using Goutte and PHPUnit

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

TDD with PHPUnit_Story and Yii

Created 6 years ago by sidewinderTutorials1 comment – viewed 18,157 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.

Serve jQuery and jQuery-UI from Google's CDN

Created 6 years ago by YetiTutorials15 comments – viewed 30,883 times – ( +14 / -2 ) – 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 6 years ago by macinvilleTutorials1 comment – viewed 27,348 times – ( +4 / -1 ) – version 1.1
This article will discuss how to setup your web development environment with the following specifications:

Yii for beginners

Created 6 years ago by rackyczTutorials13 comments – viewed 308,152 times – ( +99 / -1 ) – 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 6 years ago by dckurushinTutorials21 comments – viewed 75,844 times – ( +33 / -4 ) – 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 6 years ago by clodTutorials0 comments – viewed 15,267 times – ( +5 / -1 ) – 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 6 years ago by waterloomattTutorials2 comments – viewed 19,487 times – ( +16 / -3 ) – 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 6 years ago by Igor IvanovicTutorials1 comment – viewed 26,059 times – ( +3 / -1 ) – version 1.1
/index.php /protected/config/main.php
tags: logger, profiler, db

Caching the config main.php

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