Wiki

Displaying 151-160 of 719 result(s).

Upload files in Yii2 with MongoDb and GridFs

Created 10 months ago by edoardo849How-tos3 comments – viewed 8,300 times – ( +7 ) – version 2.0
Uploading files in a webapp can be extremely tricky and sometimes the quickest way to do it is to store the file directly in the webserver or into a DNS (like Amazon S3) and then to save the link and the metadata inside a table in the DB. The thing is that you'll have to deal with file permissions, server storage, file management and so on (which is perfectly fine, by the way).

Filter & Sort by calculated/related fields in GridView Yii 2.0

Created 10 months ago by Kartik VTutorials20 comments – viewed 22,038 times – ( +36 / -4 ) – version 2.0
This wiki explains how to add calculated fields into your Yii Framework 2.0 gridview with filtering and sorting.

How to implement magento cron on yii

Created 10 months ago by Ankit ModiHow-tos0 comments – viewed 2,859 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.

Saving CGridView filter

Created 10 months ago by sefburhanTutorials5 comments – viewed 4,739 times – ( +27 ) – 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

Integrate Zend 2 XML writer into Yii

Created 10 months ago by JonnyTutorials0 comments – viewed 2,844 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

How to create Module based Login

Created 11 months ago by turiHow-tos1 comment – viewed 8,701 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.

Tags manipulation using Select2 in single field

Created 11 months ago by sefburhanTutorials0 comments – viewed 3,340 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.

Simple Multiple Environment Setup with Default Yii Installation

Created 11 months ago by turiHow-tos2 comments – viewed 4,190 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.

Database Driven CMenu

Created 11 months ago by PreacherTutorials0 comments – viewed 2,891 times – version 1.1
Purpose

Simple Web APIs for your Yii App

Created 11 months ago by shivHow-tos4 comments – viewed 8,326 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