Hacker Newsnew | past | comments | ask | show | jobs | submitlogin
Awesome slides on node.js (barkingiguana.com)
22 points by juvenn on March 19, 2010 | hide | past | favorite | 8 comments



The third slide is out of date. 1.30 removed support for promises. All previously promised-based functions now take a callback parameter as their last argument instead, so the slide would be written:

    posix.rename("/tmp/hello", "/tmp/world",
        function() {
            posix.unlink("/tmp/world");
        });
There are a series of articles on howtonode.org about flow control in node and cleaner ways to do this. Not mentioned on howtonode, but Kris Zyp also implemented a CommonJS promises library on the node callback pattern.


Yeah, I've thought about submit http://howtonode.org as well. The articles are explained thoroughly and clearly, very nice stuff there.

Thx for correcting the promise stuff.


I've seen a few simple hello world programs using Node.js. Anyone have a link to something a bit more complex?


Node_chat (disclaimer: i've made a couple contributions): example:http://chat.nodejs.org/ code:http://github.com/ry/node_chat

Facebook connect: http://howtonode.org/facebook-connect

List of other apps available on the node wiki: http://wiki.github.com/ry/node/




If anyone has more information about the London Javascript Group I'd be really interested.

I thought the old one had died, and I haven't had any e-mail from the list in ages.


The Javascript group is organised here: http://javascript.meetup.com/3/

There are a bunch of ideas here: http://javascript.meetup.com/3/ideas/

There are meant to be monthly meetups, but I don't think anyone has time to organise them. There hasn't been one since January. It'd be great if these started happening more regularly.




Consider applying for YC's Fall 2025 batch! Applications are open till Aug 4

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: