Re:Ask HN: What does Ruby have that Python doesn't?
by ghiotion on Friday August 22, 2008 @10:01AM
(#283681)
I chose RoR over Python/Django for one simple reason: RoR's tight integration with the Prototype AJAX javascript library. Personally, I like Python as a language much better than Ruby. But if I'm going to code up a Web app, I want easy AJAX integration - I don't want to hand craft a bunch of javascript. It's not that I've got anything against writing javascript, but I hate, hate, hate trying to debug it.
[ Parent
| on HN ]
Re:Ask HN: What does Ruby have that Python doesn't?
by aconbere on Friday August 22, 2008 @11:40AM
(#283790)
I have to agree with the other commenter. I prefer to "roll my own" here. Not because I don't like it when frameworks take care of mess for me, but because I'm constantly frustrated by how frameworks handle JS. A quick and dirty RESTful JSON api is easy enough to build in either framework, and once you're there, Ajax becomes pretty trivial (especially with any of the nice JS Frameworks)
Re:Ask HN: What does Ruby have that Python doesn't?
by cstejerean on Friday August 22, 2008 @10:48AM
(#283725)
Tight integration with prototype is one of the things I don't like about Rails, mainly because I don't like Prototype (I'm a big fan of JQuery).
Re:Ask HN: What does Ruby have that Python doesn't?
by tptacek on Friday August 22, 2008 @12:37PM
(#283852)
Then what you want is jRails, which subs jQ in for Prototype in all the Rails helpers and removes Prototype from your project. You "plugin install" it, forget about Prototype, and use nothing but jQuery from then on.
Re:Ask HN: What does Ruby have that Python doesn't?
by cstejerean on Friday August 22, 2008 @02:26PM
(#284004)
very cool, thanks. wish I knew about it a month ago.