Wiki

Articles in category "how-tos", sorted by date (updated)X
Displaying 161-170 of 352 result(s).

A Multi-Tenant Strategy using Yii and MySQL

Updated 2 years ago by CeBeHow-tos9 comments – viewed 20,068 times – ( +10 ) – version 1.1
This article describes an implementation of multi-tenancy using Yii and MySQL.

How-To: Create Token Authenticated Web Services

Updated 2 years ago by CeBeHow-tos1 comment – viewed 21,257 times – ( +8 ) – version 1.1
This article is about implementing authentication to Yii based web services.

HOW TO: Use token based authentication

Updated 2 years ago by CeBeHow-tos2 comments – viewed 16,188 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.

Simple Web APIs for your Yii App

Updated 2 years ago by CeBeHow-tos4 comments – viewed 15,617 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

Simple Multiple Environment Setup with Default Yii Installation

Updated 2 years ago by CeBeHow-tos2 comments – viewed 6,698 times – ( +4 ) – 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.

How to create Module based Login

Updated 2 years ago by CeBeHow-tos1 comment – viewed 12,161 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.

How to implement magento cron on yii

Updated 2 years ago by CeBeHow-tos0 comments – viewed 4,546 times – version 1.1
Hi Friends, First I would to say sorry but I am not very familiar to magento so after a 1 week spend I will implement the magneto cron functionality on yii I hope it's may be some helpful.

How to apply a layout to an AJAX update

Updated 2 years ago by CeBeHow-tos1 comment – viewed 6,830 times – ( +1 ) – version 1.1
The template system in Yii is quite flexible. By default you have three layers of content:
tags: AJAX, views

Upload image and content using AJAX and Store it in different table

Updated 2 years ago by CeBeHow-tos1 comment – viewed 45,257 times – ( +3 ) – version 1.1
We all know how to upload the content and images at the same time with refreshing the page. And uploading the images using Ajax we have faced some issues, here i have fixed the issues and both content and photos are uploaded using Ajax. And both content and images are stored in the different tables

Configuring Yii to run on both Windows and OSX

Updated 2 years ago by CeBeHow-tos2 comments – viewed 4,730 times – ( +2 ) – version 1.1
If you develop your Yii project on both Windows and Mac, there can be a problem setting up the configuration unless the configurations for both system are identical. On my machines I have the following configurations:
tags: config