How is UAT performed?

By Nethru Limited (www.nethru.com)

thinkingUser acceptance Test (UAT) is a testing performed by the Client to ensure the system is completed as in the previous agreed requirement. This test occurs in the final phase of development, before launching the system to the Production environment.
Client, in great responsibility as the last guard of a production system, usually is not an IT expert. How are they going to perform a UAT? Here are some tips which can help.

Read more

Difference between jQuery attr() and prop()

By Nethru Limited (www.nethru.com)

jQuery

Starting from jQuery 1.6, they introduced the method prop(). According to the official document of jQuery, the reason they introduced this new method is due to inconsistent behavior when using attr() before jQuery 1.6.

Before jQuery 1.6, the attr() method sometimes took property values into account when retrieving some attributes, which could cause inconsistent behavior.

Someone may ask when we have to use attr() and when to use prop(), this is how the official document said.

To retrieve and change DOM properties such as the checked, selected, or disabled state of form elements, use the .prop() method.

That means they suggest us to use prop() when we are going to get the attributes when boolean result, like checked, disabled or selected.

Read more

Transition event in MIUI systems

By Nethru Limited (www.nethru.com)

xiaomi logo

Recently fixed a bug related to the abnormal behaviour for transition event in MIUI systems. Let’s see the following code.

$("#mypage").one('webkitTransitionEnd', function() {
   // do something after transition event ends
});

This code works without any problems in most of the Android devices. But when I try this in the devices using MIUI, this code does not execute. After searching on Google and testing, I found that webkitTransitionEnd is not supported in MIUI devices, instead it uses transitionend event. So I changed the script to the following and it works.

$("#mypage").one('webkitTransitionEnd transitionend', function() {
   // do something after transition event ends
});

Laravel framework update issue

By Nethru Limited (www.nethru.com)

Laravel

Laravel is one of the most popular PHP framework nowadays, and it surely is my first choice in doing projects using PHP. I am not writing about the advantages of using Laravel or teach you using it in this article here, instead, I am going to share with you an updating issue that I have solved recently.

Read more