Wiki

Articles in category "tutorials", sorted by ratingX
Displaying 101-110 of 227 result(s).

Setting application parameters dynamically in the back-end

Created 2 years ago by PablovpTutorials6 comments – viewed 27,006 times – ( +11 / -1 ) – version 1.1
I was wondering how to set-up the application parameters in the back-end to use them all around the application without the need of using the database and I came up with this solution, I hope it helps somebody else.

Mantis Manager: An Asset Manager that minifies, combines, and publishes

Created about a year ago by aarondfrancisTutorials1 comment – viewed 3,325 times – ( +7 )
Hello everybody.
tags: heroku, assets

TDD with PHPUnit_Story and Yii

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

Log Activity in DataBase

Created about a year ago by mahdi1986Tutorials6 comments – viewed 8,377 times – ( +7 ) – version 1.1
In this article i will explain how to customize log activity in database, Imaging you need to save IP user, Url request and user_name in database,But table created by default with Yii only have id,level,category,logtime and message

Tabular Input, Validating and Saving related models

Created 10 months ago by Xavier JohnTutorials3 comments – viewed 12,939 times – ( +7 )
This tutorial shows how to use a model to save and validate related (MANY_MANY) models.

Encapsulate db and module configurations

Created 4 years ago by ricardogranaTutorials3 comments – viewed 9,049 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 4 years ago by Y!!Tutorials6 comments – viewed 21,241 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 4 years ago by mindplayTutorials3 comments – viewed 17,950 times – ( +7 ) – version 1.1
During development, it's often very handy to have SQL logging and profiling.
tags: Logging

Add charts / print buttons to your webapp

Created 4 years ago by CoLTTutorials3 comments – viewed 20,118 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