Show HN: Joint, a real-time Node.js framework for single page apps
github.com
github.com
Also, I was kind of surprised that the project logo was a skeleton judging from the project description: "A hand-rolled real-time Node.js framework for connecting single page apps".
>A hand-rolled real-time Node.js framework >hand-rolled >joint
It's a better idea to do:
"dnode" : "~0.9.11",
"browserify" : "~1.10.17"
since that way you'll get patch fixes automatically but your library won't break when I push out an update that bumps the minor version, which could including backwards-incompatible changes.Edit: I just switched it to use version numbers.
However, with any library that you simply require in your node.js app, there is a certain amount of boilerplate code and HTTP stuff that you have to deal with before writing your remotely accessible functions and application code. With Joint, we were trying to figure out the most minimal way to whip up a single page web app that does some real-time stuff. We think that not exposing protocol/header stuff makes programming this stuff a little more fun.
Also see the responses regarding DNode.
If there's logic there that you need, Joint isn't going to work out. If you can get by with the limitation of just serving static files, Joint will take care of that setup and encourage you not to reach for HTTP when you add a feature, nothing personal.
"a non-real-time system is one that cannot guarantee a response time in any situation, even if a fast response is the usual result"
http://en.wikipedia.org/wiki/Real-time_web
Do you have a better term to describe web-based systems that offer the appearance (to humans) of instant communication with the web server?
For Joint, we wanted to make a really clean interface just for single page apps where you're only focusing on function calls rather than HTTP headers, cookies, routes, etc. A lot of the small 1-off apps we were making and thinking of making just had a couple HTTP requests for static files then a bunch of AJAX or socket.io calls. We think that in this case, the limitations imposed by Joint will help inspire creative solutions.
Are there any nice ZeroMQ libraries that run in the browser?