Google ports Rails to JavaScript
Well this is just crazy! But it is true. Personaly there are two things I have to say about this endeavor:
First: it is awesome that Google recognizes Rails so good, that they decided to create their own port. I have seen no direct indication that this is a direct Google job, but still: Go go Rails!
Second: there are many attempts to port Rails to other languages. I have heard about PHP on Rails, Java on Rails (no .NET on Rails though) and I don't see many people using them. That migh be just because I don't have many PHP or Python friends, but still. What makes Ruby on Rails so great that we all love it is that it is Ruby AND Rails. Ruby is a wonderfull language that makes Rails so good and Rails is a wonderfull framework that makes Ruby so popular. JavaScript is just as ugly as PHP, or even worse, and that just takes half the love away. No reason to get excited, only a noob would program bussines logic in JavaScript anyway.

2 comments:
There is also .NET on rails. See the http://www.castleproject.org/index.html
JavaScript is in fact a very powerful language. It has closures, prototype based inheritance and more. The reason it's so unpopular is because the heritage of bad browser implementations, and because it reminds people of lousy DHTML scripts.
Just because it usually runs in a browser doesn't mean it's not a full programming language. Google uses Rhino, so the code runs server-side. I don't see any objection to programming business logic that way.
Just my 2c.
arnebrasseur.net
Post a Comment