Quantcast
Channel: Tech Aways » milcom
Browsing all 13 articles
Browse latest View live

Handling jQuery AJAX callbacks with Promises

I was exploring the Asynchronous Features of Grails 2.3 through a sample application and had asked my friends to take a look at it through the FB page. Bhagwat Kumar commented that many Javascript...

View Article



Memoize with JavaScript and Groovy

While trying to explore the powers of JavaScript, I came across an interesting concept wherein functions can have properties assigned to them dynamically and can be used for Memoization. It is the...

View Article

Grails : Appending inline javascript to the bottom of the layout

Even though inline JavaScript is not a very good idea, there are times when we need to invoke some function from within our page. Usually, this is done by putting it at the bottom of the page. However,...

View Article

Tech Aways: Building Weather-Express

A few things like Ratpack, AngularJS, Heroku etc had been on my radar for quite a while now and over the weekend, I decided to spin up a simple application. You provide the city, it’ll show you the...

View Article

Using Redis to Maintain Page Visit Counts

Having made up my mind to use Weather Express as a playground, the next thing I decided to add was a page which lists the top 5 most searched cities. This is a very easy functionality to achieve using...

View Article


Things that need fixing in the Indian IT scene

I have been part of the Information Technology services industry for the last 5 and a half years. During this time, I have had exposure to the good, the bad, the ugly and the uglier side of IT. Below...

View Article

(Mis)Understanding Hierarchy

When talking to prospective employees, the flatness of the organization is something that gets thrown around very often. The standard response given is that the company is flat, but to give a career...

View Article

(Mis)Understanding Hierarchy – A comment

While talking to my good friend @parousia54, he made some valid points which, he was kind enough to compile into a piece and send on email. Though it was a comment for the original article, I felt that...

View Article


Geospatial querying with Mongo DB

I had the need to store and query coordinates on a map for displaying them on Google Maps on a node.js application that I was working on. Using Mongo DB and the “mongodb” module, it was really a...

View Article


Re-using the Database connection to MongoDB on Express.js

Our application had to start interacting with multiple collections in the MongoDB instance. After thinking about how to structure it, we decided to add a DB Connector module that would first connect to...

View Article

Invoking a callback after multiple async callbacks have been made in...

While building xkcd.milcom.in, I had the need to be able to invoke multiple http calls in parallel and push the results from the those calls into an array in $scope in the order in which they were...

View Article

Unit testing asynchronous methods in node.js with jasmine-node

Writing unit tests for node.js applications can be a pain, considering the amount of asynchronous callbacks that get executed. Jasmine-node provides a really elegant way to test such functions. The...

View Article

Debugging node.js applications with node-inspector

As someone who likes to play around with node.js for side projects, and without an IDE for developing the applications, it’s quite important for me to have some sort of debugging tool so that I can...

View Article

Browsing all 13 articles
Browse latest View live




Latest Images