I really do think that, as time wears on, we will see more of these incidents of people switching from Node to another, more familiar development environment. It seems to me that a lot of people started using Node simply because of the amount of hype that surrounded it, and many of these decisions were not as well researched as they should've been. Reading through this gentleman's blog post, it seems that, originally…
Actually since the app was developed at startup weekend which gives you 54 hours to make a presentable demo, I'd say testing was not the first thing on their mind.
Why we moved from NodeJS to Ruby on Rails
71–80 of 166 posts
Re: Why we moved from NodeJS to Ruby on Rails
#72Node.js will become a great option for web development, but I don't think that node, at this moment, is ready for "mainstream" use.
Re: Why we moved from NodeJS to Ruby on Rails
#73I've never used MongoDB; can someone explain to me why this would seem like an advantage, and/or what it has to do with MongoDB?
Is the MongoDB API simply JavaScript?
Re: Why we moved from NodeJS to Ruby on Rails
#74I think it would be a big mistake to read such a post and come to the conclusion that Rails is somehow superior to node.js.
Re: Why we moved from NodeJS to Ruby on Rails
#75Since our stack involved MongoDB, it only made sense to live in a JS only environment. I've never used MongoDB; can someone explain to me why this would seem like an advantage, and/or what it has to do with MongoDB? Is the MongoDB API simply JavaScript?
Re: Why we moved from NodeJS to Ruby on Rails
#76Since our stack involved MongoDB, it only made sense to live in a JS only environment. I've never used MongoDB; can someone explain to me why this would seem like an advantage, and/or what it has to do with MongoDB? Is the MongoDB API simply JavaScript?
Re: Why we moved from NodeJS to Ruby on Rails
#77Since our stack involved MongoDB, it only made sense to live in a JS only environment. I've never used MongoDB; can someone explain to me why this would seem like an advantage, and/or what it has to do with MongoDB? Is the MongoDB API simply JavaScript?
Mongodb is a json document store. I use it myself. It works very well with "node" because node of course uses javascript as its language.
Re: Why we moved from NodeJS to Ruby on Rails
#78I really do think that, as time wears on, we will see more of these incidents of people switching from Node to another, more familiar development environment. It seems to me that a lot of people started using Node simply because of the amount of hype that surrounded it, and many of these decisions were not as well researched as they should've been. Reading through this gentleman's blog post, it seems that, originally…
I see nothing wrong with that, as long as everyone involved recognizes the cost of rewriting/replacing large chunks later. If you're on a super tight schedule and don't want to write anything but JS, and you can afford to make revisions later (assuming the thing even catches on!) it strikes as pragmatic.
Re: Why we moved from NodeJS to Ruby on Rails
#79Earlier quoted context omitted.
#3 I'm not undestanding. Are you doing async? I don't know the socket API but it should be something like this: it("should wait for socket", function(done) { socket.write("asdfadf", function(err, response) { assert.ok(response.indexOf('token') >= ); done() ); }); #4 If you need a new event loop then write the tests in another module, then simply run your test utility. `mocha` will run all tests in test/*test.js. RSpe…
>RSpec is DOG SLOW! I can run 100s of test in a couple of seconds. Can RSpec even startup in that time? Yes, of course it can. RSpec is not especially slow. Obviously the ruby interpreter can be slow, for any given rspec test you could write something faster in C or Java or Go or whatever. That's irrelevant. I'm guessing you're referring to rails tests, where the whole rails stack has to be loaded with each run of th…
Re: Why we moved from NodeJS to Ruby on Rails
#80Earlier quoted context omitted.
definitely agree with this. I can understand why 37signals use RoR, because they built it and know it inside out. But for a newcomer diving into rails now is difficult because the ecosystem is so huge it's hard to navigate, and everything is so integrated and you usually end up bundling a ton of thin that you don't need. With node everything is modularized, it is much more easier to understand what's happening under…
Completely agree. I tried to learn rails and gave up partly for this reason. I have been using node for a while now and LOVE it! I really dont understand why people bash node.
Loads of people laugh at the people who reply to virtually every post with "I use node and LOVE it!", but that's to be expected with any case of over-ebullient advocacy.