Wiki

Articles tagged with "tutorial"X
Displaying 11-20 of 20 result(s).

Adding search to Yii blog example (using Zend Lucene)

Created about a year ago by dckurushinTutorials15 comments – viewed 36,114 times – ( +28 / -2 )
For this tutorial I will add a search to the blog demo. The search would be based on Zend Lucene.

Send asset folder path to a javascript of a widget

Created about a year ago by sensorarioTips4 comments – viewed 10,461 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 Ajax calls to render different Views

Created about a year ago by Antonio RamirezTips4 comments – viewed 11,384 times – ( +10 )
I had to partially render two types of views, depending on user selection. Wanted to display a GRID or a LIST style with an event that AJAX'ed new contents and update a layer with them.
tags: tutorial, AJAX, views

Avoiding duplicate script download when using CActiveForm on Ajax calls

Created about a year ago by Antonio RamirezTutorials2 comments – viewed 10,432 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.

Our WebApp that will run without downtime during update/upgrade

Created about a year ago by Pinoy CoderzTutorials3 comments – viewed 6,153 times – ( +8 / -2 )
How many of us wonder how we can upgrade the website without hurting the operation of our WebApp?
tags: tutorial

Custom Autocomplete Display and Value Submission

Created about a year ago by Antonio RamirezHow-tos5 comments – viewed 22,116 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?

Implementing a User Level Access System

Created 2 years ago by Antonio RamirezTutorials10 comments – viewed 27,345 times – ( +27 )
I would like to provide you a quick tip on how to implement user level access to your Yii applications.

How-To: Create a REST API

Created 2 years ago by jwernerHow-tos38 comments – viewed 110,447 times – ( +87 / -1 )
This article will explain how to create a REST API with the Yii framework.

Actions code reuse with CAction

Created 2 years ago by Antonio RamirezHow-tos13 comments – viewed 18,066 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

Created 2 years ago by WoilTutorials5 comments – viewed 9,241 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".