Simon Willison’s Weblog

Blogmarks tagged javascript, prototype

Filters: Type: blogmark × javascript × prototype ×


What’s wrong with extending the DOM. Detailed explanation of the problems that crop up from extending built-in DOM objects using JavaScript, from Prototype developer kangax. Prototype 2.0 will be dropping this technique entirely—will MooTools follow suit? # 11th April 2010, 10:03 pm

Prototype based programming in python. Neat implementation of JavaScript-style prototype inheritance in Python. # 11th September 2008, 5:50 pm

getElementsByClassName pre Prototype 1.6. Older releases of Prototype break in Firefox 3 and Safari 3.1 due to unsafe namespace management—getElementsByClassName is now a browser built-in but with different semantics to the Prototype method of the same name. Prototype 1.6 is fine. # 26th March 2008, 8:28 am

querySelector and querySelectorAll. WebKit now supports the W3C Selectors API. Expect the various JavaScript libraries to add this as an optimisation to achieve massive speedups (Prototype are already working on it). # 8th February 2008, 11:21 am

Low Pro For jQuery? Dan Webb on why he prefers Prototype over jQuery: “The one big reason was that, while jQuery was super simple and concise when working on smaller projects, it offered no help in structuring larger applications”. # 3rd February 2008, 10:16 pm

Pseudo-custom events in Prototype 1.6. Useful tutorial showing how to use Prototype 1.6’s custom events to implement a cross-browser mouse wheel event. # 9th November 2007, 11:02 pm

Upgrading to Prototype 1.6: real world examples. I still don’t find Prototype as intuitive as jQuery, but the API improvements between 1.5 and 1.6 are very impressive. # 24th October 2007, 7:19 pm

Prototype 1.6.0 release candidate. Prototype gets a long-needed update to its Event API, and some interesting new Function.prototype extensions. # 16th August 2007, 8:49 am

Building Brickslayer. New tutorial from Michal Wallace on building games in JavaScript using Prototype. # 22nd July 2007, 9:28 pm

Low Pro Behaviours 101. A neatly packaged method of enhancing an existing DOM element with pre-packaged behaviours. # 17th July 2007, 10:09 am

Packing Prototype. Why Prototype doesn’t ship with an official compressed version. # 17th May 2007, 9:52 am

Ext JS. Jack Slocum is building a business around his excellent Ext JavaScript library (which can now run on top of YUI, jQuery or Prototype). The library itself is LGPL, but you can pay for a commercial license and support. # 3rd April 2007, 10:11 pm

Fork JavaScript. A great name for Yet Another JavaScript Library. This one tries to combine the best bits from YUI and Prototype. # 20th January 2007, 11:39 pm