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.

Nodejs and MongoDB, A Beginner's Approach

59 pointsby ksetyadiover 13 years ago

7 comments

qFover 13 years ago
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 未加载
Sriranganover 13 years ago
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 未加载
stottcover 13 years ago
There's something incredibly natural about node &#38; mongo together.
评论 #3177029 未加载
评论 #3177418 未加载
评论 #3177647 未加载
olegpover 13 years ago
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?
senkoover 13 years ago
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 未加载
tistaover 13 years ago
Async behaviors would be a great read up for your next article :D
latchover 13 years ago
site seems to be having load issues.<p>Mirror: <a href="https://gist.github.com/1327266" rel="nofollow">https://gist.github.com/1327266</a>