Sorted by viewsX
Displaying 431-440 of 761 result(s).

Using events with CAction classes

Created 4 years ago by Antonio RamirezTips0 comments – viewed 12,874 times – ( +9 ) – version 1.1
There are some good guides out there explaining how to work with events and the ways to attach them to your components, but none (that I know) explain the following way to configure your events with CAction classes on your controllers the following way.

More security in your applications with Yii and PHPIDS

Created 4 years ago by Rafael GarciaHow-tos1 comment – viewed 12,865 times – ( +8 ) – version 1.1
PHPIDS is a well known project that can be found in
tags: phpids, security

YII SaaS Multi Tenant application with single database

Created 2 years ago by Rajith RTutorials5 comments – viewed 12,828 times – ( +11 / -10 ) – version 1.1
Lots of people are asking how to solve it with YII,We think its difficult with YII. But its easy to solve . There is no database triggers needed . we can simply sove it by extending a class(say "RActiveRecord") from CActiveRecord .Then extend all our model classes from that class.

CJuiTabs Content

Created 3 years ago by mbalaTips3 comments – viewed 12,805 times – ( +6 ) – version 1.1
When I used CJuiTabs I did something. They are
tags: CJuiTabs

HOW TO: Use token based authentication

Created about a year ago by le_topHow-tos2 comments – viewed 12,795 times – ( +4 ) – version 1.1
After reading the other wiki article regarding token based access, I thought that it might be interesting to share my method.

Using SQLite and CDbMessageSource as a module

Created 3 years ago by pheadeauxHow-tos5 comments – viewed 12,776 times – ( +5 ) – version 1.1
There are scenarios when you work with DVCS (like Mercurial or Git) and CDbMessageSource. To my experience keeping the development database and production database in sync can be very time consuming. Plus, when working in a team, you never know when the database was updated.

Simple Web APIs for your Yii App

Created about a year ago by shivHow-tos4 comments – viewed 12,748 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

Save or Update Multiple related model values in one Tabular input form

Created about a year ago by Kostas Apazidis (KonApaz)Tutorials4 comments – viewed 12,652 times – ( +1 / -7 ) – version 1.1
In this wiki I will show you how to save/update a model with many related model For example: How to set a product to multiple categories only in one post form ?

How to change the confirmation message on admingridview button and call a ajax..Dynamic

Created 2 years ago by Ankit ModiTips0 comments – viewed 12,639 times – ( +3 ) – version 1.1
Hi Friends,

How to create a wrapper for a js library

Created 4 years ago by zaccariaHow-tos2 comments – viewed 12,638 times – ( +16 / -1 ) – version 1.1
This wiki will explain how to include a javascript library in a widget.
tags: wrapper, js, uploadify