[Wiki] default csrf security and ajax post in one controller
Hello Yii friends I am going to write an article. Many times we write same code on every ajax call, but writing a single code in one controller is sufficient in ajax post with csrf security which is...
View Article[Extension] yii-billing
Provides your application with a billing-extensible model, independent of the persistence model.
View Article[Wiki] How to create a criteria condition for a multiple value text search...
This is a shortcut for adding a text search for multiple values i.e. ... WHERE [other conditions here] AND (name LIKE '%ABC%' OR name LIKE '%RET%' OR name LIKE '%Anything else%') ... For a scenario...
View Article[Wiki] Extension Development (beginner)
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,...
View Article[Wiki] Simple Web APIs for your Yii App
NOT COMPETED YET. Still writing .. 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...
View Article[Wiki] Database Driven CMenu
Purpose I thought I would share my experience trying to setup a database driven CMenu system. Hopefully this will help some people put together a database driven CMenu. Here are the tables I created...
View Article[Extension] help-system
Provides a custom help tool that can be very easily integrated with your web applications.
View Article[Wiki] Simple Multiple Environment Setup with Default Yii Installation
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...
View Article[Wiki] Tags manipulation using Select2 in single field
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...
View Article[Wiki] How to create Module based Login
Lets say we have 3 modules (customer, user, admin) in an application and we need, separate logins for each module. We can achieve this by adding a prefix to the name of session variable for each...
View Article[Extension] yii2-nestedsetbehavior
A straight Yii2 port of the famous NestedSetBehavior
View Article[Wiki] Integrate Zend 2 XML writer into Yii
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...
View Article