Wiki articles tagged with "tutorial"

Showing 1-20 of 26 items.
Created 8 years ago by Woil, updated 8 years ago by Woil.

Impersonate Users within Yii Framework

For some applications it can be advantageous for administration reasons to allow site administrators to login as other users. This is sometimes called user impersonation or "becoming that user".

20 0
22 followers
Viewed: 20 025 times
Version: 1.1
Category: Tutorials
Created 7 years ago by Antonio Ramirez, updated 7 years ago by Antonio Ramirez.

Actions code reuse with CAction

Gii provides us normally with the following code on the 'actionCreate':

public function actionCreate()
{
   $model=new ModelName;

33 0
19 followers
Viewed: 47 118 times
Version: 1.1
Category: How-tos
Created 7 years ago by jwerner, updated 4 years ago by Rohit Suthar.

How-To: Create a REST API

This article will explain how to create a REST API with the Yii framework.

97 2
126 followers
Viewed: 398 336 times
Version: 1.1
Category: How-tos
Created 7 years ago by Antonio Ramirez, updated 5 years ago by Phil Loaiza.

Implementing a User Level Access System

Please note that this article is a simple example and good security should be taken into account when we play with authentication systems.

27 0
37 followers
Viewed: 57 877 times
Version: 1.1
Category: Tutorials
Created 7 years ago by Antonio Ramirez, updated 6 years ago by SebK.

Custom Autocomplete Display and Value Submission

I was looking around wiki and found that was no approach as the one I did so I guessed this is worth to write.

12 0
18 followers
Viewed: 52 028 times
Version: 1.1
Category: How-tos
Created 7 years ago by Pinoy Coderz, updated 6 years ago by Maurizio Domba Cerin.

Our WebApp that will run without downtime during update/upgrade

How many of us wonder how we can upgrade the website without hurting the operation of our WebApp?

8 2
7 followers
Viewed: 11 388 times
Version: 1.1
Category: Tutorials
Tags: tutorial
Created 7 years ago by Antonio Ramirez, updated 7 years ago by Maurizio Domba Cerin.

Avoiding duplicate script download when using CActiveForm on Ajax calls

The only thing required is simple, we just need to create a view that will be partially rendered by a call to a controller (using renderPartial) and make sure that we process output -setting to true the parameter on the function. Everything will work as expected but...

11 1
9 followers
Viewed: 22 043 times
Version: 1.1
Category: Tutorials
9 0
15 followers
Viewed: 26 550 times
Version: 1.1
Category: Tips
Created 7 years ago by sensorario, updated 7 years ago by sensorario.

Send asset folder path to a javascript of a widget

When you develop a widget, you could need one image that is in the assets folder, you can use it simply within a css. You can load a css or javascript script doing this:

Yii::app()->getClientScript()->registerCssFile($filename);
4 0
9 followers
Viewed: 27 214 times
Version: 1.1
Category: Tips
Created 7 years ago by dckurushin, updated 6 years ago by klammeraffe.

Adding search to Yii blog example (using Zend Lucene)

  • 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: 79 614 times
Version: 1.1
Category: Tutorials
Created 7 years ago by rackycz, updated 5 years ago by WaldemarPross.

Yii for beginners

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

67 0
76 followers
Viewed: 327 333 times
Version: 1.1
Category: Tutorials
Created 7 years ago by morcen, updated 7 years ago by morcen.

Windows Web Development With AMPPS, NetBeans and XDebug

  1. Operating system: Windows
4 0
6 followers
Viewed: 29 753 times
Version: 1.1
Category: Tutorials
Created 7 years ago by yJeroen, updated 11 months ago by CeBe.

How to learn Yii?!

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: 95 543 times
Version: all
Category: Tutorials
Created 7 years ago by bingjie2680, updated 7 years ago by bingjie2680.

Yii Security-extended guide

This article is called extended guide is because there is already a security guide in the Yii tutorial security section. but that guide is not complete in the sense that it does not rise the developers' attention to some other commonly happening attacks: SQL injection and magic URL, which can be major vulnerabilities in you...

6 6
12 followers
Viewed: 23 550 times
Version: 1.1
Category: Tips
Created 6 years ago by rix.rix., updated 6 years ago by rix.rix..

MVC primer and 5 minute form walkthrough

This tutorial assumes some basic knowledge of Yii and a functional development environment.

8 0
6 followers
Viewed: 22 998 times
Version: 1.1
Category: Tutorials
Created 6 years ago by Asgaroth, updated 6 years ago by Asgaroth.

XUpload Workflow

This wiki describes a more complex workflow using the XUpload widget

28 0
43 followers
Viewed: 80 793 times
Version: 1.1
Category: Tutorials
Created 6 years ago by Ben, updated 6 years ago by Ben.

Create Yii Project In Cloud9

This tutorial will guide you through the process of creating a yii application using Cloud9. We will use a git workspace to enable version control and also show how to link the Cloud9 workspace to GitHub.

2 0
5 followers
Viewed: 30 069 times
Version: 1.1
Category: Tutorials
Created 6 years ago by Asgaroth, updated 6 years ago by Asgaroth.

Additional form data with XUpload

In this article you'll learn how to send additional form data when uploading files using XUpload widget

7 0
13 followers
Viewed: 40 056 times
Version: 1.1
Category: How-tos
Created 6 years ago by rackycz, updated 3 years ago by rackycz.

Yii for beginners 2

This is second article with my tutorial. I had to add it because Wiki article has limited length and as I was extending it's text, older paragraphs were disappearing. So here I am starting from chapter 6.

15 0
24 followers
Viewed: 60 257 times
Version: 1.1
Category: Tutorials
6 1
10 followers
Viewed: 47 545 times
Version: 1.1
Category: How-tos