Is NowJS scrapped?

Problem

It seemed to be a very promising project. But I guess it is dead right now, no commits and no longer official web site. Is there some announcement overcame? What you guys are using instead?

Regards!

Problem courtesy of: Ito

Solution

Socket.IO is a very good alternative for realtime communication. However, I think NowJS is a remote procedure call method, a little different from Socket.IO, you can have a look at Dnode module.

Solution courtesy of: Mustafa

Discussion

Due to age, refer to this question and answer now.


Yep. Now.js died and became Bridge, but then Bridge died too. There was also Hook.io, but that died too.

Currently Socket.io is the closest you'll find. v0.9 of Socket.io now supports now/bridge style acknowledgments allowing you to do things like:

// Server
var io = require('socket.io').listen(80);
io.sockets.on('connection', function (socket) {
  socket.on('ferret', function (name, fn) {
    fn('woot');
  });
});

// Client
var socket = io.connect(); // TIP: .connect with no args does auto-discovery
socket.on('connect', function () { // TIP: you can avoid listening on `connect` and listen on events directly too!
  socket.emit('ferret', 'tobi', function (data) {
    console.log(data); // data will be 'woot'
  });
});

Which is pretty close to what most people were using now/bridge for anyway. If you're after something more involved check the links in the first sentence of this answer for more detailed discussions.

Discussion courtesy of: balupton

This recipe can be found in it's original form on Stack Over Flow.