Prototype vs jQuery

We’ve been debating switching our Ruby on Rails application over to jQuery from the Prototype JavaScript Framework that comes standard with Rails. Several different items prompted us to evaluate our strategy:

  • We already had to use jQuery for a special word processor widget we used so have both frameworks resulted in going from 150k of JavaScript to 300k, reducing the user experience due to download times and browser performance
  • There was a much better tree control with drag and drop available for jQuery
  • jQuery’s syntax is more Ruby-like
  • jQuery’s UI library is more mature now (it’s similar to Scriptaculous)

After lots of researching and testing we’ve decided to make the switch. So far so good…

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.