Wow! Mind = Blown! Thanks for doing this and giving it away for free.
RailwayJS
11–20 of 50 posts
Re: RailwayJS
#12Earlier quoted context omitted.
The main reason Node.js is gaining popularity is because it is blazing fast, scales very well due to its IO + event driven architecture and it has the best support for websockets (see socket.io). On the flip side, code can be hard to maintain and you need to be more disciplined so that you can read the code later otherwise it becomes a callback spaghetti. Doing everything through callbacks also requires a mental shif…
I'm sorry I don't buy JS code is hard to maintain analogy. If you write modular and/or functional code, JS code bases can be just as easy / hard to maintain as any other language.
Re: RailwayJS
#13Neat project! To echo what everyone else is saying, thanks for putting this out there. I am curious as to what most HNers think of doing server side development in JS. It's obviously the flavor of the month, but I have yet to see the appeal. JS is certainly not a bad language, but it seems a lot more tedious than, say, ruby. The nesting of callbacks, the lack of built in OO infrastructure (given that most of us are t…
The main reason Node.js is gaining popularity is because it is blazing fast, scales very well due to its IO + event driven architecture and it has the best support for websockets (see socket.io). On the flip side, code can be hard to maintain and you need to be more disciplined so that you can read the code later otherwise it becomes a callback spaghetti. Doing everything through callbacks also requires a mental shif…
Re: RailwayJS
#14Neat project! To echo what everyone else is saying, thanks for putting this out there. I am curious as to what most HNers think of doing server side development in JS. It's obviously the flavor of the month, but I have yet to see the appeal. JS is certainly not a bad language, but it seems a lot more tedious than, say, ruby. The nesting of callbacks, the lack of built in OO infrastructure (given that most of us are t…
Nested callbacks naturally allows for non-blocking code, which leads to higher request capacity. In, say, Ruby, you've got EventMachine for something equivalent but it's definitely "bolted" on to the language. Python has Twisted, with which I have no personal experience. In PHP, there are really no options.
Re: RailwayJS
#15Earlier quoted context omitted.
The main reason Node.js is gaining popularity is because it is blazing fast, scales very well due to its IO + event driven architecture and it has the best support for websockets (see socket.io). On the flip side, code can be hard to maintain and you need to be more disciplined so that you can read the code later otherwise it becomes a callback spaghetti. Doing everything through callbacks also requires a mental shif…
node.js isn't really that fast for traditional apps, but if you were to compare, it's pretty much on levels of nginx and it's actually slower serving static files. only in few cases node.js shows its power, i.e; real-time apps/games. i wouldn't build any full-blown websites in node.js. only a certain piece on the site i'd do it in node, like a widget or something.
Re: RailwayJS
#16Neat project! To echo what everyone else is saying, thanks for putting this out there. I am curious as to what most HNers think of doing server side development in JS. It's obviously the flavor of the month, but I have yet to see the appeal. JS is certainly not a bad language, but it seems a lot more tedious than, say, ruby. The nesting of callbacks, the lack of built in OO infrastructure (given that most of us are t…
It plays a lot more smoothly with MongoDB and I find it far simpler to hook into more modern functionality with Websockets and client side JS rendering. I had a few issues with jugglingdb (which I forked and fixed) and it's all going smoothly.
I still use Rails for some sites but Node and railway.js let me bootstrap the whole API on MongoDB in a few days and get very acceptable performance.
Re: RailwayJS
#17Re: RailwayJS
#18Wow! Mind = Blown! Thanks for doing this and giving it away for free.
You are welcome. Working on more mind-blown stuff for railway 2.0 right now.
... more Node.js web frameworks: https://github.com/joyent/node/wiki/modules#wiki-web-framewo...
Re: RailwayJS
#19This seems very similar to Rails in structure and features, with the obvious upsides and downsides of Javascript and Node brought along. For me, the first Node framework to really catch my eye was Meteor. The live-updating, hot-code-pushing features seemed to really take advantage of the speed of V8, but I was put off by the total lack of MVC structure and other niceties of Rails (that are in Railway). I'm still on t…
Re: RailwayJS
#20Earlier quoted context omitted.
I'm sorry I don't buy JS code is hard to maintain analogy. If you write modular and/or functional code, JS code bases can be just as easy / hard to maintain as any other language.
No problem. We can all have different opinions, but the good thing is we are all innovative, experimenting developers :).