Monday, February 26th, 2007
And the OSCAR goes to Prototype and Moo
<>p>Doing a view source on oscar.com shows that the award given to the JavaScript libraries by the academy developers was to Prototype and Moo.The faux pas of the site is showing a darn commercial and disabling the pause button. Bad academy. You wonder why people are downloading movies?
Related Content:












Really, it should go to YUI – especially after the recent announcements.
I’ve found prototype/scriptaculous to be buggy at best, and bloated in comparison.
David – I think the point of the post is that the Oscar site is using mooTools and ProtoType, not that they are better than YUI. We all have our opinions …
@David – “buggy at best, and bloated”? I get the feeling you have never used Prototype, or YUI. Saying Prototype is bloated in comparison to YUI is completely ridiculous.
Prototype compressed to 21kb+ (before gzipping or anything):
http://groups.google.com/group/prototype-core/browse_thread/thread/2a611d702c4deadb
By the way MooTools has got my attention. I just need some time to check it out. I think I will be pleased 8).
Moo is the shit. The code is elegant and small. We’ve been using it on a number of projects. /me just wishes someone would writea JSP taglib for it…
This guy had a similer view of YUI as David:
http://www.procata.com/blog/archives/2007/02/23/yahoo-yui-wins-javascript-library-wars/
You know, I find it sad that there can never be a post about a specific library without it turning into a pissing contest in the comments section. If you like a specific library, how about coming up with a nice article and send it to Ajaxian or posting it on your blog. Promote your flavor the right way and lets have some respect for each other.
As for this specific posting, I’m glad to see that another notable site has used Ajax & JS to really expand the user experience.
Right on Rey…
Even if you are love with a certain library, you can’t beat the compact set of features that all come with moo. It’s all about the situation and a high traffic site like this would be silly to use anything larger. Though having said that I don’t know why they didn’t use a compressed version of Prototype.
So you’re saying the Oscar doesn’t render correctly in IE? Gotcha.
When I wrote my comment, I didn’t decide on the spot that I disliked prototype. Firstly as a PHP programmer, I don’t find rubyesque syntax a bonus.
Secondly, having worked with scriptaculous, I found that different effects and things didnt work in different browsers, as a result of prototype, and using andrew tetlaw’s validation scripts I found the latest version of prototype broke something that it relied on. In comparison, I’ve upgraded to newer versions of YUI in my applications and found everything worked reliably.
A quick check of the latest version of prototype shows it to weigh in at about 70kb. If i remember rightly, it was closer to 60kb before, so with gzip its probably pushing a similar file size to the YUI utils (see below).
YUI’s most common ‘utilities’ weigh in at around 16kb (dom, event, animation, connection) with gzip – thats lightweight in my opinion.
Thanks Rey!
That was a breeze of fresh air.
“Library War”, what a bunch of sensational bullshit. I did not know there was war going on. I don’t count the usual pissing contest in blog comments as “war”.
Competition is useful, there is no one size fits all, and everyone can learn and adapt new ideas. Witness the recent round of CSS-selector improvments.
@Tobie. Thanks man! It’d just be great to see everyone get along for once. So much talent out there and all we do is bitch at each other. It just gets old.
@Martin: Who mentioned a “library war”?
That was about the link by jd to some blog post about YUI.
i usually grab whatever is best and what I need from different libraries and integrate them into my own “library”. No pissing contest here.
I would vote Mootools and jQuery. I’m not a big Prototype fan.
I don’t think you can really compare Moo,Prototype, and jQuery to YUI, Dojo, and Ext.
The latter is more interface libraries while the former are foundational libraries.