Prabhu Sunderaraman

Issues with standalone jQuery/jQuery Mobile

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 […]

Powerpoint training or Coding workshop?

During one of the conferences a couple of years back in Bangalore after an hour and half of my talk(!!!) on Flex MVC, one of the organizers quipped, “Oh, this is not a presentation, it’s a workshop”, much to my […]

Unit testing JavaScript – III

Unit testing JavaScript – III

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 […]

Unit testing JavaScript – II

Unit testing JavaScript – II

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 […]

Unit testing JavaScript – I

Unit testing in JavaScript is an overlooked concept. With the increase in use of JavaScript in applications, testing JavaScript code has become an imperative task. A number of developers who use JavaScript, particularly jQuery ignore testing the JS code. They […]