Activate your free membership today | Log-in

Friday, May 4th, 2007

How to correctly use the power of widgets in Ajax

Category: Articles, Component

<p>Laurent Haan has followed up his post on creating an Ajax ratings widget by getting a little more meta, and has posted on how to correctly use the power of widgets in Ajax.

It covers the usability and accessibility problems of custom widgets, compared to the standard HTML widgets and discusses the possible implementation methods that could be used to implement them in JavaScript.

There is a lot of work in this area. From the Widget W3C group, to the new the new dijit project.

Related Content:

  • Ajax Learning Guide
    Are you a Web developer? The time has come to rethink your entire approach to developing Web applications. Find out about the Ajax approach...
  • Ajax Learning Guide
    Are you a Web developer? The time has come to rethink your entire approach to developing Web applications. Find out about the Ajax approach...
  • How To Overcome Ajax Roadblocks
    In this second part of a two-part column we'll look at roadblocks to wider Ajax deployment for Web services and SOAs -- and what it will take to...
  • Upgrading to Ajax apps increases productivity
    Find out why internal apps are ripe for replacement with Ajax-based apps, what common mistakes users make when debugging apps and where you can find...
  • Web 2.0 widgets: Enterprise protection for Web add-ons
    Web 2.0 widgets represent a threat vector that should not be overlooked at any enterprise organization. In this tip, Nick Lewis explains how companies...

Posted by Dion Almaer at 3:27 pm
8 Comments

++++-
4.2 rating from 36 votes

8 Comments »

Comments feed TrackBack URI

I dont understand why developers cant transport xml/xhtml/html using javascript directly, but has to work around it, using stuff like json?

XIN fetches entire xml/xhtml apps, with images, css, scripts and all, as a single unit and writes it into the page as part of it’s dom on the fly, works in all browsers too, and both the images and css are forceloaded into the page.

http://www.widgetplus.com is basically ‘proof of concept’ for this approach.
These widgets can be fetched cross-domain and appear anywhere, being injected into blogs, etc, using a single js-link.

There are no tricks, iframes or xmlhttp problems involved with this, and the apps are just plain dhtml apps with a server backend, so there’s nothing complicated writing one.

Comment by mikael bergkvist — May 5, 2007

I’m sure you didn’t take the time to read the article or you would know that I’m not talking about “stand-alone” widgets that are responsive and already implement their functional behavior themselves, but rather input widgets that can be used in standard forms to enter a value in a more fancy way. A basic example would be an horizontal slider that is used to enter a value between 0 and 10.
This can’t be done without any fancy “work-around” since the interaction with the slider only results in an internal value change and not in something like a server request as in the rating widget example.

Comment by Laurent Haan — May 5, 2007

The widgetplus widgets are all serverbased, and updates remotly from the server live.
- I did read the article.

Comment by mikael bergkvist — May 5, 2007

This shows you what I mean.. http://www.widgetplus.com/create.htm

Comment by mikael bergkvist — May 5, 2007

The article would do well with subheadings and paragraph margins.

Comment by Jordan — May 5, 2007

Yeah, I thought so too.

Comment by mikael bergkvist — May 5, 2007

mikael, typo on your site — “This is a series of interconnected widgets, a suit of widgets if you will”… “suit” =>”suite”

Comment by MD — May 5, 2007

Right. I’ll fix that pronto.

Comment by mikael bergkvist — May 5, 2007

Leave a comment

You must be logged in to post a comment.