Monthly Archives: May 2011

using redis

This is a complete Redis client for node.js. It supports all Redis commands, including MULTI, WATCH, and PUBLISH/SUBSCRIBE. For portability, a pure JavaScript reply parser is used by default. Pieter Noordhuis has provided a binding to the official hiredis C … Continue reading

Posted in Node.js | Leave a comment

making slidshare presentation with

Ref : the git code . removig control bar code

Posted in Project Management | Leave a comment

online indentation

online html code indentation indentation online javascript code indentation indentation

Posted in Project Management | Leave a comment

how to check visibility of a div in jquery

if ($(‘#element_id:visible’).length > 0) console.log(‘the element is visible’); else console.log(‘the element is not visible’);   Ref :

Posted in UI Js | Leave a comment

Making singleton class and sending event to the class in javascript

e.g. I want to send login event that other class will execute when he recieve that event so . For that I will send and on property with the send data like this :           request.on = {                 login: … Continue reading

Posted in OOP, UI Js | Leave a comment

To change particular model data in collection in backbone.js

Collection Defination Contents = Backbone.Collection.extend({     model : Content,   initialize: function(models, args) {         console.log(‘in contents’+this.length);     },   content: function(objectid) {     return this.filter(function(content){ return content.get(‘objectid’)==objectid; });   } }); To change the model data  var … Continue reading

Posted in UI Js | Leave a comment

How to make big application in Backbone.js

To add the data to collection and we can see the list in firebug . App.Contents = new App.Backbone.Contents(data); Ref : making the global  variable like this. Add the collection variable in the app initialize to add in the … Continue reading

Posted in UI Js | Leave a comment

production vs development


Posted in Project Management | Leave a comment

html5 sending message from one frame to another of cross domain

Ref :

Posted in HTML | Leave a comment

Pass value from iframe to parent

Ref :

Posted in HTML, UI Js | Leave a comment