TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Awesome slides on node.js

22 pointsby juvennabout 15 years ago

3 comments

grayrestabout 15 years ago
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:<p><pre><code> posix.rename("/tmp/hello", "/tmp/world", function() { posix.unlink("/tmp/world"); }); </code></pre> 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.
评论 #1206281 未加载
va_coderabout 15 years ago
I've seen a few simple hello world programs using Node.js. Anyone have a link to something a bit more complex?
评论 #1205349 未加载
评论 #1205334 未加载
评论 #1205529 未加载
notauserabout 15 years ago
If anyone has more information about the London Javascript Group I'd be really interested.<p>I thought the old one had died, and I haven't had any e-mail from the list in ages.
评论 #1237854 未加载