Wiki

Sorted by ratingX
Displaying 301-310 of 784 result(s).

TDD with PHPUnit_Story and Yii

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

Encapsulate db and module configurations

Created 7 years ago by ricardogranaTutorials3 comments – viewed 12,733 times – ( +7 ) – version 1.1
This method was inspirated on the excellent text about different environments available at http://www.yiiframework.com/doc/cookbook/32/
tags: module

I18n subdomains and url-rules

Created 7 years ago by Y!!Tutorials6 comments – viewed 28,521 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 7 years ago by mindplayTutorials3 comments – viewed 26,453 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 6 years ago by nancoderTutorials6 comments – viewed 39,235 times – ( +7 ) – version 1.1
Info: An extension was created based on this wiki page. See: http://www.yiiframework.com/extension/yii-environment/

Add charts / print buttons to your webapp

Created 6 years ago by CoLTTutorials3 comments – viewed 26,013 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

Use phing to make Yii application "installable"

Created 4 years ago by sensorarioHow-tos3 comments – viewed 9,319 times – ( +7 ) – version 1.1
To use this "how-to", you need to install phing in your machine.
tags: phing

Radio Button List with enum values for column of type ENUM >+> incorporate into giix

Created 4 years ago by pckabeerHow-tos1 comment – viewed 18,062 times – ( +7 ) – version 1.1
Let's say our table 'mug' has a column named 'color' of the type ENUM('red','green','blue'). We want to replace the textfield for the attribute color in the create and update forms of a 'mug' with a Radio Button List, which has the enum values as options. This is a rewrite of c@cba in the wiki article of enumDropdownListThe main code was contributed by zaccaria in the forum (see this post).

Importing CSV file to mysql table using "LOAD DATA" command.

Created 4 years ago by sirin kTips6 comments – viewed 47,921 times – ( +7 ) – version 1.1
hi, Here i am giving you some simple step to import huge data from a csv file to your mysql table.this is useful when you have a very huge data to import from csv format.
tags: csv, mysql, import