Link Details

Link 51647 thumbnail
User 244390 avatar

By nakula
via quarkruby.com
Published: Nov 06 2007 / 12:57

I have always used Prototype library for most of my projects until I was introduced to jQuery three months back ... and it enchanted me.
  • 33
  • 3
  • 4173
  • 2129

Comments

Add your comment
User 191902 avatar

jcblitz replied ago:

0 votes Vote down Vote up Reply

I've done the same thing, sort of. But I'm trying to get back into rails more and the fact that they're in bed together (rails/proto/script) keeps me from swearing off prototype for a while. I've used Prototype in some Java apps and jQuery in others and I definitely prefer jQuery for handwriting the code, but if someone out there can make jQuery a first class citizen in rails (I know it's all open source, but I ain't doing it :) ), I'd have no problems waving the white flag on prototype.

User 249431 avatar

chriscoyier replied ago:

0 votes Vote down Vote up Reply

Digg.com actually uses both, which are the two largest page elements when loading any digg page.

User 191902 avatar

jcblitz replied ago:

0 votes Vote down Vote up Reply

I don't know, I thought crap was the largest element on any digg page. Zing!

User 209818 avatar

adriandu replied ago:

0 votes Vote down Vote up Reply

As far as keeping HTML clean when developing in Rails, there isn't any need to use Rails' AJAX helpers if you don't want to. I learned how to use Prototype before I learned Rails and I'm still very comfortable with just writing straight Javascript instead of using the helpers. So if unobtrusive Javascript and unmuddied HTML is the goal, Prototype still fits the bill.

User 79499 avatar

in86835 replied ago:

0 votes Vote down Vote up Reply

Too much damned AJAX, not enough work on browser launched or hosted Rich Clients!

Add your comment


Html tags not supported. Reply is editable for 5 minutes. Use [code lang="java|ruby|sql|css|xml"][/code] to post code snippets.