Premshree Pillai ([info]premshree) wrote,
@ 2005-03-10 21:29:00
Previous Entry  Add to memories!  Tell a Friend!  Next Entry
Current music:Eagles - Hotel California

Could Rails be built without Ruby?

So with all the buzz surrounding Rails, I have been wondering if “porting” Rails to other languages would work.

Quoting:

When answering the question "Could Rails be built without Ruby?", I think you have to address not only the functionality but the aesthetics as well. It's more than the simple lines-of-code metric. It's whether you've built a language up towards a Rails language that solves problems common in web development. As Graham points out, you could build Rails out of any language that's Turing-equivalent; the real question is in your quest to duplicate the aesthetics, whether you'd wind up doing a back-door implementation of a Ruby interpreter in the process. For Python users, the port might not be incredibly difficult. For C users, it might be easier to build a Ruby interpreter.

One of the knocks against Zope 2, a leading Python app and backend server framework, was how un-Pythonic the framework appeared to some developers. The architects of a ground-up rewrite, Zope X3, took this to heart. In their early developmental roadmap, they wrote: "We know that Python is a great language because it has a small core of concepts, values explicitness and consistency, and has a great standard library. Zope will follow this lead." At least one Pythonista, Xavier Defrang, thinks "there will never be anything like [Rails] in Python, PHP, Perl or Java just because language matters... It's so great to finally get your hands on a framework which is primarly designed with simplicity and elegance in mind instead of trying to show up as a Design Pattern gallery."

One reason that Rails is still so Ruby—even though it kinda has its own domain language—is probably because Ruby is awesome when it comes to creating domain specific languages. That way, the Ruby aspect is not lost, and there’s no real “learning” involved in learning the domain language. This is unlike some other web development frameworks.

Also of interest: Oliver Steele on Ruby and Laszlo.



(Post a new comment)


seedar
2005-03-19 03:21 am UTC (link)
It's so great to finally get your hands on a framework which is primarily designed with simplicity and elegance in mind instead of trying to show up as a Design Pattern gallery.

Being a nevow developer and user, I cannot agree with that statement. Well, I cannot explain why, as I was exactly like what the original poster thought about it before looking at twisted/nevow. The productivity I see when developing web applications using nevow is fascinating when compared to the frameworks I have used before (including the java web stuff)

(Reply to this)(Thread)


[info]premshree
2005-03-19 03:31 am UTC (link)
Well, I guess everybody knows it’s a pain developing apps using all those Java web frameworks.

Btw, I didn’t get what you were disagreeing with. :-/

(Reply to this)(Parent)(Thread)


seedar
2005-03-19 03:37 am UTC (link)
Btw, I didn’t get what you were disagreeing with. :-/

I disagree with stating design patterns as a load of the bull, though I agree that Java is somewhat over-designed leading to curbersome development.

(Reply to this)(Parent)

Other langs...
(Anonymous)
2005-03-19 12:18 pm UTC (link)
Smalltalk and just about any Lisp dialect can
do everything Ruby does for Rails easily.

(Reply to this)


Create an Account
Forgot your login?
Login w/ OpenID
English • Español • Deutsch • Русский…