Wiki articles in category Tutorials

Showing 141-160 of 265 items.

Multiple file upload handler

Created 12 years ago by hasanavi, updated 12 years ago by hasanavi.

Hi,

5 0
7 followers
Viewed: 33 591 times
Version: 1.1
Category: Tutorials

SEO-conform Multilingual URLs + Language Selector Widget (i18n)

Created 12 years ago by c@cba, updated 12 years ago by c@cba.

You have a multilingual application, and you want the URL of a page to be different for different languages, to account for SEO. The URL for the contact page for example should look like http://something.com/en/contact in english, and http://something.com/de/contact in german. This tutorial describes how to make it happen.
Note that currently selected language is always a part...

28 0
42 followers
Viewed: 77 953 times
Version: 1.1
Category: Tutorials

Manage (Target) Language in Multilingual Applications + A Language Selector Widget (i18n)

Created 12 years ago by c@cba, updated 12 years ago by c@cba.

In case of a multilingual application, one might consider it a reasonable approach to store the preferred language of the user in a session variable, and after that, every time a page is requested, to check this session variable and render the page in the indicated language. This tutorial shows a Yii-way of doing this.
We implement an event handler for the onBeginRequest event; as the nam...

9 0
19 followers
Viewed: 50 579 times
Version: 1.1
Category: Tutorials

Front-end developer's guide

Created 12 years ago by jonah, updated 12 years ago by waitekk.

This wiki is a work in progress.

10 0
19 followers
Viewed: 41 631 times
Version: 1.1
Category: Tutorials

Secure password hash storage and a Yii helper extension

Created 12 years ago by fsb, updated 11 years ago by fsb.

This wiki has been replaced by Use crypt() for password storage.

13 0
13 followers
Viewed: 77 163 times
Version: 1.1
Category: Tutorials

Searching and sorting by related model in CGridView

Created 12 years ago by Maciej Liżewski, updated 10 years ago by Kostas Apazidis (KonApaz).

Lets say we have two models and relation between them:

77 0
93 followers
Viewed: 276 836 times
Version: 1.1
Category: Tutorials

How to use Flash, Zend AMF and Yii Framework

Created 12 years ago by janisto, updated 12 years ago by janisto.

This is a simple demo how to use Zend_AMF with Yii.

3 0
6 followers
Viewed: 16 164 times
Version: 1.1
Category: Tutorials

How to learn Yii?!

Created 13 years ago by yJeroen, updated 4 years ago by CeBe.

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.

17 0
21 followers
Viewed: 120 918 times
Version: all
Category: Tutorials

Understanding Scenarios

Created 13 years ago by Luke Jurgs, updated 11 years ago by 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: 180 959 times
Version: 1.1
Category: Tutorials

Autocomplete in console command

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

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

3 0
4 followers
Viewed: 15 835 times
Version: 1.1
Category: Tutorials

Functional Testing in Yii using Goutte and PHPUnit

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

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

6 0
17 followers
Viewed: 30 447 times
Version: 1.1
Category: Tutorials

TDD with PHPUnit_Story and Yii

Created 13 years ago by sidewinder, updated 13 years ago by 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: 24 715 times
Version: 1.1
Category: Tutorials

Serve jQuery and jQuery-UI from Google's CDN

Created 13 years ago by Yeti, updated 12 years ago by 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: 43 471 times
Version: 1.1
Category: Tutorials

Windows Web Development With AMPPS, NetBeans and XDebug

Created 13 years ago by morcen, updated 13 years ago by morcen.
  1. Operating system: Windows
4 0
6 followers
Viewed: 39 037 times
Version: 1.1
Category: Tutorials

Yii for beginners

Created 13 years ago by rackycz, updated 5 years ago by 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: 442 887 times
Version: 1.1
Category: Tutorials

Adding search to Yii blog example (using Zend Lucene)

Created 13 years ago by dckurushin, updated 11 years ago by 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: 89 750 times
Version: 1.1
Category: Tutorials

free PHP IDE CodeLobster supports Yii framework

Created 13 years ago by clod, updated 13 years ago by 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: 20 400 times
Version: 1.1
Category: Tutorials

Force a User to Change Their Password (ChangePasswordFilter)

Created 13 years ago by waterloomatt, updated 13 years ago by waterloomatt.

Sometimes you need to force a user to change their password after x number of days. This article describes how to implement this using a filter, ChangePasswordFilter.

14 0
10 followers
Viewed: 30 199 times
Version: 1.1
Category: Tutorials

Configuring CWebLogRoute for DB profiling

Created 13 years ago by Igor Ivanovic, updated 13 years ago by Igor Ivanovic.

require_once($yii); Yii::createWebApplication($config)->run();

2 0
6 followers
Viewed: 34 849 times
Version: 1.1
Category: Tutorials

Caching the config main.php

Created 13 years ago by dckurushin, updated 13 years ago by dckurushin.

The config first required In CApplication constructor

4 1
14 followers
Viewed: 23 527 times
Version: 1.1
Category: Tutorials