As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references,or expertise, but this question will likely solicit debate, a
As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
开发者_高级运维
Closed 11 years ago.
What were the trade offs? Why was js chosen?
Why not another scripting language like Ruby?
MongoDB and Riak both use JS. A lot of other ones are using JS too. Is this just a "follow the crowd" thing?
NoSql document structure is very similar to json. And json is based on a subset of the JavaScript Programming Language Standard. So javascript can manipulate json easily, thus can manipulate nosql document easily. So javascript is used in nosql solutions. That's my understanding.
Makes it quite convenient for calling from Javascript in dynamic web pages.
精彩评论