This post mentions some of the issues we faced while implementing XMPP chat with ejabberd server and solutions for it. Our’s is a rails app that uses ejabberd as chat server.

1) User registration from our app -

Our requirement is that when a new user signs up to our app, a new ejabberd account needs to be creat...
Continue reading

We used macman’s juggernaut for realtime push notifications and chat for one of the rails apps. It was used in a 6 year old legacy app with socket.io’s long polling mechanism. nodejs used was of version 0.2.4. Things have changed so much in the realtime app’s space since then and juggernaut is deprecated now.

We needed to upgrade juggernaut to get the following -

Below are some of the details on how to convert a traditional synchronous rails webapp to a complete ajax app. Will try to list out a the gems used for this and lessons learnt during this process.

Why do you need this ?

The main reason we wanted to do this is to keep the user on the same page through out the interactions. T...
Continue reading

Slides from one of our tech talks where a few tips and tools for JS apps are mentioned. This is just a first talk in the series of javascript related discussions.

Topics include -

  1. OOP & Inheritance - prototype based objects, inheritance & multiple inheritance with ring.js
  2. Enhanced functional behavior - underscore.js
  3. Running tasks - grunt.js
  4. Writing tests - jasmine
  5. Packaging the code - npm & bower
Continue reading

It is common for the product development world to categorize organizations as either ‘Product centric’ or ‘Customer centric’ and stress on the point that you need to be ‘Customer centric’ to sremain successful. In my opinion, there are no separate entities called ‘Product centric’ and ‘Customer centric’ . Every product development company needs to be ‘product centric’ and every product being built needs to be ‘Customer centric’. This results in compounding the customer satisfaction. Especi...
Continue reading