JavaScript


Thursday, April 14th, 2005

Drag n’ Drop in JavaScript

Category: JavaScript

A lot of people ask about drag and drop, and here is a nice set of examples: Direct Manipulation Using JavaScript and CSS. Direct manipulation, particularly drag and drop, is under utilized in desktop applications and is almost non-existant in web applications. The following examples demonstrate that direct manipulation is possible in modern browsers. Each Read the rest…

Posted by Dion Almaer at 8:29 am
4 Comments

+++--
3.4 rating from 28 votes

Monday, April 11th, 2005

GreasemonkIE: JavaScript’s for both browsers

Category: JavaScript

GreaseMonkey is a very popular plugin for Mozilla, and now Todd has released a very early version of GreaseMonkIE. Although some may poo-poo IE, we can’t forget its market-share, and from what I hear IE 7 is going to be pretty darn cool. So, hopefully the monkIE will catch up to the monkey, and user Read the rest…

Posted by Dion Almaer at 2:48 pm
Comment here

+++--
3.7 rating from 3 votes

Monday, April 4th, 2005

ActiveWidgets Grid 1.0

Category: Component, JavaScript, Library, Toolkit

ActiveWidgets has released an updated Grid component: ActiveWidgets Grid 1.0. The grid component is very clean and slick, and is only one of the many components in their UI toolkit. ActiveWidgets products are available for both open source and commercial software development. Here are the simple guidelines for choosing the right licensing option: Use the Read the rest…

Posted by Dion Almaer at 10:44 am
1 Comment

+++--
3.4 rating from 11 votes

SQL to query JavaScript? :)

Category: JavaScript

TrimPath has a new TrimQuery release which groks SQL: With some inspiration from the JavaScript DB project, I’ve finally added a SQL parsing frontend to TrimQuery, release 1.0.28. That is, the TrimQuery engine now supports SQL instead of just the TrimQuery Language (TQL). You can take a look at the new demo page for a Read the rest…

Posted by Dion Almaer at 10:37 am
7 Comments

+++--
3.3 rating from 12 votes

Wednesday, March 30th, 2005

JavaScript Security Concerns

Category: JavaScript

Michael Moncur has spoken about the concerns wrt security with GreaseMonkey. I understand that people get concerned when they think of scripts running wild on their system. However, like Michael, I also find it ironic that many of the same people are 100% ok with installing firefox extensions, or grabbing the latest Cool Toy from Read the rest…

Posted by Dion Almaer at 10:38 am
8 Comments

+++--
3.2 rating from 16 votes

Friday, March 25th, 2005

Declarative JavaScript programming

Category: JavaScript

Do you want to go annotation crazy in the JavaScript world? Anders NorÃ¥s has created annotation support in JavaScript. He follows the XDoclet-style approach, in that annotations are tacked on via comments: Calculator.square=function(num) { /** *@Version(“1.0.0â€?) *@Modifiers(modifiers=Modifier.static|Modifier.public) *@Returns(type=â€?numberâ€?,description=â€?The square of the given numberâ€?) */ return num*num; } and then you can get at the annotation Read the rest…

Posted by Dion Almaer at 1:09 pm
2 Comments

++---
2.3 rating from 7 votes

Thursday, March 24th, 2005

Enums in JavaScript

Category: Ajax, JavaScript

Matt Raible pointed me to Ditchnet.org which has some interesting JavaScript tips and tricks. At the top there they discuss enums in JavaScript: function Suit(name) { this._name = name; } Suit.prototype.toString = function () { return this._name; }; Suit.CLUBS = new Suit(‘clubs’); Suit.DIAMONDS = new Suit(‘diamonds’); Suit.HEARTS = new Suit(‘hearts’); Suit.SPADES = new Suit(‘spades’); It Read the rest…

Posted by Dion Almaer at 2:19 pm
3 Comments

+++--
3.7 rating from 12 votes

Graceful fallback from Ajaxian applications

Category: Ajax, JavaScript, Usability

One of the common arguments is whether or not your application “should just work” if the client doesn’t have JavaScript enabled (or an old version etc). Jep Castelein spoke about this recently. As always, when you are chosing technology you have decisions to make. One of them is the balance. How much time are you Read the rest…

Posted by Dion Almaer at 11:26 am
Comment here

+++--
3.3 rating from 3 votes

Wednesday, March 23rd, 2005

Ajaxian libraries: Learning from Java Web Framework problems

Category: Ajax, Editorial, Java, JavaScript, Library

Having a lot of different implementations and innovations is certainly a good thing. However, many Java web developers are frustrated as hundreds or thousands have sprung up over time. As soon as Servlets and JSPs were released, people realised that they wanted to build a framework at a higher level of abstraction. This lead to Read the rest…

Posted by Dion Almaer at 5:11 pm
3 Comments

++---
2 rating from 4 votes

Monday, March 21st, 2005

Messing with Colors

Category: JavaScript

Lloyd Dalton has a nice little site colr.org, which lets you mess with colors in a del.icio.us kinda way. colr.org has two purposes: It’s a tool to let people fiddle around with colors and words. It’s a jungle gym (of sorts) for software ideas

Posted by Dion Almaer at 10:50 am
4 Comments

+++--
3.5 rating from 2 votes

Friday, March 18th, 2005

JavaScript O Lait

Category: JavaScript

Mike passed on a link to JavaScript O Lait: It’s more than just a JavaScript library. The goal is to ease JavaScript development by building a library of reusable modules and components and enhancing JavaScript with simpler Class and Module handling mechanisms. “JavaScript O Lait” is free and is covered by the LGPL. There are Read the rest…

Posted by Dion Almaer at 7:41 am
2 Comments

+++--
3.2 rating from 5 votes

Tuesday, March 15th, 2005

Using Maven to modularize JavaScript development

Category: Ajax, Builds, Java, JavaScript

A lot of developers ‘poo poo’ any code that is written in JavaScript. “JavaScript isn’t a real programming language” “JavaScript is just about browser hacker scripts” “You can use it to focus(). Big deal.” “JavaScript is for the HTML designers, not for REAL coders” Giving thought to your JavaScript code As such, any JavaScript code Read the rest…

Posted by Dion Almaer at 9:36 am
5 Comments

+++--
3.3 rating from 15 votes

Monday, March 14th, 2005

Orbjson Ruby Intro Article

Category: Ajax, HTML, JavaScript, Ruby, XmlHttpRequest

James Britt has written an article titled Getting started with Orbjson (PDF). Orbjson is a JSON-RPC object request broker for JavaScript/Ruby RPC interaction. Communication between client and server is done using JSON, the JavaScript object notation Orbjson takes JSON-RPC requests, locates the correpsonding server-side object, deserializes the requrst, and invokes the method call. Orbjson then Read the rest…

Posted by Dion Almaer at 7:06 pm
3 Comments

++++-
4.1 rating from 17 votes