JavaScript has two equality comparison operators == and ===. Let's see what is the difference between them in the following tables:

Javascript and Geolocation Tricks

September 25th 2013, 8:50 amCategory: Mobile 0 comments

Getting Geolocation using ECMAScript/Javascript using:

navigator.geolocation.getCurrentPosition(onSuccess, onError, positionOptions) function can be a bit tricky. In this post, I'll explain some parameters that control Geolocation which apply to PhoneGap, mobile web and web as well.

Sencha Touch vs PhoneGap

July 16th 2013, 5:49 pmCategory: Mobile 3 comments

In a previous post, I explained the differences between PhoneGap and Titanium. In this post, I’ll continue the series with PhoneGap vs Sencha Touch.

What is Sencha?

First off, Sencha Company has been formed in April 2011 as a merge result of Ext JS, jqTouch and Raphaël. Now, it has an array of products to design, develop, and deploy cross-platform desktop and mobile applications. All Sencha products are paid and proprietary, except Ext JS and Sencha Touch that have free licenses. These products are:

Rasem, draw SVG images using ruby

April 17th 2011, 5:06 amCategory: Ruby 1 comments

The web is moving to HTML 5 where SVG images are the standard images to use. But how to generate SVG images to include? You might draw static SVG images and include them in your web site but this will not help with generated SVG images with dynamic data. Of course, you can read the complete specification of SVG and generate your own images; these are a few hundreds of pages; good luck with that :)