Backbone.js provides an API to work effortlessly with RESTful services. In this post, you’ll see an example of a jQuery-backbone application that talks to RESTful services created using Jersey. The model and collection classes in Backbone provide an “url” property […]
Given below is an attempt at creating a jQuery plugin that displays a google map pointing out the current location of the user. We’ve used HTML 5 Geo Location API to find out the coordinates (latitude and longitude) and pass […]
Scanning the code of my recently concluded project using jQuery and jQuery Mobile threw light on a number of issues with using these two libraries in a project. Yes, there are lot of positive points of using jQuery/jQM but let’s […]
In the earlier post, we discussed using QUnit to unit-test JavaScript. We didn’t have any UI in the example. Let’s build a simple UI to call the Calculator’s add and subtract functions. Let’s use jQuery to construct the UI as […]
In the earlier post, we discussed the need for unit testing JavaScript code. Continuing further, let’s write a simple piece of JavaScript code and test it using QUnit library. To begin with, let’s create a file calculator.js and have two […]