5 ms·
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. There are a ton of guides on how to
by qF 15y 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.
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.
- dpapathanasiou 15y agoI've written about how to use callbacks in this context: http://denis.papathanasiou.org/?p=704 http://denis.papathanasiou.org/?p=704
- ksetyadi 15y agoIt's hard to cover many aspects of it when we talked about getting our feet wet. I try to include as few terms as possible that potentially confused people to start coding Nodejs-MongoDB. It's probably a big problem when you try to get your feet wet on the first day you learn about swimming just by jumping all over the pool. But then, hopefully, we learn. Thanks for your opinion :)
- hello_moto 15y agoI'm not sure that both Node.js and MongoDB appeal beginners. These 2 tools are reserved for people who exactly know what they want out of their tools, not for someone who just jumped in to "web development" and wanted to use buzzword compliant tools. Sorry for being such a snippy on Monday morning but I'm hoping people around me would become better at fundamental as opposed to combining tools w/o knowing what they're good for.
- ksetyadi 15y agoI've pointed it in the first three paragraphs. No worries for being snippy. In fact, you aren't :)
- mcantelon 15y agoWhy is MongoDB unsuitable for beginners? If beginners have a handle on Javascript it saves them from having to learn SQL and know any MySQL admin.
- hello_moto 15y ago... and this is a good thing? as opposed to learn proper RDBMS first and learn the lingo of NoSQL (document vs key-value vs column-oriented)? But I digress, people have different experience. I've seen projects got burned many times by beginners who have lacked of understanding of RDBMS and you may have entirely different experience where your project shines because of MongoDB.
- Finbarr 15y agoAgree with this. Was disappointed the guide didn't delve into asynchronous even at a basic level. This is what makes nodejs and mongodb worth using and I don't think the concepts are overly difficult to grasp.
- mcantelon 15y agoGoing into how to handle a lot of async callbacks/requests would be entirely different subject matter, would it not? The blog post is titled "Nodejs and MongoDB, A Beginner’s Approach" and that's the subject matter it tackles.