Web Info & Tutorials

November 8th, 2006

DOJO CHARTING ENGINE RELEASED

The Dojo Toolkit keeps adding packages (thankfully they have package management too!). Today, "Greenplum and SitePen announced the contribution of the new Charting engine to the Dojo Toolkit. Originally designed as the foundation for the Greenplum Monitor–a browser-based database monitoring application to be released later this year–the Charting engine is a cross-browser way of creating very complex charts easily, that can be updated on a regular basis."

Features

  • A Chart can have multiple “PlotAreas” (the actual charts)
  • A PlotArea can contain multiple Plots (x/y axis + N data series)
  • Data series are bound at run-time to a dojo.collections.Store object, with flexible field bindings.
  • An Axis can have custom labeling schemes.
  • See below for plot types.
  • Each plotter can take a function at render, which will be called for every data point in that series–the node representing the point is passed, as well as the entire source object the point represents.
  • PlotAreas provide a facility for assigning colors to series (basically it has a built in HSV generator)
  • All browsers but WebKit are supported in full.
  • Rendering can be granular; right now the test only runs rendering once, but it was designed to all of constant rendering if needed.
  • A range of data points can be plotted (instead of the full data set) if so desired.
  • Trend methods are available for data analysis (but no specific plotters are built for it yet).

The test page has it all:

Dojo Charting

You can see that you end up with code like this:

dojo.require("dojo.collections.Store");
dojo.require("dojo.charting.Chart");
dojo.require('dojo.json');

//      our sample data for our line chart.
var json = [
        { x: 0, y: 110, size:20, x2:20, high:110, low: 80, open:90, close:96 },
        { x: 10, y: 24, size:4, x2: 25, high:56, low: 43, open:43, close:54 },
        { x: 15, y:63, size:32, x2: 30, high: 100, low: 40, open:56, close: 96 },
        { x: 25, y: 5, size:13, x2: 35, high: 40, low: 36, open:40, close:36 },
        { x: 40, y: 98, size:7, x2: 40, high: 86, low: 66, open: 80, close: 70 },
        { x: 45, y: 54, size:18, x2: 45, high: 50, low: 0, open: 42, close: 4 }
];     
var store = new dojo.collections.Store();
store.setData(json);

//      define the chart.
var s1 = new dojo.charting.Series({
        dataSource:store,
        bindings:{ x:"x", y:"y", size:"size" },
        label:"The Main Series"
});

// ... much much more
 

November 8th, 2006

HELIPAD: YOUR WEB NOTEPAD

Alex Young (author of Tiktrac) and his team have created a new product called Helipad. This tool aims to be a web-based version of your notepad.

It's a simple online notepad that provides tagging, colourised tags, auto-save, and allows people to turn their documents into plugins and themes through their add-on engine.

Here is the dashboard showing your content:

Helipad Dashboard

And the wiki-like editing:

Helipad Editing

It will be nice to see if the also give you the choice to do rich editing a la Editor2 from Dojo (which JotSpot and others use, and which will get a lot better soon).

November 8th, 2006

IS CONVERGING TOWARDS THE DESKTOP GOOD?

Aza Raskin crosspiece at The Ajax Experience most the screen cosmos dead. The speech was entertaining, and he good posted his slides.

He has followed up the speech with a question: Is Converging Towards the Desktop Good? in which he takes the lateral of “No.”.

He comes discover against recreating windowing toolkits in JavaScript, and instead clutch the web-way, and intellection right of the screen incase to become up with a more humanist interface:

In 2004, Google chose to ingest digit nascent technology, Ajax, to create an e-mail service: since there didn’t subsist some Ajax toolkits that allowed them to repeat the screen on the web, they were unnatural to conceive simply, “how crapper we impact with Ajax and the scheme to attain telecommunicate humane?”

Their respond was something that was actually more humanist than some screen e-mail computer already in existence. What’s modify more engrossing is that tralatitious screen developers had daylong been healthy to create an telecommunicate computer as humanist as Gmail–but they never did, because UI toolkits prefabricated it so cushy to create something that was familiar, that was the same, that was inhumane.

You cannot be meliorate without cosmos different.

The desktop-like scheme toolkits cosmos matured today threaten conception by entrenching us in information of the past. We requirement to advert that there is something meliorate than the screen in some of today’s scheme applications, and we requirement to circularize this conception with us as we advise nervy to create newborn tools and newborn interfaces.

Do you concord or disagree?