Why Ruby on Rails

Warren, this ultimate environment that you speak of exists today. You
can use VBScript in the browser (IE only) and VB on the server
(Windows only). It just isn’t the language of choice :slight_smile:

On Sat, Apr 29, 2006 at 11:28:15PM -0400, Carl F. wrote:
} Warren, this ultimate environment that you speak of exists today. You
} can use VBScript in the browser (IE only) and VB on the server
} (Windows only). It just isn’t the language of choice :slight_smile:

Fortunately that isn’t the only way. ASP.NET can use JavaScript as the
server language. There is also an Apache module named mod_wxjs
http://users.skynet.be/saw/wxJS/mod_wxjs/index.html that supports
JavaScript in much the way that mod_ruby supports Ruby.

In all honesty, JavaScript and Ruby are similar languages. I like Ruby a
great deal better due to some additional dynamic power (e.g.
const_missing,
method_missing, class methods to support DSLs, proper inheritance), but
JavaScript isn’t bad. Nonetheless, I’d rather keep JavaScript on the
client
and Ruby (or a few other languages) on the server.

–Greg

} On 4/29/06, Warren S. [email protected] wrote:
} >Actually, we’ve all made a huge error in not making the web browser
} >language (now
} >JavaScript) the same as the web server language (too numerous to
mention).
} >It really
} >isn’t right to make people use two different languages for similar
things.
} >
} >I understand the Netscape server made a stab at using JavaScript on
the
} >server, once. So
} >the right answer, of course, is replacing JavaScript with ruby in the
} >browser but my hunch
} >is that might not happen soon. And, hypocritically, I won’t give up
ruby
} >on the server,
} >either.
} >
} >Warren S.
} >
} >
} >_______________________________________________
} >Rails mailing list
} >[email protected]
} >http://lists.rubyonrails.org/mailman/listinfo/rails
} >
} _______________________________________________
} Rails mailing list
} [email protected]
} http://lists.rubyonrails.org/mailman/listinfo/rails
}

There’s also Helma:

The architecture is written in Java (using the Apache Rhino Javacript
engine), but you
build your apps entirely in Javascript. And actually, they claim to be
the first framework
with an ActiveRecord implementation.

But if you want to get closer to your Rails experience, you can also try
TrimJunction:

http://trimpath.com/project/wiki/TrimJunction

Be sure to try the demo:

http://trimpath.com/demos/nextaction_static1/nextaction.htm

Open LiveHTTP headers or TamperData as you click around in that… it’s
all happening on
the client side!

b