Prototype
Friday, April 30th, 2010
Category: Prototype
, Scriptaculous
Thomas Fuchs has a detailed post on building a Flash-y game with scripty2 where he walks through a memory game. Everything is shown, from game logic all the way to the smooth animations and easings: PLAIN TEXT JAVASCRIPT: // animate cards to go to new positions cards.inGroupsOf(4).each(function(group, x) { group.each( function(card, y){ Read the rest...
Monday, April 5th, 2010
Category: JavaScript
, Library
, Prototype
Andrew Dupont and the the Prototype team have announced the first RC of Prototype 1.7 which changes the selector engine to Sizzle, a new event API, has new layout/dimensions API, and more. Element#on Element#on is a new way to access the Prototype event API. It provides first-class support for event delegation and simplifies event handler Read the rest...
Wednesday, November 25th, 2009
Category: Articles
, Editorial
, Prototype
, Showcase
Phil Rabin of CBC Radio 3 has kindly written a guest post on his experience creating a fantastic Web interface for the station that uses Flash for audio, but a full HTML experience that maintains state from page to page. CBC Radio 3 is a community, radio station and user-generated independent music library which is Read the rest...
Thursday, October 29th, 2009
Category: Prototype
, Scriptaculous
Thomas Fuchs has been working with Nokia on their multi-touch API for Qt/WebKit: scripty2 supports multiple API vendors for Multitouch events, and even provides a desktop emulation (click+drag to pan, shift+click+drag to scale and rotate)– so you can try this out even without having multitouch hardware at your disposal. Currently the scripty2 API abstraction event Read the rest...
Monday, October 26th, 2009
Category: Prototype
, Scriptaculous
A couple of quick updates for the Protoscripty crowd: Choose your own CSS selector adventure Fancy changing your selector engine at will? Simply rake dist SELECTOR_ENGINE=nwmatcher to switch to NWMatcher and beyond. What is the perf difference? Thanks to @jdalton you can give some tests a try! Script.aculo.us 1.8.3 is released It aint as sexy Read the rest...
Tuesday, September 8th, 2009
Category: JavaScript
, Prototype
Congratulations to Andrew Dupont and Tobie Langel (new official co-lead of Prototype-core) on the new 1.6.1 release: Full compatibility with new browsers. This version of Prototype fully supports versions 1.0 and higher of Google Chrome, and Internet Explorer 8 in both compatibility mode and super-standards mode. Element metadata storage. Easily associate JavaScript key/value pairs with Read the rest...
Tuesday, June 23rd, 2009
Category: Component
, Prototype
ProtoFish is an advanced hover menu based on Prototype, written by Peter Slagter. You can easily add a delay to your menu (on mouseout) and choose your own hover class. All ProtoFish menu's will respond to users who use the TAB-key to navigate through your page. It is trivial to use. Once you load up Read the rest...
Monday, March 30th, 2009
Category: JavaScript
, Library
, Prototype
Andrew has posted on Prototype 1.6.1 RC 2, a new release that "is fully compatible — and fully optimized for — Internet Explorer 8’s “super-standards” mode. In particular, Prototype now takes advantage of IE8’s support of the Selectors API and its ability to extend the prototypes of DOM elements." New Features Full compatibility with Internet Read the rest...
Tuesday, March 17th, 2009
Category: Prototype
Over a year ago, we talked about Motionbox's event handler sugar for Prototype. In the intervening time, they've gone and done what every other JavaScript developer does: created their own full-fledged framework. ;-) Just a few days ago they announced Mamoo, short for "Motionbox Advanced Model Observer Observer". In a nutshell, Mamoo builds on the Read the rest...
Monday, February 23rd, 2009
Category: Prototype
, Tip
Kangax shows a nice use of Prototype as he writes a tip to let you see your Prototype based events as they run in your application. A nice little view. He also realized that the core piece of the bookmarklet is actually a nice view of the power of Prototype as a library: PLAIN TEXT Read the rest...
Thursday, February 19th, 2009
Category: Component
, JavaScript
, Prototype
, Rails
The team at Nextpoint has released the open source project Growl4Rails, a component providing Growl-like functionality in Rails web applications. Nextpoint's e-discovery product deals with many very large documents. Indexing, imaging and PDF-ing of those documents can take a bit of time, which requires us to execute these tasks asynchronously. Background processing demands a solid Read the rest...
Tuesday, February 17th, 2009
Category: Prototype
Andrew Dupont has done what the threatened to do and created part one of series critiquing Prototype code. The first installment has him taking a version of Element.Storage by Sébastien Grosjean and tweaking it out. Andrew discusses Prototype style issues, naming, feature design, fun common things such as: PLAIN TEXT HTML: if (!(element = $(element))) Read the rest...
Friday, January 9th, 2009
Category: Examples
, Prototype
Thomas Fuchs has created defaultValueActsAsHint, an implementation of the Input Prompt pattern: An often occuring UI pattern is “use the value of a textfield as hint what to input”. These fields all auto-clear when the user first focuses it (by clicking or tabbing it), and if nothing it entered, the hint will be shown once Read the rest...
Thursday, December 4th, 2008
Category: Prototype
, Scriptaculous
, Showcase
Thomas Fuchs and Amy Hoy are back with another web site, this time Freckle, a new take on time tracking. Thomas posted about it on his site and shared that it uses an early build of scripty2 which lead me to peak around on GitHub. It looks nice indeed. You can see the evidence of Read the rest...
Wednesday, December 3rd, 2008
Category: CSS
, Dojo
, JavaScript
, jQuery
, Library
, Prototype
Voting has started in Dojo land to take in John Resig's Sizzle next-gem CSS selector engine. This is incredibly exciting, as it shows how Ajax libraries are working together more and more. Instead of reinventing the wheel in different ways for each project, is it possible to find some core pieces that can be nicely Read the rest...
Wednesday, October 1st, 2008
Category: Prototype
Just a short one, Prototype has a new point release that is a drop in replacement for your 1.6.* code: Yesterday we released Prototype 1.6.0.3, the result of some much-needed bug fixes, and a stopgap release on the road to 1.6.1. It’s a backwards-compatible, drop-in replacement recommended for all users of Prototype 1.6. We’ve fixed Read the rest...