Live data from Hacker News

Ask HN: Examples of applications built with Node.js?

news.ycombinator.com

11–20 of 22 posts

Re: Ask HN: Examples of applications built with Node.js?

#11
The Node.js IRC channel displayed as a live Wargames-like map: http://wargamez.mape.me/

It was discussed a while back on HN: http://news.ycombinator.com/item?id=1477084

This source is on GitHub here: http://github.com/mape/node-wargames

Also, Node Knockout (http://nodeknockout.com/, a 'build a node app in 48 hours' competition) is happening at the end of August, and I expect some cool stuff to come out of that.

Re: Ask HN: Examples of applications built with Node.js?

#12
post #7

In fact, what would be a use case of Node.js? I know it is a rather interesting tech but other than that what do you/would you use Node.js for?

Being 'interesting tech' is a pretty good reason to experiment/learn something in my book. But besides that:

- You get to write JavaScript on your back-end and your front-end.

- It's evented (like Twisted, EventMachine, etc) which has proven popular/robust/fast recently (think FriendFeed).

- It handles insane amounts of requests/second (due to non-blocking IO and V8 awesomeness among other things).

- Did I mention you get to write more JavaScript? :)

- It makes it pretty easy to implement servers for other protocols than just straight vanilla http -- for example WebSockets implementations and so on.

Re: Ask HN: Examples of applications built with Node.js?

#14
post #9

Here's an offline-capable web application and underlying "network-straddling" framework running on Node: https://szpil.com Node is great for handling many concurrent clients. It extends the V8 interpreter with excellent low-level APIs: Posix, Tcp, Http, DNS. If you need to share Javascript code between client and server, Node is the best server-side Javascript environment you could choose to use.

What about ffi access? Could I load libmysql.so and use javascript wrapper around its functions or it must be implemented 'in pure Javascript'? ^_^

Re: Ask HN: Examples of applications built with Node.js?

#17

Here's a little Node.js/CoffeeScript application I worked on for a contest at a conference: Site: http://apiplayground.org Source: http://github.com/jashkenas/api-playground/blob/master/src/a... The source is interesting because it demonstrates something that you can't do easily with a regular Rails/Django app: nonblocking asynchronous calls to remote APIs, with synchronous responses to the ajax request.

I like it....

Re: Ask HN: Examples of applications built with Node.js?

#18
post #14
post #9

Here's an offline-capable web application and underlying "network-straddling" framework running on Node: https://szpil.com Node is great for handling many concurrent clients. It extends the V8 interpreter with excellent low-level APIs: Posix, Tcp, Http, DNS. If you need to share Javascript code between client and server, Node is the best server-side Javascript environment you could choose to use.

What about ffi access? Could I load libmysql.so and use javascript wrapper around its functions or it must be implemented 'in pure Javascript'? ^_^

It would probably block node, so you're better off running it in another process and using the nonblocking IPC.
Post reply on HN