JavaScript


Monday, September 11th, 2006

MooTools Released

Category: JavaScript, Library

The Mad4Milk team (the minds that brought the world moo.fx) have unleashed a brand new, very impressive Javascript library out onto the web – MooTools. mootools is a very compact, modular, Object-Oriented javascript framework. Its unique design makes it extremely crossbrowser, easy to use, and a snap to extend with your own code. It comes Read the rest…

Posted by Chris Cornutt at 8:49 am
9 Comments

++++-
4.2 rating from 61 votes

Wednesday, September 6th, 2006

JavaScript Throbber

Category: JavaScript, UI

Alex Bosworth has written the simplest of throbbers: < View plain text > javascript document.showThrobber = function() {     if ($(‘throbber’))     {         $(‘throbber’).innerHTML = ‘<span id="ajaxThrobber"><img ‘ +                                     ‘src="http://sandbox.sourcelabs.com/staticimages/indicator.black.gif"/>’ + Read the rest…

Posted by Dion Almaer at 9:38 am
15 Comments

+++--
3 rating from 84 votes

Tuesday, September 5th, 2006

Apocalypse 2.0 – A New Era of Fragmentation

Category: Browsers, JavaScript

Ryan Stewart cautions on Javascript fragmentation among web browsers in this ZDNet article. He speculates on the upcoming ECMAScript update (last edition was in 1999), with the following hypothetical scenario: ECMA released the specifications for the fourth edition of ECMA Script, and JavaScript 2.0 was born. It added enhanced JavaScript functionality for developers, but FireFox Read the rest…

Posted by Michael Mahemoff at 7:30 pm
11 Comments

++++-
4.2 rating from 24 votes

HyperScope: From the past to the future

Category: Dojo, JavaScript

Brad Neuberg has been working with Douglas Engelbart (inventor of the mouse, hypertext, email, etc) to bring parts of his original NLS/Augment system and some of his newer ideas to the web. The result of this work is Hyperscope, which is built entirely with Dojo, with heavy use of Ajax. What is Hyperscope The HyperScope Read the rest…

Posted by Dion Almaer at 8:50 am
4 Comments

++---
2.9 rating from 17 votes

Monday, September 4th, 2006

Dojo’s Deferred API

Category: Dojo, Examples, JavaScript

Brian McCallister has written more about Dojo Deferred and DFS in which he talks about the new Dojo Deferred class based on MochiKits and Twisteds. < View plain text > javascript var d = new dojo.Deferred();   // register callback   d.addCallback(function(name) {     log.debug("name: " + name) });     // supply data Read the rest…

Posted by Dion Almaer at 1:57 pm
2 Comments

+++--
3.4 rating from 26 votes

Thursday, August 31st, 2006

JS Linker in Dojo Toolkit

Category: Dojo, JavaScript, Library

AOL has been very generous by donating code for the JS Linker for Dojo: The JavaScript source code can be represented in different levels of granularity. The JavaScript Linker uses the Abstract Syntax Trees (ASTs) representation, which represents the lowest level of detail, to model the source code. One of the main task for this Read the rest…

Posted by Dion Almaer at 4:51 pm
26 Comments

+++--
3.6 rating from 37 votes

JavaScript Persistent Object Notation (JSPON)

Category: JavaScript

Kris Zyp has written up a RFC for JavaScript Persistent Object Notation (JSPON). The idea is to standardize a method for the identification of objects for efficient transfer and persistence of objects within large object graphs. JavaScript Persistent Object Notation (JSPON) is a data-interchange format with the goal of simply being a defined usage of Read the rest…

Posted by Dion Almaer at 9:50 am
4 Comments

+++--
3.6 rating from 27 votes

GWT + JSF = G4jsf

Category: Google, JavaScript, Library

The Ajax2jsf open source project now has a spin off G4jsf subproject that allows you to build JSF components in GWT. Sergey Smirnov has written an article / tutorial on integrating the Google Web Toolkit with JSF using G4jsf: The Google Web Toolkit (GWT) has attracted a lot of attention lately as a way to Read the rest…

Posted by Dion Almaer at 9:27 am
Comment here

+++--
3.4 rating from 64 votes

Monday, August 28th, 2006

jQuery 1.0 Released

Category: JavaScript, Library

John Resig has announced the release of jQuery 1.0 which has a “lot of bugs fixed, a ton of new features, and a complete overhaul of how the jQuery development process is run”. You can poke around the documentation via the Visual jQuery site.

Posted by Dion Almaer at 11:07 am
5 Comments

++++-
4.4 rating from 41 votes

Friday, August 25th, 2006

Framework Disagreement: JQuery: (Mis)leading the Pack

Category: JavaScript, Library, Prototype

Justin Palmer has taken issue to some of the statements made by jQuery and writes JQuery: (Mis)leading the Pack as a retort of sorts to “Why JQuery’s Philosophy is Better”. He makes some good points about: DOM Insertion Chainability CSS Selectors/Xpath Plugin Development Automatic Looping Ajax Updating Adding a class to an element Adding a Read the rest…

Posted by Dion Almaer at 11:27 am
2 Comments

+++--
3.8 rating from 44 votes

Lightbox using iFrames instead of AJAX

Category: JavaScript, Programming

The Find Motive blog has a quick tip for Lightbox users looking for a little bit different way to tdisplay the images. They show how to push the information into an iframe instead. Particle tree’s hack of Lightbox allows other content besides images to be put into a Lightbox, but it uses AJAX to pull Read the rest…

Posted by Chris Cornutt at 9:02 am
2 Comments

+++--
3.5 rating from 53 votes

Thursday, August 24th, 2006

I Know Where You’ve Been…

Category: JavaScript, Security

Jeremiah Grossman writes in with a downright spooky blog posting: I updated the blog template to display some proof-of-concept browser history stealing JavaScript code. On the right side column notice the “I know where you’ve been” heading. Below that, if your using Firefox, Mozilla, Netscape or Safari, you should see a bunch of links to Read the rest…

Posted by Ben Galbraith at 2:27 pm
8 Comments

+++--
3.9 rating from 17 votes

Wednesday, August 16th, 2006

liberty: basic javascript library

Category: JavaScript, Library

Andreas Kalsch of uniAjax has released a mini JavaScript library called liberty that has some recognizable functions ($()) but some new ones: Number.prototype.setInRange(from, to) getElements(tagName, attribute, value) addHandler(elements, types, handler) Whenever I see duplicate functions (e.g. $() again) it makes me wish that we could have a real way to share javascript libraries between apps. Read the rest…

Posted by Dion Almaer at 10:56 am
2 Comments

+++--
3.1 rating from 37 votes

Tuesday, August 15th, 2006

Survey of Javascript Inheritance Techniques

Category: JavaScript, Programming

Josh Gertzen of Thinwire has written up a detailed survey of techniques for OO-style inheritance in Javascript, leading up to the technique he’s recently developed to overcome flaws in the existing approaches. I set out to see if I could devise a working design of my own. It took me about a week to work Read the rest…

Posted by Michael Mahemoff at 6:05 pm
4 Comments

++++-
4.2 rating from 29 votes

Thursday, August 10th, 2006

Unobtrusive Javascript and Ajax for Rails

Category: Accessibility, JavaScript, Ruby, Unobtrusive JS

Luke Redpath and Dan Web have released Unobtrusive Javascript for Rails. If you’ve spent time with the Rails javascript helpers, you know that they can be a huge time saver, but tend to produce some nasty code like this: < View plain text > javascript <form onsubmit="new Ajax.Request(‘/subscribe/add_ticker’, {asynchronous:true, evalScripts:true, onLoading:function(request){ticker_loading()}, parameters:Form.serialize(this)}); return false;" method="post" Read the rest…

Posted by Rob Sanheim at 9:39 am
5 Comments

+++--
3.5 rating from 40 votes

Wednesday, August 9th, 2006

JavaScript Tricks And Good Programming Style

Category: JavaScript, Programming

A wise man once said that one can never have too many Javascript hints and tricks. Well, okay – so maybe I made the man up, but the tips are real and there are some over in this new post from Alexander Kirk. I have been programming for about 10 years now, and I am Read the rest…

Posted by Chris Cornutt at 4:28 pm
4 Comments

+++--
3.3 rating from 43 votes