Monday, July 10th, 2006

Ajax Activity Indicators Examples

Category: Component, Examples, Prototype

Ian Selby has written a thorough article on ajax activity indicators – make them globel and unobtrusive. Ian details his solution: So, what can we do about these problems? Well, if you’re using prototype as a part of your framework, you can register global indicator functions. These get executed when there are active requests, and Read the rest…

Posted by Dion Almaer at 10:50 am

3.9 rating from 171 votes

Wednesday, June 28th, 2006

Speeding up Prototype’s $$ Selector

Category: Programming, Prototype

Sylvain Zimmer has written a performance upgrade for Prototype’s $$ function that he claims is up to twenty times faster. Sylvain’s ideas behind the patch are as follows: Forwarding the call to the old $$ if the selector expression is too complicated (currently : if it uses attributes) Replacing regular expressions with a simple parser Read the rest…

Posted by Rob Sanheim at 9:35 am

3.7 rating from 33 votes

Saturday, June 24th, 2006

RailsConf 2006: Rails on Ajax by Justin Gehtland

Category: Ajax, Conferences, Presentation, Prototype, Ruby

(Note From Rob: This session write up comes courtesy of Jim Halberg. Jim is not an official Ajaxian, though he dreams about being one when he grows up. Thanks, Jim!) Are we still at the point where a talk on ajax must start with the "What is ajax?" question? Well, at least the explanations seem Read the rest…

Posted by Rob Sanheim at 1:09 pm

3.6 rating from 44 votes

Thursday, June 22nd, 2006 Datagrid

Category: JavaScript, Library, Prototype

Finetooth has created a Reorganizable DataGrid built on Ajax / Smarty / Prototype / Scriptaculous. The online test allows you to build a datagrid on the fly and play around with moving headers, sorting, and the usual. There is a README but you need to download the puppy and play around to work out how Read the rest…

Posted by Dion Almaer at 1:14 am

4 rating from 79 votes

Monday, June 5th, 2006

Prototype Window Class

Category: JavaScript, Library, Prototype

The Prototype Window Class allows you to add in-browser windows with the flick of a few lines of code (and CSS to tweak). The window features: Resizable windows Minimize/Maximize Modal Dialogs Visual Effects Skinnable Usage < View plain text > javascript win = new Window(‘window_id’, {title: "Sample", top:100, left:350}) win.getContent().innerHTML = "<h1>Hello world !!</h1>"; win.setDestroyOnClose(); Read the rest…

Posted by Dion Almaer at 8:54 am

3.7 rating from 98 votes

Wednesday, May 31st, 2006

Protowidget: Widget system on top of Prototype

Category: JavaScript, Library, Prototype

Terry Laurenzo found that he liked “the simplicity of Prototype, the widgets/templates from Dojo and the event-based property binding support from OpenLaszlo/Flex”. This caused him to create Protowidget which builds on Prototype to add widget support a la Dojo. Widgets As the name implies, Protowidget is based on widgets. While some widgets are provided (and Read the rest…

Posted by Dion Almaer at 8:36 am

3.7 rating from 46 votes

Wednesday, May 24th, 2006

Prototype Class System

Category: Articles, Prototype

Dean Edwards came up with Base as a way to give nice inheritence management in JavaScript. He has tweaked it again. I’ve made a couple of tweaks to the class since I last blogged about it. The most important change is that I’ve renamed the inherit method to base. I caved in to pressure. These Read the rest…

Posted by Dion Almaer at 9:03 am

4.2 rating from 31 votes

Friday, May 19th, 2006

Javascript Associative Arrays considered harmful

Category: JavaScript, Library, Programming, Prototype, Usability

In Javascript, you can treat any object as an associative array, similiar to a Map or Hash structure in other languages. So its just a set of key/value pairs – in JS you can add any arbitrary property on the fly. The below example is using an Object, but you could use an Array or Read the rest…

Posted by Rob Sanheim at 6:00 am

3.8 rating from 132 votes

Friday, May 12th, 2006

Ajax Experience Day 3: Stuart Halloway on Ajax for Rails

Category: Prototype, Ruby, The Ajax Experience

Notes from Stuart Halloway’s talk on Ajax support for Ruby on Rails at The Ajax Experience. Who here is using Rails in here? About 10 people. Who here is considering using Rails? Half of the room (about 40 people). For a while, Stuart has been giving two bids to clients: one for Rails, one for Read the rest…

Posted by Michael Mahemoff at 1:40 pm
1 Comment

3.7 rating from 24 votes

Thursday, May 11th, 2006

Ajax Experience Day 2: Thomas Fuchs’ on the Enhancing the User Experience

Category: Ajax, Presentation, Prototype, Ruby, The Ajax Experience

Notes from the Ajax Experience – Thomas Fuchs’ session on using Prototype and enhance the user experience

Posted by Rob Sanheim at 12:10 pm

4.4 rating from 50 votes

Wednesday, May 10th, 2006

Comparing Dojo and Prototype

Category: Dojo, JavaScript, Prototype

Jon Aquino has been using both Dojo and Prototype, and recently posted a brief comparison. Overall, I like both. Prototype is more of a Porsche, whereas Dojo is more like a Hummer. Prototype is pure programming bliss (feels very much like Ruby), whereas Dojo is very much engineered (feels like Java) — possibly a little Read the rest…

Posted by Michael Mahemoff at 6:31 pm

4.1 rating from 33 votes

Tuesday, May 9th, 2006

Really Easy Field Validation with Prototype

Category: JavaScript, Library, Prototype, Usability

Late last week I was working on a content submission form, and thinking about a good way to add unobtrusive validation using Prototype, similar to what the guys at Particle Tree have talked about in a couple articles earlier. I liked the approach the articles took and went looking for any libraries doing the same Read the rest…

Posted by Rob Sanheim at 11:30 am

4 rating from 176 votes

Thursday, May 4th, 2006

Ajaxian Port Query

Category: Prototype, Showcase

A simple Ports and Services query tool has been released. It uses our old friends: Prototype and Scriptaculous.

Posted by Dion Almaer at 11:10 am
Comment here

3.5 rating from 18 votes

Thursday, April 27th, 2006 Reflector

Category: Examples, Prototype, Showcase

We all want cool effects right? I remember when applets came onto the scene, you would see the reflection animations (that would take 30 mins to download over your 28.8 modem). Not Thomas Fuchs has put together a Reflector that runs on top of Prototype/Scriptaculous (or course). < View plain text > javascript var Read the rest…

Posted by Dion Almaer at 9:31 am

4 rating from 105 votes

Tuesday, April 25th, 2006 Cheat Sheet

Category: Articles, Prototype

Amy Hoy has taken the time to put together a cheat sheet for Download the PDF

Posted by Dion Almaer at 1:50 pm

3.9 rating from 52 votes

Wednesday, April 19th, 2006 Create your own Ajax effects

Category: Articles, JavaScript, Prototype

Thomas Fuchs has written an article on creating your own Ajax effects. The article goes beyond the builtin effects that has, and shows you how to create your own. The example used is a cash register effect that counts between amounts as the register changes. The end result is a nice easy effect that Read the rest…

Posted by Dion Almaer at 8:47 am

3.6 rating from 99 votes