Prototype


Friday, April 30th, 2010

Want Web games on all things iTouch? Scripty 2.

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: javascript < view plain text > // animate cards to go to new positions cards.inGroupsOf(4).each(function(group, x) {   group.each( function(card, Read the rest…

Posted by Dion Almaer at 10:47 am
Comment here

++++-
4.8 rating from 5 votes

Monday, April 5th, 2010

Prototype 1.7 RC Sizzles…

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…

Posted by Dion Almaer at 1:34 pm
8 Comments

++++-
4 rating from 48 votes

Wednesday, November 25th, 2009

CBC Radio 3 Case Study

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…

Posted by Dion Almaer at 6:05 am
11 Comments

+++--
3 rating from 31 votes

Thursday, October 29th, 2009

S2.enableMultitouchSupport = true; // Getting touchy feely with scripty

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…

Posted by Dion Almaer at 6:56 am
4 Comments

++---
2.2 rating from 62 votes

Monday, October 26th, 2009

Prototype and Scriptaculous mini news

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…

Posted by Dion Almaer at 12:48 am
27 Comments

+++--
3.9 rating from 69 votes

Tuesday, September 8th, 2009

Prototype 1.6.1; Speed up, clean up, and team up

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…

Posted by Dion Almaer at 8:43 am
14 Comments

+++--
3.2 rating from 6 votes

Tuesday, June 23rd, 2009

ProtoFish: advanced hover menu

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…

Posted by Dion Almaer at 5:05 am
13 Comments

++---
2.8 rating from 64 votes

Monday, March 30th, 2009

Prototype 1.6.1 RC2: IE 8 Here we come

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…

Posted by Dion Almaer at 12:15 am
1 Comment

+++--
3.8 rating from 49 votes

Tuesday, March 17th, 2009

Mamoo: Client-side MVC from Motionbox

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…

Posted by Ben Galbraith at 6:00 am
5 Comments

++---
2.6 rating from 30 votes

Monday, February 23rd, 2009

Watching Prototype events and a nice little tip

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: javascript < Read the rest…

Posted by Dion Almaer at 6:56 am
2 Comments

+++--
3 rating from 25 votes

Thursday, February 19th, 2009

Nextpoint releases open source project Growl4Rails

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…

Posted by Dion Almaer at 12:01 am
Comment here

+++--
3.7 rating from 29 votes

Tuesday, February 17th, 2009

Pimp Your Storage

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: HTML4 < view plain text > if Read the rest…

Posted by Dion Almaer at 7:19 am
Comment here

++---
2.9 rating from 28 votes

Friday, January 9th, 2009

defaultValueActsAsHint

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…

Posted by Dion Almaer at 5:03 am
11 Comments

+++--
3.1 rating from 34 votes

Thursday, December 4th, 2008

Freckle: Time tracking with style

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…

Posted by Dion Almaer at 9:20 am
3 Comments

+++--
3.8 rating from 34 votes

Wednesday, December 3rd, 2008

A great example of sharing; Sizzle Engine in Dojo Foundation

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…

Posted by Dion Almaer at 12:58 am
11 Comments

++++-
4.2 rating from 66 votes

Wednesday, October 1st, 2008

Prototype 1.6.0.3 out there

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…

Posted by Dion Almaer at 6:48 am
Comment here

++++-
4.2 rating from 43 votes