Prototype


Thursday, December 8th, 2005

Symfony “advent calendar” tutorial series

Category: Articles, PHP, Prototype

The PHP5 web framework Symfony has a “advent calendar” long tutorial series running. Each day will cover building a web application using Symfony, so its not all ajax-specific. However, day eight covers adding ajax functionality, so if you are just curious to see how easy ajax is with symfony, check that out. The application used Read the rest…

Posted by Rob Sanheim at 1:29 pm
Comment here

+++--
3.8 rating from 41 votes

Saturday, December 3rd, 2005

More handy Prototype documentation

Category: JavaScript, Library, Prototype

There are some more docs written recently on Prototype, so now there is no excuse for writing the xhr wrapper again or for dealing with dom manipulation all by hand. Get up to speed quick with this nice tutorial written by Ryan Campbell over on Particle Tree. He covers: the $() function and $F() form Read the rest…

Posted by Rob Sanheim at 6:00 pm
1 Comment

++++-
4.5 rating from 24 votes

Saturday, November 19th, 2005

Script.aculo.us 1.5 RC5

Category: Library, Prototype

Why are you covering an RC5 build?, I hear you ask. Well, because Thomas (and a growing team) tends to put cool features into every build :) The latest build does more than fix a few bugs here and there, before we get to 1.5 final. It also adds: Update lib/prototype.js to Prototype 1.4.0_rc3 Support Read the rest…

Posted by Dion Almaer at 3:20 pm
2 Comments

+++--
3 rating from 7 votes

Thursday, November 17th, 2005

Graceful Degredation with Prototype, Scriptaculous and Ruby on Rails

Category: Accessibility, JavaScript, Prototype, Ruby

Encytemedia has a series of articles discussing graceful degradation with Ajax and how to handle the issues with Rails, Prototype, and Scriptaculous. Part one deals with the problem of degrading when the user has Javascript disabled, and illustrates with a couple simple examples. Part two looks at some possible solutions using Behaviour and the author’s Read the rest…

Posted by Rob Sanheim at 3:21 am
1 Comment

+++--
3.5 rating from 19 votes

Thursday, October 27th, 2005

Moo.fx: More effects. Built on Prototype

Category: Prototype, Toolkit

moo.fx is a superlightweight, ultratiny, megasmall javascript effects library, written with prototype.js by Valerio Proietti. This beast weighs in at a massive 3kb :) Prototype seems to be one of those libraries that people just want to build on. And this one gives you effects such as: Toggle Opactiy Toggle Height Toggle Width FadeSize Width, Read the rest…

Posted by Dion Almaer at 2:01 am
3 Comments

+++--
3.1 rating from 14 votes

Friday, October 14th, 2005

Ajax Framework Comparison

Category: Dojo, Editorial, Prototype

Matt Harrison was talking about making choices between various Ajax toolkits, frameworks, or libraries. He linked over to the OSA foundation and their Survey of AJAX/JavaScript Libraries. Their survey discusses: Dojo DWR JSON-RPC-JAVA MochiKit Prototype Rico SAJAX Scriptaculous Xajax Sack The world of Ajax libs is an interesting one, as they cover various functionality. We Read the rest…

Posted by Dion Almaer at 5:06 am
4 Comments

++---
2.7 rating from 7 votes

Sunday, September 25th, 2005

Prototype and Script.aculo.us Updates

Category: Prototype, Toolkit

Both Prototype and Script.aculo.us have announced upgrades. Prototype Firstly, there is a new Prototype 1.4 available for download that: features JSON support, a nice new Range object and some other goodies. Including being able to do things like Generate sorta-kinda-UUIDs in JavaScript with Prototype 1.4.0_pre6 function UUID() { return [4, 2, 2, 2, 6].map(function(length) { Read the rest…

Posted by Dion Almaer at 8:06 pm
1 Comment

+++--
3.8 rating from 18 votes

Friday, September 16th, 2005

Rails Ajaxians hit out at Microsoft Atlas

Category: .NET, Editorial, Prototype, Ruby

The PDC love parade announced Microsoft Atlas. Thomas Fuchs has hit out with an auto completion comparison between Atlas and his script.aculo.us component: First off, looking at their code, they were certainly a bit inspired by my code (and also by Sam’s code). I can see it’s difficult to give credit, but hey, you know, Read the rest…

Posted by Dion Almaer at 7:51 am
5 Comments

+++--
3.9 rating from 16 votes

Monday, September 12th, 2005

Prototype LiveGrid now comes with XSLT

Category: Component, Library, LiveSearch, Prototype

Chris van de Steeg has upgraded his fork of LiveGrid so that it has xslt support and improved scrolling. Full Feature List We can still produce any HTML, in stead of fixed table-rows We now have XSLT support!!! I’m really happy with this one. It allows to haveany xml source as dataset for the grid. Read the rest…

Posted by Dion Almaer at 1:21 am
4 Comments

+++--
3.8 rating from 8 votes

Wednesday, August 24th, 2005

Prototype JavaScript library documentation

Category: Library, Prototype

We have great JavaScript frameworks, growing by the day, with Prototype and Dojo Toolkit. The challenge at the moment is good documentation. Sergio Pereira put together some solid Prototype documentation. Sergio goes through: the $() and $F() functions Ajax.Request Ajax.Updater Reference for prototype.js [ via Rob Sanheim ]

Posted by Dion Almaer at 12:02 pm
Comment here

+++--
3 rating from 5 votes

Wednesday, August 17th, 2005

Debugging Prototype and catch(e) {} evilness :)

Category: Editorial, Prototype

I was helping someone debug some Prototype code. The problem was on a small demo thang, nothing was happening. After starting the debugging it was instantly obvious that the XHR request was not even being made. Then I looked at the Ajax code in Prototype and found: Ajax.Request.prototype = (new Ajax.Base()).extend({ … request: function(url) { Read the rest…

Posted by Dion Almaer at 1:49 am
2 Comments

+++--
3.2 rating from 6 votes

Monday, August 8th, 2005

script.aculo.us documentation here we come

Category: Prototype, Toolkit

script.aculo.us has just launched a Wiki which will document its efforts, and will also end up documenting some of Prototype (by the nature of s.a.u running on top of Prototype).

Posted by Dion Almaer at 10:09 am
2 Comments

+++--
3.3 rating from 6 votes

Tuesday, July 26th, 2005

Prototype based LiveGrid

Category: Library, Prototype

Alley fell in love with Rico LiveGrid when he saw it and wanted to implement it on his site. As he started on this task he items in which he wanted to change, so he has created a new prototype version: No support for the mousewheel Your html-output needs to be serialized (ie. use <a> Read the rest…

Posted by Dion Almaer at 9:36 am
3 Comments

+++--
3.6 rating from 9 votes

Tuesday, June 28th, 2005

Prototype and DWR: function $()

Category: JavaScript, Prototype

You may have seen $(‘someId’) in some of the JavaScript frameworks out there such as Prototype and DWR. We have had people wonder what kind of magic that is, and it is just a function. The name of that function just happens to be ‘$’, which is totally valid in JS. Prototype, being nice and Read the rest…

Posted by Dion Almaer at 11:41 am
10 Comments

+++--
3.9 rating from 20 votes

Thursday, June 23rd, 2005

script.aculo.us: JavaScript Libraries

Category: JavaScript, Library, Prototype, Ruby

Thomas Fuchs has given birth to: script.aculo.us. (Note to self. Must. Kill. .us domains that make words). script.aculo.us provides you with easy-to-use, compatible and, ultimately, totally cool JavaScript libraries to make your web sites and web applications fly, Web 2.0 style. script.aculo.us builds on Prototype, and gives you interesting items such as: Visual Effects: The Read the rest…

Posted by Dion Almaer at 12:33 am
2 Comments

++++-
4 rating from 7 votes

Monday, June 20th, 2005

Using Prototpe drag-and-drop features and saving the results

Category: Examples, Prototype

Don Wilson sent in a demo of using Prototype’s drag-and-drop feature to reposition a grid of images and save the results using Sajax. I’ve used Prototype’s draggable contents extension (found here: http://mir.aculo.us/demos/draggable2.html) in a project I’m working on. It allows you to move around images in a grid and update the mysql database using Sajax Read the rest…

Posted by Ben Galbraith at 10:35 am
Comment here

+++--
3.6 rating from 11 votes