Wiki

Sorted by date (updated)X
Displaying 1-10 of 784 result(s).

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

Updated 2 days ago by Luis Lobo BorobiaTips0 comments – viewed 6,360 times – ( +2 / -1 ) – version all
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.

Working with relational removals by yii2

Updated 16 days ago by AndroideLPTutorials1 comment – viewed 5,722 times – ( +1 / -1 ) – version 2.0
This tutorial shows you how to safely and safely remove relationships between relationships and multiple lines.

Building a REST API in Yii2.0

Updated about a month ago by sirin kTutorials6 comments – viewed 102,047 times – ( +9 / -1 ) – version 2.0
This is wiki page is useful if you are trying to build a customized REST API in Yii2.0
tags: yii2.0, REST API

Write & use a custom Component in Yii2.0

Updated about a month ago by sirin kHow-tos5 comments – viewed 63,377 times – ( +18 / -1 ) – version 2.0
This is a simple example in Yii2.0 to understand how you can write a custom component and use it inside your app.(basic template)

Solution for session lose of Facebook iframe application in Internet Explorer .

Updated about a month ago by sirin kTips0 comments – viewed 8,348 times – ( +2 / -1 ) – version 1.1
Facebook iframe app’s session is losing in Internet Explorer when doing a second redirection inside the facebook iframe app.The main reason is ,by default IE wont allow cookies in its priavacy settings If cookies not available means session is also not available for our Facebook iframe app in IE.

Storing your images in your table's blob field and displaying that stored images.

Updated about a month ago by sirin kHow-tos7 comments – viewed 33,236 times – ( +9 / -2 ) – version 1.1
He im giving you a very simple example ie how you can store an image to your blob field in a table.Hope you already familiar with the normal image upload.
tags: blob, image

mysql performance tip

Updated about a month ago by sirin kTips2 comments – viewed 10,134 times – ( +2 / -2 ) – version 1.1
When we are doing an insert of huge no.of rows into an SQL table ,Normally we will try to write separate insert quries this may lead us to a long duration of execution time and we can increase the speed of executing SQL quries by adding all the rows into a single insert query.
tags: mysql

Displaying image in a CGridView column.

Updated about a month ago by sirin kHow-tos5 comments – viewed 62,262 times – ( +13 / -2 ) – version 1.1
This is a simple example of how we can display images in CGridviews.Imagine that you have an image field in your table ie either a location field or a blob type field used to store the images.
tags: CGridView, image

Importing CSV file to mysql table using "LOAD DATA" command.

Updated about a month ago by sirin kTips6 comments – viewed 48,588 times – ( +7 / -1 ) – version 1.1
hi, Here i am giving you some simple step to import huge data from a csv file to your mysql table.this is useful when you have a very huge data to import from csv format.
tags: csv, mysql, import

Get notified about the status of a Facebook user in your web app using periodic Ajax calls.

Updated about a month ago by sirin kTips0 comments – viewed 7,494 times – ( +4 / -1 ) – version 1.1
hello, This article is helpful only if you have the following situation: A web app which uses facebook login to login its users and if a user is logged out from his/her facebook account through another browser tab, then your app dont know that he is logged out out or not from his facebook account and he/she will remain as logged in your web application.Its ok if you have no problem with this situation.But if you want to forcefully logout the user from your application if he is logged out from his facebook account means you can try this example.This example uses periodic ajax calls to facebook's graph api to check whether the user is logged in or not.
tags: facebook, user