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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

Nodejs and MongoDB, A Beginner's Approach

59 点作者 ksetyadi超过 13 年前

7 条评论

qF超过 13 年前
This guide really shows what I think is a big problem with a lot of Node guides, they don't go beyond the first 5 minutes.<p>There are a ton of guides on how to set up a webserver in 20 lines, but hardly any on how to (properly) handle a lot of async callbacks and requests etc.
评论 #3177284 未加载
评论 #3177088 未加载
评论 #3178249 未加载
评论 #3177588 未加载
Srirangan超过 13 年前
To be honest, a good attempt by the author but I wouldn't recommend this to a beginner. Why? I don't recommend the use of the native driver - you end up with needlessly complex code.<p>I don't want to criticize the authors work. He's done a pretty good and thorough job. Hopefully I'll pen down an easier guide later tonight.
评论 #3178264 未加载
评论 #3177783 未加载
stottc超过 13 年前
There's something incredibly natural about node &#38; mongo together.
评论 #3177029 未加载
评论 #3177418 未加载
评论 #3177647 未加载
olegp超过 13 年前
On a related note, I'm working on a synchronous narwhal-mongodb compatible driver that would work with common-node (<a href="http://olegp.github.com/common-node/" rel="nofollow">http://olegp.github.com/common-node/</a>), Would anyone be interested in helping out?
senko超过 13 年前
I'm both Node and MongoDB user and like them, but this can get really messy when there's a chain of callbacks involved, eg when you need a sequence of results but want to do it in a asynchronous fashion.
评论 #3177247 未加载
评论 #3177015 未加载
tista超过 13 年前
Async behaviors would be a great read up for your next article :D
latch超过 13 年前
site seems to be having load issues.<p>Mirror: <a href="https://gist.github.com/1327266" rel="nofollow">https://gist.github.com/1327266</a>