JavaScript


Monday, January 29th, 2007

Fun with browsers: for in loop

Category: JavaScript, Tip

Tobie Langel is having fun with for loops in JavaScript and wrote about how they are broken in Safari. This is the classic issue of looping through properties of an object, and getting all properties: < View plain text > javascript var Person = function(name) {   this.name = name; };   Person.prototype.name = ‘anonymous’; Read the rest…

Posted by Dion Almaer at 6:19 am
7 Comments

++++-
4.1 rating from 17 votes

Friday, January 26th, 2007

Image Thumbnail Viewer

Category: JavaScript, Library

Dynamic Drive has a simple new Image Thumbnail Viewer that allows you to annotate your HTML with a rel=”thumbnail” and a lightbox-esque viewer will be added to the link of your choice.

Posted by Dion Almaer at 7:11 am
2 Comments

+++--
3.6 rating from 96 votes

Thursday, January 25th, 2007

JDA Emulator: Spring for JavaScript

Category: JavaScript, Library

Peter Svensson liked what he saw in MAYA Design Inc.’s JDA implementation, but wanted an open source alternative. He created a free LGPL implementation of Javascript Dataflow Acrhitecture (JDA) called the JDA Emulator. What is JDA? JDA is basically a javascipt microkernel along the same lines as Spring or Hivemind for Java. The wiring of Read the rest…

Posted by Dion Almaer at 9:22 am
9 Comments

+++--
3.5 rating from 25 votes

Tuesday, January 23rd, 2007

WHATWG Web Forms 2.0 Repetition Model Implementation

Category: JavaScript, Library

Weston Ruter has created a cross-browser JavaScript implementation of the WHATWG Web Forms 2.0 Repetition Model after taking to heart the spec that annotates: The entire model can be emulated purely using JavaScript and the DOM. With such a library, this model could be used and down-level clients could be supported before user agents implemented Read the rest…

Posted by Dion Almaer at 10:00 am
6 Comments

+++--
3.6 rating from 36 votes

LockBin: An OpenID Password Vault

Category: JavaScript, Utility

Matt Reider decided to write a password vault called LockBin. What is it, and why is it different? LockBin is an AJAX website built in PHP. It stores our passwords securely, and uses OpenID to do so. It is sort of funny to me that it uses OpenID, because the technology was never intended to Read the rest…

Posted by Dion Almaer at 9:28 am
4 Comments

+++--
3.6 rating from 23 votes

Monday, January 22nd, 2007

Fork: One more JavaScript Library

Category: JavaScript, Library

Fork is the latest JavaScript library to be put out there. Fork is a general purpose, namespaced JavaScript library with Ajax, Events, DOM manipulation. There are a few bonus lines of code specifically for use with Ruby on Rails but Fork can be happily used outside of Rails also. Why create yet another JavaScript library? Read the rest…

Posted by Dion Almaer at 10:00 am
9 Comments

++---
2.6 rating from 50 votes

Friday, January 19th, 2007

Prototype 1.5, now with Documentation

Category: Examples, JavaScript, Library, Prototype

It is documentation Friday. The new site prototypejs.org has launched, and the call for documentation help rang through to some people. This new documentation includes: Tips and Tutorials (e.g. Ajax, Extending the DOM) API Reference Blog There is still room for a lot more help, so join in.

Posted by Dion Almaer at 8:54 am
17 Comments

+++--
3.3 rating from 85 votes

Mootools Updated Documentation for 1.0

Category: Articles, JavaScript, Library

Aaron Newton has updated his excellent Mootorial documentation for Mootools. He has updated the docs for the near complete 1.0 release, and has migrates the docs to a wiki, so others can share his load. The examples have the cool feature of plugging into the Firebug console, and at various points you can execute this Read the rest…

Posted by Dion Almaer at 8:42 am
7 Comments

+++--
3.5 rating from 33 votes

Wednesday, January 17th, 2007

Stock Quote Charting in Real Time with Comet

Category: Comet, Dojo, Examples, JavaScript, Library

SitePen and Lightstreamer have been working together to create a project that integrates Dojo’s Charting and Filtering Table widgets with Lightstreamer’s Comet server. The demo shows real-time stock lists that stream through and are charted below. The full source code for the demo is also provided. Some people think that Comet isn’t as easy as Read the rest…

Posted by Dion Almaer at 12:01 am
16 Comments

+++--
3.9 rating from 65 votes

Tuesday, January 16th, 2007

Rialto: Rich toolkit platform with drag and drop

Category: JavaScript, Toolkit

We somehow haven’t mentioned Rialto here before: Rialto (Rich Internet Application Toolkit) is a cross browser javascript widgets library. Because it is technology agnostic it can be encapsulated in JSP, JSF, .Net or PHP graphic components. Nowadays it supports pure javascript development , JSP/taglib, PHP, JSF and Python integration. The .Net integration is on the Read the rest…

Posted by Dion Almaer at 11:09 am
4 Comments

+++--
3.3 rating from 40 votes

Monday, January 15th, 2007

byteplug: Experimental Online JavaScript Editor

Category: JavaScript, RichTextWidget, Toolkit, Utility

Andrea Giammarchi has been working on an online JavaScript editor and debugger. The online editor combines a possible solution for byte family plugins, a global byteplug namespace object, and a portable Editor panel to test quickly JavaScript and/or html pages. Features realtime debug   It allows developers to write and test code quickly using document.write, Read the rest…

Posted by Dion Almaer at 8:30 am
14 Comments

+++--
3.7 rating from 36 votes

Sunday, January 14th, 2007

JavaScript Scripting Essentials

Category: JavaScript, Library, Programming

Dan Webb asks what are your JavaScript essentials? Those bits and pieces you can’t live without that get copy/pasted from project to project. His pragmatic list includes the $ function, getElementsByClassName, Dean’s event handling, the JS 1.6 array methods, and the DOMContentLoaded event. His full script that he guarantees he _won’t_ support is here. Do Read the rest…

Posted by Rob Sanheim at 4:47 pm
11 Comments

+++--
3.9 rating from 33 votes

Friday, January 12th, 2007

Animation with Continuations

Category: JavaScript, UI

Kris Zyp has written an article discussing the demonstration using continuations in JavaScript to facilitate writing animations with straightforward linear code. The example is a bunch of bouncing gears that animate up and down as they bounce. Explanation When you click on the button, this calls the addGear function and starts a new “thread” of Read the rest…

Posted by Dion Almaer at 9:08 am
9 Comments

+++--
3.3 rating from 26 votes

DomQuery – A lightweight CSS Selector / Basic XPath implementation

Category: CSS, JavaScript, jQuery, Performance, Sencha

Jack Slocum is a machine. We had to add the new YUI-EXT category for him as he is coming up with such good material. His latest, is an article on DomQuery – A lightweight CSS Selector / Basic XPath implementation. Support for more complex schemas and document structures in the grid’s XMLDataModel class has been Read the rest…

Posted by Dion Almaer at 8:10 am
7 Comments

++++-
4.1 rating from 50 votes

Thursday, January 11th, 2007

XUL UI Widgets that Degrade

Category: JavaScript, UI

Cedric Savarese got creative over his winter break and decided to experiment with XUL in HTML. It shows that you can write XUL UI widgets that degrades gracefully to DHTML widgets in browsers that do not support XUL (IE, Safari, Opera). This time, I was thinking about the interface for the next version of the Read the rest…

Posted by Dion Almaer at 10:07 am
17 Comments

++---
2.2 rating from 119 votes

JavaScript Dataflow Architecture: Mashup Creation Prototype

Category: JavaScript, Toolkit

Seung Chan Lim and his team have been working on research prototypes to make the creation of mashups simple. JavaScript Dataflow Architecture is the fruits of their labour. The idea of the research is to allow adhoc assembly of disparate Javascript, HTML and Web services to do rapid prototyping of Web mash ups. The research Read the rest…

Posted by Dion Almaer at 9:00 am
3 Comments

+++--
3.5 rating from 27 votes