Questions tagged [socketstream]

SocketStream is a fast, modular Node.js web framework dedicated to building realtime single-page apps.

SocketStream is a new breed of web framework that uses websockets to push data to the browser in 'realtime'. It makes it easy to create blazing-fast, rich interfaces which behave more like desktop apps than traditional web apps of the past.

By taking care of the basics, SocketStream frees you up to focus on building your social/chat app, multiplayer game, trading platform, sales dashboard, or any kind of web app that needs to display realtime streaming data. All personal tastes (e.g. Vanilla JS vs CoffeeScript, Stylus vs Less) are catered for with optional npm modules that integrate perfectly in seconds, without bloating the core.

SocketStream eases the pain by:

  • Integrating best-of-breed modules to increase productivity
  • Providing a sensible place to put everything
  • Accelerating development with Live Reload and (optional) support for Stylus, Jade, etc
  • Accelerating deployment with integrated asset packing and CDN support
  • Organizing spaghetti client-side code into modules you can require()
  • Working well with all major client-side frameworks (e.g. Backbone, Ember, Angular)
  • Making it easy to hookup Redis, MongoDB, CouchDB or other storage engines
  • Providing an active community to answer your question

SocketStream is MIT licensed.

41 questions
0
votes
1 answer

`$ socketstream start` not working

I installed SocketStream and created a demo app with the socketstream new [appname] command. It worked fine, but I was only able to start it with node app command. Some reference suggests using socketstream start from the command prompt. When I…
Wylie Kulik
  • 696
  • 5
  • 17
0
votes
1 answer

Socketstream - handling an array with Jade+Hogan templates

I am using Socketstream default stack with Jade and ss-hogan for templating. I love it, except I can't figure out how to print a list. Example: client.js html = ss.tmpl['game-full'].render({ name: 'GTA IV', platforms: [{ name: 'ps3' },…
Simon Lang
  • 40,171
  • 9
  • 49
  • 58
0
votes
1 answer

How to use tropo with node.js-socketstream framework?

In my application im using node.js with socketstream framework.Now i need to use tropo module to send an sms,receive an sms,make a call and answering an incoming call.I installed tropo-webapi using npm.i added this node code in server side.While…
MAAAAANI
  • 186
  • 1
  • 10
0
votes
1 answer

I'm getting following error while using node.js with socketstream."throw new Error("Cannot find module '" + x + "'")"

I'm using node.js with socketstream..I'm getting following error while running my "appln.Cannot find module '/entry' [Break On This Error] throw new Error("Cannot find module '" + x + "'") NewNodeProject client -code -app …
MAAAAANI
  • 186
  • 1
  • 10
0
votes
1 answer

How to require socketstream in client side

I'm using node.js with socketstream while calling server side function.I'm getting 'ss is not defined error'.Can i require that socketstream.how can i require the socketstream. ss.rpc('User.saveUserInfo',name,pwd,function(res){ …
MAAAAANI
  • 186
  • 1
  • 10
0
votes
1 answer

Client side js files are not loading while using node.js with socketstream

I'm using node.js with socketstream.Client side js files are not loading and also im getting ss is not defined error in client side while calling server method. This is my app.js file var ss = require('socketstream'), express =…
MAAAAANI
  • 186
  • 1
  • 10
0
votes
1 answer

Socketstream not loading client libraries

I'm just getting started with socketstream. I tried to create a hello world app: var http = require('http'), ss = require('socketstream'); ss.client.define('main', { view: 'app.html', css: ['libs'], code: ['app','libs'], tmpl:…
user1167650
  • 3,177
  • 11
  • 34
  • 46
0
votes
1 answer

SocketStream - Detect when client disconnect from server side

Is there a way to detect when a client disconnect from the server side? app.js ss.event.on("close",function(session){ console.log(client disconnected); }); thanks
0
votes
2 answers

SocketStream.js without client side how to?

I am interested in develop a rt module for my website with socketstream + node.js. I am only interested in do the server side in socketstream, not the client side. How can I access the socketstream from a normal php/html app, wich js i have to…
0
votes
1 answer

i18n with compiled templates?

I have templates that are compiled on production builds using socketstream and Hogan.js. The problem is that when I am on the client side and fetch the template, I need to bind it to a JSON language file with a set of key value pairs. The files…
Abadaba
  • 1,456
  • 7
  • 20
  • 30
0
votes
1 answer

Un-render a template view with hogan.js

Is there any way to un-render a template with hogan.js. You can just hide it, but that leave's a lot of elements with id's and it can mess up further effects on your site. I have looked around, but can't find an answer to this. Thanks
Eoin Murray
  • 1,935
  • 3
  • 22
  • 34
1 2
3