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

TDD with PHPUnit_Story and Yii

Created 4 years ago by sidewinderTutorials1 comment – viewed 15,986 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 4 years ago by puteraTutorials2 comments – viewed 19,590 times – ( +7 ) – version 1.1
Functional Testing in Yii using Goutte and PHPUnit

Encapsulate db and module configurations

Created 6 years ago by ricardogranaTutorials3 comments – viewed 11,235 times – ( +7 ) – version 1.1
This method was inspirated on the excellent text about different environments available at
tags: module

I18n subdomains and url-rules

Created 6 years ago by Y!!Tutorials6 comments – viewed 25,414 times – ( +7 ) – version 1.1
This guide is for more or less advanced users. If you just started with Yii or didn't worked with any web-framework before, you may should come back later :-)
tags: i18n, URL

SQL Logging and Profiling in FireBug (Yii 1.1)

Created 5 years ago by mindplayTutorials3 comments – viewed 23,016 times – ( +7 ) – version 1.1
During development, it's often very handy to have SQL logging and profiling.
tags: Logging

Use different environments (development, production, etc) in your app with EASY Environment Class

Created 5 years ago by nancoderTutorials6 comments – viewed 30,214 times – ( +7 ) – version 1.1
Info: An extension was created based on this wiki page. See:

Add charts / print buttons to your webapp

Created 5 years ago by CoLTTutorials3 comments – viewed 23,718 times – ( +7 ) – version 1.1
In this article you will find Yii framework extensions enabling you to add various charts/print out buttons etc. to your webapp.
tags: chart, print, flash, excel, csv, pdf, xls

Custom Number Formatting or Decimal Separators and i18n

Created 3 years ago by c@cbaTutorials8 comments – viewed 44,198 times – ( +7 ) – version 1.1
By default, the decimal separator in php (also in mysql) is a dot (.). So when we work with floats in Yii (in calculations, validation, sql statements etc.), the decimal separator has to be a dot. If we want to use for example a comma (,) as the decimal separator, that is if we want to display numbers and enable users to enter numbers with a comma before the decimals, we have to...

Upload CSV File

Created 2 years ago by bhavesh vaghelaTutorials2 comments – viewed 13,034 times – ( +7 ) – version 1.1
View file

Implementing a Registration Process using the yii-user-management module

Created 4 years ago by thyseusTutorials6 comments – viewed 58,667 times – ( +7 ) – version 1.1
Hi Folks,