JavaScript


Friday, May 19th, 2006

Java Posse Interviews: Google and Sun Toolkits

Category: Google, Java, JavaScript, jMaki, Recording, Toolkit

The Java Posse has been busy at JavaOne and recorded a couple of interviews on the high-profile Java+Ajax toolkits we’ve mentioned recently. Two Interviews about AJAX. The First is with Brett Taylor of Google about the just-announced red-pill project (also known as the Google Web Toolkit) and the second with Greg Murray of Sun … Read the rest…

Posted by Michael Mahemoff at 2:24 pm
8 Comments

+++--
3.7 rating from 32 votes

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
24 Comments

+++--
3.8 rating from 132 votes

Thursday, May 18th, 2006

Sun Announces Ajax Widget Wrapping and JavaScript App Server

Category: Ajax, Java, JavaScript, jMaki

Over the past week, Sun has made two very interesting announcements. First, at our own Ajax Experience event, Sun announced jMaki. Created by Sun’s Ajax guru Greg Murray, jMaki (Maki is Japanese for “wrap”) provides a simple API for embedding disparate JavaScript widgets into a Java web application. jMaki is all about enabling Java developers Read the rest…

Posted by Ben Galbraith at 1:56 am
11 Comments

+++--
3.8 rating from 51 votes

Wednesday, May 17th, 2006

Google Web Toolkit: Ajax Apps from Java

Category: Google, Java, JavaScript, Toolkit

Google has released Google Web Toolkit (GWT), a code generation framework that lets you code Ajax apps in pure Java. It’s not unlike Echo2, the open-source framework from NextApp. A compiler performs the Java-to-Javascript translation. Use your favorite Java IDE to write and debug an application in the Java language, using as many (or as Read the rest…

Posted by Michael Mahemoff at 3:39 am
24 Comments

+++--
3.5 rating from 109 votes

Tuesday, May 16th, 2006

Revenge of the $

Category: Editorial, JavaScript, Library

There was a lot of talk on namespaces, and conflicts with the $ function. This problem is made worse in the JavaScript world due to the fact that you have to ship the JS that your app needs each time. Practicalities mean that a lot of developers have build tools that generate a minified js Read the rest…

Posted by Dion Almaer at 10:06 am
46 Comments

++---
2.5 rating from 56 votes

Sunday, May 14th, 2006

Brendan Eich: JavaScript 2 and the Future of the Web

Category: JavaScript, Presentation, Programming, The Ajax Experience

We were lucky enough to have Brendan Eich, creator of JavaScript, give a keynote at The Ajax Experience. We have placed the presentation online so everyone can read up on some of the thoughts and discussion on JavaScript 2 and more. Here we got to hear from the mouth of someone deep into the ECMA Read the rest…

Posted by Dion Almaer at 1:09 am
16 Comments

++++-
4.3 rating from 33 votes

Friday, May 12th, 2006

Dojo Releases Version 0.3

Category: Dojo, JavaScript, Library

The Dojo Toolkit has a new release: 0.3. There is a lot of content in this release, all of which you can read on their Wiki, but some of the highlights are: dojo.lang.storage: Offline Storage gets an update dojo.lfx – the new animation system simplifies the creation of the common-case animations, makes it simpler to Read the rest…

Posted by Dion Almaer at 4:32 pm
Comment here

+++--
3.8 rating from 29 votes

Thursday, May 11th, 2006

Yahoo! UI Library adds AutoComplete, Windowing, Menu and More

Category: JavaScript, Library

The Yahoo! team has released another version of the Yahoo! UI library. I’m very happy to announce today a whole bunch of new stuff in both the Yahoo! Design Patterns Library and the Yahoo! User Interface Library. On the design side, there are more than a dozen new patterns (as well as oft-requested examples for Read the rest…

Posted by Dion Almaer at 8:41 am
7 Comments

+++--
3.6 rating from 33 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
7 Comments

++++-
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
17 Comments

++++-
4 rating from 176 votes

Apache XAP Proposal

Category: JavaScript, Library

Coach Wei, CTO of Nexaweb, has proposed an open Apache project for declarative XML named XAP (eXtensible Ajax Platform): XAP is to provide an XML-based declarative framework for building, deploying and maintaining rich, interactive, Ajax-powered web applications. A basic principal of XAP is to leverage existing Ajax projects such as Apache Kabuki and Dojo, as Read the rest…

Posted by Dion Almaer at 1:31 am
13 Comments

+++--
3.3 rating from 29 votes

Thursday, May 4th, 2006

DWR version 2.0 milestone 2: Write Javascript using Java

Category: Java, JavaScript, Library, Toolkit

Milestone 2 contains some great new features like Annotation based configuration and a customization to allow Reverse Ajax to use Jetty Continuations. It also contains an experimental new feature to let you write Javascript using a Java API. Read on for how it works and why it can allow you to do some neat things. Read the rest…

Posted by Dion Almaer at 11:12 am
4 Comments

++++-
4 rating from 35 votes

Handling Tabs in Textareas

Category: Examples, JavaScript

Over on bitprophet they have a test area for handling tabs in textareas. The usecase for this is if you have an area and you want your users to be able to tab into it to enter text. Normally of course, you get tabbed out to the next form element. This technique shouldn’t be used Read the rest…

Posted by Dion Almaer at 11:01 am
23 Comments

+++--
3.7 rating from 79 votes

Monday, May 1st, 2006

MochiKit Releases Version 1.3

Category: JavaScript, Library, Python

MochiKit, “a lightweight JavaScript Library”, has released version 1.3.1. The highlight of this release is MochiKit.Signal – a simple universal event handling system. Other features include additional examples, improved documentation, and changes and tweaks to Async, Base, Logging, and Dom and packages. For the full list of changes, check the version history, or just download Read the rest…

Posted by Rob Sanheim at 10:38 pm
9 Comments

++++-
4 rating from 37 votes

Open Says Me (Accessible Development)

Category: Accessibility, JavaScript, Usability

Pete Forde suggests a method in his new post for making websites that everyone can enjoy, not just the ones that have browsers that natively support the latest bells and whistles. Graceful degredation is one of the larger problems that developers with technologies like Ajax face, but the development method he suggests just might help. Read the rest…

Posted by Chris Cornutt at 1:14 pm
7 Comments

++++-
4.2 rating from 36 votes

Backbase: More Browser Support

Category: JavaScript, Toolkit

The support for various browsers keeps getting more and more mature with the Ajax frameworks. Backbase just talked about their browser support progress and has made available a playground at playground.backbase.com for us to point our narly browsers at. To provide interested parties with a sneak preview and to get the Backbase community involved in Read the rest…

Posted by Dion Almaer at 8:35 am
Comment here

+++--
3.1 rating from 28 votes