Wiki

Displaying 131-140 of 600 result(s).

Using Nginx and Apache2 in separate distributed servers (ie, Amazon EC2 instances)

Created 11 months ago by Luis Lobo BorobiaTips0 comments – viewed 3,247 times – ( +2 )
We are running one frontend running NGINX and several app servers running Apache2. There are several issues we have come across but right now I'll be documenting one of them. I'll be completing this article when I get more time.

Simple Mail Queue

Created 11 months ago by waterloomattTutorials1 comment – viewed 5,927 times – ( +8 / -2 )
This tutorial shows how to create a simple mail queue. It is usually run from a cron job but can be run from the command line too.

AngularJS Frontend:Connecting it with a Yii Backend REST API.Gallery Manager Demo Application.

Created 11 months ago by drumaddictHow-tos15 comments – viewed 30,075 times – ( +19 )
AngularJS Frontend:Connecting it with a Yii Backend REST API.Gallery Manager Demo Application.

Using CListView to display items next to each other (in columns)

Created 11 months ago by thyseusTips3 comments – viewed 7,081 times – ( +8 )
When using CListView to display multiple views next to each other, we can use the $index variable inside the viewFile to achieve this. As far as i know there is no extension or out-of-the-box functionality for this, so we need to apply a little hack:

Debugging CActiveRecord failed save() attempts

Created 11 months ago by BoazTips0 comments – viewed 6,400 times – ( +4 ) – version 1.1
When you're filling up a form of a CActiveRecord (using CActiveForm for example), usually you'll construct your code so that in case of validation error you'll get back the form with the error displayed back to you, typically when CActiveForm.errorSummary() is used. This is how its done by Gii.

How to Setting Layouts in Yii

Created 11 months ago by ruderbytesHow-tos2 comments – viewed 28,066 times – ( +2 / -5 )
usually someone confused to make layouts in yii.

Cron Jobs in Yii

Created 11 months ago by aarondfrancisHow-tos1 comment – viewed 10,557 times – ( +4 )
I've gotten Yii running cron jobs, and wanted to explain briefly how I did it.

Disable login page if user is logged in

Created 11 months ago by freezingbananaTutorials2 comments – viewed 10,774 times – ( +3 / -13 )
This is a very simple tutorial that demonstrates how to redirect user back to the returnUrl if he is already logged in.

Creating a Simple CRUD App With Yii2 (Revised 12/20/2013)

Created 11 months ago by Charles R. Portwood IITutorials3 comments – viewed 42,899 times – ( +8 / -7 ) – version 2.0
Creating a Simple CRUD App with Yii Framework 2 (Updated December 20th, 2013)
tags: yii2, tutorial, howto

Logging to Heroku's logs from Yii

Created 11 months ago by aarondfrancisHow-tos0 comments – viewed 2,738 times – ( +2 )
In order to get your Yii logs into Heroku's logs, you have to work a little bit of magic. You'll need to modify the boot.sh script and add the following two lines:
tags: heroku, Logging