Wiki articles

Showing 401-420 of 653 items.

Understanding Scenarios

Created 14 years ago by Luke Jurgs Luke Jurgs, updated 13 years ago by Luke Jurgs Luke Jurgs.

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.

23 0
39 followers
Viewed: 187 904 times
Version: 1.1
Category: Tutorials

File uploads in CForm (Form builder)

Created 14 years ago by Luke Jurgs Luke Jurgs, updated 14 years ago by Luke Jurgs Luke Jurgs.

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.

9 0
10 followers
Viewed: 55 463 times
Version: 1.1
Category: How-tos

Autocomplete in console command

Created 14 years ago by Stamm Stamm, updated 14 years ago by Stamm Stamm.

Missed of autocomplete in bash console commands yii make me sad.

3 0
4 followers
Viewed: 17 618 times
Version: 1.1
Category: Tutorials

CGridView: Update/create records in a CJuiDialog

Created 14 years ago by Joblo Joblo, updated 13 years ago by Joblo Joblo.

My article Display the full record in a CJuiDialog uses ajax to view a record in dialog on clicking the 'view-icon'.

12 0
26 followers
Viewed: 60 578 times
Version: 1.1
Category: Tips
14 0
20 followers
Viewed: 80 267 times
Version: 1.1
Category: Tips

Functional Testing in Yii using Goutte and PHPUnit

Created 14 years ago by putera putera, updated 14 years ago by putera putera.

We will use Symfony 2 components for writing tests for Yii project, it's gonna be fun :).

6 0
17 followers
Viewed: 32 907 times
Version: 1.1
Category: Tutorials

TDD with PHPUnit_Story and Yii

Created 14 years ago by sidewinder sidewinder, updated 14 years ago by sidewinder sidewinder.

Having said all of that, I want to add that the purpose of this article is not to convince anyone to write tests or design following TDD patterns. I'm not going to change the world to what I think is good. It's just about showing how to use some tools together with Yii Framework.

7 0
9 followers
Viewed: 27 051 times
Version: 1.1
Category: Tutorials

Serve jQuery and jQuery-UI from Google's CDN

Created 14 years ago by Yeti Yeti, updated 13 years ago by fad fad.

There are good reasons to use Google's Content Delivery Network (CDN) to serve jQuery and jQuery UI on your site:

14 0
17 followers
Viewed: 47 279 times
Version: 1.1
Category: Tutorials

Common Yii questions

Created 14 years ago by dckurushin dckurushin, updated 14 years ago by migajek migajek.

Put attention of the question answer form

14 0
23 followers
Viewed: 64 844 times
Version: 1.1
Category: FAQs

Windows Web Development With AMPPS, NetBeans and XDebug

Created 14 years ago by morcen morcen, updated 14 years ago by morcen morcen.
  1. Operating system: Windows
4 0
6 followers
Viewed: 41 272 times
Version: 1.1
Category: Tutorials

Using events with CAction classes

Created 14 years ago by Antonio Ramirez Antonio Ramirez, updated 14 years ago by 张 迪 张 迪.

As you know, events are used by:

9 0
9 followers
Viewed: 26 264 times
Version: 1.1
Category: Tips

Como trasponer una lista creada con CHtml::checkBoxList

Created 14 years ago by rdjteam rdjteam, updated 14 years ago by rdjteam rdjteam.

En ciertas ocasiones tenemos que lidiar con el tema de colocar una lista de checkboxes para hacer una seleccion especifica como es el caso de los dias de la semana para un calendario, para esta labor tenemos el comando CHtml::checkBoxList(), revisando un poco el funcionamiento de este temos los siguientes parametros:

2 0
4 followers
Viewed: 20 204 times
Version: 1.1
Category: Tips

CPhpAuthManager - how it works, and when to use it

Created 14 years ago by dckurushin dckurushin, updated 14 years ago by François Gannaz François Gannaz.

It is actually mentioned in the documentation

1 2
6 followers
Viewed: 35 707 times
Version: 1.1
Category: How-tos

Special $variables in CGridView and CListView

Created 14 years ago by Steve Friedl Steve Friedl, updated 14 years ago by Steve Friedl Steve Friedl.

The popular [CListView] and [CGridView] widgets each take a data provider and iterate over each data object produced, calling the user's code to render each row one at a time, and most are familiar with the use of the $data variable to represent the current model object or array.

23 1
33 followers
Viewed: 80 418 times
Version: 1.1
Category: Tips

Reliable Alternative For Yii::app()->request->isAjaxRequest AND Adding Data To Ajax Form With JS

Created 14 years ago by ibo_s ibo_s, updated 14 years ago by ibo_s ibo_s.

In this How-To I'll show you:

12 1
10 followers
Viewed: 64 268 times
Version: 1.1
Category: How-tos

Yii for beginners

Created 14 years ago by rackycz rackycz, updated 6 years ago by rackycz rackycz.

Hi. This is first article with my Yii v1 tutorial. I had to split it into 2 articles as there's limited length of texts on Wiki. So once you understand basics, you can read the 2nd article here: Yii for beginners 2.

68 0
75 followers
Viewed: 478 268 times
Version: 1.1
Category: Tutorials

Understanding the view rendering flow

Created 14 years ago by dckurushin dckurushin, updated 12 years ago by Jorgee Jorgee.

If we take a look at the blog demo we have 3 major parts of our view rendering. They are:

56 1
55 followers
Viewed: 247 998 times
Version: 1.1
Category: FAQs

Adding search to Yii blog example (using Zend Lucene)

Created 14 years ago by dckurushin dckurushin, updated 13 years ago by klammeraffe klammeraffe.
  • add under runtime directory, a new one call it search, it will be used for the index files that Zend Lucene will create. Make sure it is writable!
29 1
47 followers
Viewed: 92 910 times
Version: 1.1
Category: Tutorials

how to use github (un)official extension repo in your Yii project

Created 14 years ago by RusAlex RusAlex, updated 14 years ago by RusAlex RusAlex.

I'm developing a web project for a company using Yii framework. We are using a git vcs in our development process. We like to use Yii extensions. But only if they are good.

4 0
8 followers
Viewed: 14 268 times
Version: 1.1
Category: Tips

free PHP IDE CodeLobster supports Yii framework

Created 14 years ago by clod clod, updated 14 years ago by clod clod.

This page is created to supply short directions and general tips for managing a Yii application in Codelobster PHP Edition.

5 0
1 follower
Viewed: 21 811 times
Version: 1.1
Category: Tutorials