Articles tagged with "tutorial"X
Displaying 21-30 of 31 result(s).

Yii for beginners

Created 5 years ago by rackyczTutorials13 comments – viewed 290,177 times – ( +99 ) – version 1.1
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.

Adding search to Yii blog example (using Zend Lucene)

Created 5 years ago by dckurushinTutorials21 comments – viewed 72,261 times – ( +33 / -3 ) – version 1.1
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 5 years ago by sensorarioTips4 comments – viewed 22,077 times – ( +4 ) – version 1.1
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 5 years ago by Antonio RamirezTips6 comments – viewed 22,821 times – ( +13 / -1 ) – version 1.1
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 5 years ago by Antonio RamirezTutorials2 comments – viewed 19,066 times – ( +12 / -1 ) – version 1.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 5 years ago by Pinoy CoderzTutorials3 comments – viewed 9,779 times – ( +8 / -2 ) – version 1.1
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 5 years ago by Antonio RamirezHow-tos6 comments – viewed 44,127 times – ( +14 / -1 ) – version 1.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 5 years ago by Antonio RamirezTutorials12 comments – viewed 51,569 times – ( +28 / -1 ) – version 1.1
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 5 years ago by jwernerHow-tos56 comments – viewed 330,881 times – ( +113 / -1 ) – version 1.1
This article will explain how to create a REST API with the Yii framework.

Actions code reuse with CAction

Created 5 years ago by Antonio RamirezHow-tos13 comments – viewed 39,996 times – ( +36 ) – version 1.1
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