4 ms·
why does this require its own application to launch it? wouldnt it be fairly easy to make this connect/express middleware?
by tlack 14y ago
why does this require its own application to launch it? wouldnt it be fairly easy to make this connect/express middleware?
- rgbrgb 14y agoYes, DNode (https://github.com/substack/dnode https://github.com/substack/dnode) will actually do most of this stuff and it is a pluggable library. 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.