TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Awesome slides on node.js

22 点作者 juvenn大约 15 年前

3 条评论

grayrest大约 15 年前
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_coder大约 15 年前
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 未加载
notauser大约 15 年前
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 未加载