Wiki

Articles in category "how-tos"X
Displaying 121-130 of 355 result(s).

Simple Web APIs for your Yii App

Created 3 years ago by shivHow-tos4 comments – viewed 19,181 times – ( +2 / -3 ) – 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

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

Created 3 years ago by tophHow-tos2 comments – viewed 35,883 times – ( +1 / -2 ) – version 1.1
This is a shortcut for adding a text search for multiple values i.e.

HOW TO: Use token based authentication

Created 3 years ago by le_topHow-tos2 comments – viewed 20,925 times – ( +5 / -1 ) – version 1.1
After reading the other wiki article regarding token based access, I thought that it might be interesting to share my method.

How to Create Pdf Report / Excel Report By Using Parameters (From - Until)

Created 3 years ago by ruderbytesHow-tos2 comments – viewed 26,692 times – ( +2 / -3 ) – version 1.1
Asslamualaikum Wr.Wb Hello I'm Fahmi Azain i will share wiki tutorial about Creating Pdf Report / Excel Report by using Parms / Parameters.

How-To: Create Token Authenticated Web Services

Created 3 years ago by hemcHow-tos1 comment – viewed 24,707 times – ( +8 / -1 ) – version 1.1
This article is about implementing authentication to Yii based web services.

A Multi-Tenant Strategy using Yii and MySQL

Created 3 years ago by JFReyesHow-tos9 comments – viewed 23,897 times – ( +10 / -1 ) – version 1.1
This article describes an implementation of multi-tenancy using Yii and MySQL.

Take more control of CGridview and model searching (related model or another controller)

Created 3 years ago by Kostas Apazidis (KonApaz)How-tos5 comments – viewed 31,512 times – ( +5 / -1 ) – version 1.1
Suppose you have an Application in Yii that manages hotels each one has many customers.

Using Apostle.io to send formatted, trackable emails from Yii applications

Created 3 years ago by MikeTHow-tos0 comments – viewed 4,827 times – ( +1 / -1 ) – version 1.1
Apostle provides a nifty facility for sending app-generated, transactional emails from your application including Wordpress-like mail formatting and full tracking (delivery, opening, clicking etc.) of all emails sent. No need to set up email facilities on your app server!
tags: email, mail

ClientValidation for files (modern browsers)

Created 3 years ago by Kostas Apazidis (KonApaz)How-tos0 comments – viewed 10,176 times – ( +4 / -1 ) – version 1.1
There are cases that you want to validate the file format, size, extension etc but how to do that without submit the form ?

Update a part of content using AJAX when select a GridView row

Created 3 years ago by Kostas Apazidis (KonApaz)How-tos2 comments – viewed 19,976 times – ( +4 / -1 ) – version 1.1
Suppose you want to refresh a form or any content when a single row of CGridView is selected