Tuesday, July 29, 2014

High performance PHP application architecture

Limundo/Kupindo websites daily have more than 300 000 visitors which generate 10 million page views per day. During peak hours around 10 000 users are online simultaneously. On the other side, speed, stability and scalability are three main requirements that need to be matched. Currently, Limundo is a self-configurable High Availability system that achieves page loads of under 1s and 99.999% uptime, while manipulating more than 15 TB of data on a monthly basis. This paper describes software and hardware architecture spread over several server clusters hosted in the private cloud, that makes this possible.

Google bug-hunting game helps developers find XSS security flaws

Security researchers and businesses can use a new Google game to find a much-abused vulnerability considered one of the world's top three web security threats.

This security game consists of several levels resembling real-world applications which are vulnerable to XSS - your task will be to find the problem and attack the apps, similar to what an evil hacker might do.

XSS bugs are common because they have a nasty habit of popping up wherever a webapp deals with untrusted input. Our motivation is to highlight common coding patterns which lead to XSS to help you spot them in your code.

Link to game: https://xss-game.appspot.com/


Monday, July 28, 2014

PhoneGap Architecture


Installing & starting with PhoneGap on Windows for cross platform mobile development

Here are a few very useful links for Android / PhoneGap developers:

PhoneGap documentation : http://docs.phonegap.com/en/edge/guide_overview_index.md.html#Overview
Installing & starting with PhoneGap on Windows: http://chrisbitting.com/2014/01/06/installing-starting-with-phonegap-on-windows-for-cross-platform-mobile-development/
Android SDK: http://developer.android.com/sdk/index.html
How to use a Command-Line Interface ( cordova ): http://docs.phonegap.com/en/edge/guide_cli_index.md.html#The%20Command-Line%20Interface
Here you can generate the icons for your App: http://www.gieson.com/Library/projects/utilities/icon_slayer/
This link also could be useful ( Four Ways To Build A Mobile Application ) : http://www.smashingmagazine.com/2014/02/11/four-ways-to-build-a-mobile-app-part3-phonegap/

Here are some links which could be useful if you have a trouble with some parts:

If you try to update the SDK version but you get an error I recommend that you delete the current version of the Eclipse/SDK and download the latest version. It worked for me.

How to set the path and environment variables in Windows: http://www.computerhope.com/issues/ch000549.htm
How to enable debugging on android phone : http://www.groovypost.com/howto/mobile/how-to-enable-usb-debugging-android-phone/