Wiki

Sorted by date (updated)X
Displaying 141-150 of 677 result(s).

default csrf security and ajax post in one controller

Updated 2 months ago by CeBeTutorials2 comments – viewed 2,706 times – ( +1 / -1 ) – version 1.1
Hello Yii friends

How to create a criteria condition for a multiple value text search i.e a "LIKE IN"

Updated 2 months ago by CeBeHow-tos1 comment – viewed 7,359 times – ( -1 ) – version 1.1
This is a shortcut for adding a text search for multiple values i.e.

Extension Development (beginner)

Updated 2 months ago by CeBeTutorials2 comments – viewed 14,612 times – ( +33 ) – version 1.1
To extend the functionality of you web application relative to your requirements you are supposed to use existing yii core libraries or use external libraries. There are some steps to ensure security, uniqueness, modularity, performance and to avoid rework in future.

Simple Web APIs for your Yii App

Updated 2 months ago by CeBeHow-tos3 comments – viewed 5,395 times – ( +2 / -2 ) – version 1.1
Its very common now-a-days to have Mobile app for web apps. For Mobile apps we need web APIs to fetch data or even post/update on web. We found a very simple method to make such interface. Mobile App can call plain get or post request and receive data back in JSON format. JSON is relatively easy for mobile app to handle while plain standard GET/POST request for easy for Web server to handle. This mixed approach saves lot of time on server side. We not really need to handle actual REST requests and still be able to exchange data between web and mobiles or ajax java-scripts or even node.js.
tags: API, JSON

Database Driven CMenu

Updated 2 months ago by CeBeTutorials0 comments – viewed 2,282 times – version 1.1
Purpose

Simple Multiple Environment Setup with Default Yii Installation

Updated 2 months ago by CeBeHow-tos2 comments – viewed 3,316 times – ( +3 ) – version 1.1
After installing Yii basic application on our systems, most of the time we want to have multiple environment such as local, dev and live setup. Most of the times when we want to make changes to configuration file, we have to over-write configurations file for each environment.

Tags manipulation using Select2 in single field

Updated 2 months ago by CeBeTutorials0 comments – viewed 2,443 times – ( +33 ) – version 1.1
Sometime its very important to perform many actions/operation with limited time frame for friendly use, select2 provides a lot of such functionality , I just extend it tags functionality to provide a quick use for developer to save time, as I spent much time on it.

How to create Module based Login

Updated 2 months ago by CeBeHow-tos1 comment – viewed 5,748 times – ( +3 ) – version 1.1
Lets say we have 3 modules (customer, user, admin) in an application and we need, separate logins for each module.

Integrate Zend 2 XML writer into Yii

Updated 2 months ago by CeBeTutorials0 comments – viewed 1,977 times – ( +2 ) – version 1.1
By Integrating the Zend 2.* framework into Yii you can quickly and painlessly generate XML outputs from your controllers. This will be helpful to anyone who has never done this before or only done it with Zend 1 as the introduction of namespaces can be strange when you first view them.
tags: zend, XML

Saving CGridView filter

Updated 2 months ago by CeBeTutorials3 comments – viewed 2,738 times – ( +26 ) – version 1.1
In this tutorial we will try to save cgridview filter(search) with title etc. basically we want to save two forms data i.e one represents filters and other data about filters like title, description etc. You can define your own structure for filter saving table here are some basic steps