Wiki

Displaying 431-440 of 686 result(s).

How to insert a Simple Dialog Box

Created 2 years ago by bluyellHow-tos4 comments – viewed 19,608 times – ( +5 / -2 ) – version 1.1
I build this simple PHP class (DialogBox.php at the bottom of this wiki) to help you in the dialog box usage on Yii applications. The goal is run any Yii actions into this dialog box and return the resulting value to the calling instance.

How to learn Yii?!

Created 2 years ago by yJeroenTutorials9 comments – viewed 60,255 times – ( +19 ) – version 1.1
Here is a step by step To-Do list for Yii beginners. The list is an advice of what tutorials and documentation you can walk through to get a full understanding of the Yii Framework. These can be a help to learn Yii.

Understanding series articles

Created 2 years ago by GOshaTips0 comments – viewed 7,727 times – ( +16 ) – version 1.1
Here are all wiki articles from "Understanding" series by Yii wiki contributors:

Understanding Scenarios

Created 2 years ago by Luke JurgsTutorials11 comments – viewed 72,068 times – ( +26 ) – version 1.1
Scenarios are an extremely useful tool for separating validation tasks on any class you use derived from CModel. In this tutorial we will use CActiveRecord.

File uploads in CForm (Form builder)

Created 2 years ago by Luke JurgsHow-tos2 comments – viewed 32,120 times – ( +12 ) – version 1.1
While there is a reasonable amount of documentation regarding CForm (form builder) and file uploads seperately, there really is not any coverage of both in combination.

Autocomplete in console command

Created 2 years ago by StammTutorials1 comment – viewed 6,868 times – ( +3 ) – version 1.1
Missed of autocomplete in bash console commands yii make me sad.

CGridView: Update/create records in a CJuiDialog

Created 2 years ago by JobloTips11 comments – viewed 34,985 times – ( +14 ) – version 1.1
My article Display the full record in a CJuiDialog uses ajax to view a record in dialog on clicking the 'view-icon'.

CGridView: Display the full record (actionView) in a CJuiDialog

Created 2 years ago by JobloTips7 comments – viewed 33,251 times – ( +15 ) – version 1.1
If you show a model (with a lot of attributes) partially in a CGridView, it can be helpful when the user can take a quick look at the full record with all attributes without displaying the view as a page and afterwards returning back to the gridview.

Functional Testing in Yii using Goutte and PHPUnit

Created 2 years ago by puteraTutorials2 comments – viewed 15,801 times – ( +7 ) – version 1.1
Functional Testing in Yii using Goutte and PHPUnit

TDD with PHPUnit_Story and Yii

Created 2 years ago by sidewinderTutorials1 comment – viewed 13,459 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.