Wiki

Articles tagged with "tutorial", sorted by date (updated)X
Displaying 11-20 of 20 result(s).

MVC primer and 5 minute form walkthrough

Updated 11 months ago by rix.rix.Tutorials0 comments – viewed 11,601 times – ( +8 )
This tutorial assumes some basic knowledge of Yii and a functional development environment.
tags: Forms, tutorial, mvc

Custom Autocomplete Display and Value Submission

Updated 11 months ago by SebKHow-tos5 comments – viewed 21,373 times – ( +12 / -1 )
How many of us has wondered how to create an autocomplete that will display the names of a related models but do require the id of that selected name to be submitted for model creation/update?

How-To: Create a REST API

Updated about a year ago by jwernerHow-tos38 comments – viewed 103,891 times – ( +86 / -1 )
This article will explain how to create a REST API with the Yii framework.

Yii Security-extended guide

Updated about a year ago by bingjie2680Tips11 comments – viewed 9,756 times – ( +6 / -6 )
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 your application without much caring.

Implementing a User Level Access System

Updated about a year ago by Darwin WenTutorials9 comments – viewed 26,215 times – ( +27 )
I would like to provide you a quick tip on how to implement user level access to your Yii applications.

Windows Web Development With AMPPS, NetBeans and XDebug

Updated about a year ago by macinvilleTutorials1 comment – viewed 12,186 times – ( +4 )
This article will discuss how to setup your web development environment with the following specifications:

Send asset folder path to a javascript of a widget

Updated about a year ago by sensorarioTips4 comments – viewed 10,011 times – ( +4 )
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:

Avoiding duplicate script download when using CActiveForm on Ajax calls

Updated about a year ago by Maurizio DombaTutorials2 comments – viewed 9,932 times – ( +11 / -1 )
Sometimes the active form we wish to use to edit/add a new element on our database is too small and we believe that is much better to use an AJAX'ed dialog/slide form rather than reloading the page to just display one or two fields.

Actions code reuse with CAction

Updated 2 years ago by Antonio RamirezHow-tos13 comments – viewed 17,251 times – ( +30 )
We all know how good 'gii' automates the code for us and we normally tend to be happy with what that tool offers at the beginning of our Yii learning curve. But as soon as you start working in larger and larger projects, you realize that its code is too repetitive to maintain and having a small pitfall in general actions means to go over and over through them to fix the issues.
tags: CAction, Tutorial

Impersonate Users within Yii Framework

Updated 2 years ago by WoilTutorials5 comments – viewed 8,991 times – ( +20 )
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".