Radio
Thoughts on Radio.


@ Saturday, March 16, 2002
 



UserLand has released the details of a new driver architecture for its news aggregator. Burningbird has some comments that I think are right on. I'm really only familiar with the C++ analogy and I think it is basically right. When invoking the method of an object in C++ you are basically doing a method lookup in a virtual table (vtable). If there isn't an entry in the vtable of your object, then the lookup continues to your superclass, which is kind of what is happening in the aggregator driver architecture. What might be kinda cool (though probably very difficult to get right) would be if the XML payload could contain its own driver. I don't actually think if is technically impossible. The driver is just a script (and it is essentiallly interpreted, as Burningbird points out) and that script could be contained within the XML of a news item. Of course, if the script is long and every XML payload had to contain it, well, that wouldn't be so much fun. But perhaps the payload could have a pointer to the driver script and if a particular driver didn't exist for that XML, then Radio could go get it, install it, compile it, and use it to parse the XML. That way you could subscribe to new kinds of news without having to worry about whether or not you have the driver for it. You just subscribe and it'll come for free the next time you get an update.

comment ()  11:29:35 AM  #  


Click here to visit the Radio UserLand website. © Copyright 2002 Will Leshner.
Last update: 3/16/02; 11:29:36 AM.
March 2002
Sun Mon Tue Wed Thu Fri Sat
          1 2
3 4 5 6 7 8 9
10 11 12 13 14 15 16
17 18 19 20 21 22 23
24 25 26 27 28 29 30
31            
Feb   Apr

Click to see the XML version of this web page.

Click here to send an email to the editor of this weblog.

~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~