Re: [widgets] Interface published

2009/11/30 Robin Berjon <robin@berjon.com>:
>  widget.getItem("name") Revolutionary? Well, if you're in business selling
> keyboards and RSI relief, maybe.

I thought it might save on DOM pollution. I have been playing with a debugger
and the global vars passed between the Web runtime and debugger are
outrageously bloated.

> There isn't a standard mapping from XML to JSON, but there have been
> experiments mapping the Infoset to JSON. Good luck using that here!

Loads of PHP developers write something like:

<?
$s = simplexml_load_file(rawurlencode("config.xml"));
echo json_encode($s);
?>

Though it looks pretty darn ugly.

> We could expose more things, but no one asked for them. If people ask for
> them, we can expose them in 1.1. It's not complicated.

Well it is complicated when you think you have to wait until all the people
upgrade to the next version in order to expose something new.

Though, I can't think of a Debian package that relies on the
debian/control file for anything during runtime.

Please consider my comments as resolved.

Received on Thursday, 3 December 2009 14:56:15 UTC