News for hackers. Stuff that matters.
Re:Rails 3.1 shipping with CoffeeScript by nightlifelover on Wednesday April 13, 2011 @04:18PM (#2443987)
Just wondering is there a framework like Rails written in JS? Using JavaScript and V8 on the server side makes a lot of sense since V8 is much faster then the Ruby interpreter..
Re:Rails 3.1 shipping with CoffeeScript by nevinera on Wednesday April 13, 2011 @06:09PM (#2444451)
Express is fairly rails-like (for node.js).
Re:Rails 3.1 shipping with CoffeeScript by telemachos on Wednesday April 13, 2011 @06:24PM (#2444503)
Maybe a fairer comparison is Sinatra? That is, Express is a lot slimmer than Rails and works via a DSL based around the HTTP verbs[1].

Another JS framework to look at is Backbone[2].

[1] http://expressjs.com/guide.html#routing

[2] http://documentcloud.github.com/backbone/

Re:Rails 3.1 shipping with CoffeeScript by nevinera on Wednesday April 13, 2011 @10:45PM (#2445337)
That would definitely be a fairer comparison, but he was asking for 'a framework like rails'; Express is the closest.
Re:Rails 3.1 shipping with CoffeeScript by kapso on Wednesday April 13, 2011 @07:53PM (#2444762)
Express/node.js is the closest. LearnBoost runs on it, if I am not mistaken.
Re:Rails 3.1 shipping with CoffeeScript by CWIZO on Wednesday April 13, 2011 @06:22PM (#2444495)
Have you tried node.js?
Re:Rails 3.1 shipping with CoffeeScript by te_chris on Wednesday April 13, 2011 @07:59PM (#2444776)
Node isn't really a framework. It's a server-side runtime environment for javascript. You could totally do something cool with it, Express js providing controllers, some sort of orm to your favourite DB providing Models and a template engine for views. Or, develop a backbone.js app for your frontend and make it talk to the api exposed by your controllers....no easy full stack like rails...yet...but it'll come, however I can't imagine it'll look too much like rails.