740)this.width=740″ border=undefined>
这些小部件放在桌面上相当美观,还十分有利于在女孩子面前耍酷并进一步制造接近她们的机会~~
Brad Wardell用“Widget Wars”这个词来形容桌面构件软件的现状,Windows上这种软件越来越多了,蓄势中的Longhorn提供的XAML和苹果的Dashboard马上也会掺乎一把。
Widget从本质上说就是依附在桌面上的小应用,从天气预报到一只从上往下掉的小绵羊。Widget的特色之一是依赖已存在的库来完成界面绘制工作,以此减少系统开销。Widget的开发者不需要关心其内容的绘制方法--他们更重要的任务是设计出好看的东东,所以,Widget通常都不是规规矩矩的Windows窗口,他们的造型可能惊世骇俗地可爱抑或石破天惊地丑陋;-)
下面是5个Widget软件,都很有名气:
DesktopX, AveDesk, Samurize, Konfabulator, Kapsules
DesktopX具有最悠久的历史,大约5岁了。为Windows XP设计的DesktopX 2已经摆脱了前辈为了兼容Win9X而背上的包袱,前者更新而且有很多先进特性。DesktopX允许使用VBScript 和 Javascript编写widget。支持使用多种语言编写插件。
眼前一亮:
740)this.width=740″ border=undefined>
740)this.width=740″ border=undefined>
740)this.width=740″ border=undefined>
740)this.width=740″ border=undefined>
740)this.width=740″ border=undefined>
740)this.width=740″ border=undefined>
740)this.width=740″ border=undefined>
740)this.width=740″ border=undefined>
740)this.width=740″ border=undefined>
740)this.width=740″ border=undefined>
Konfabulator目前占据着苹果机的widget世界,已经有一年半的历史。它是一个Java运行时引擎,使用户能创建并运行使用Javascript编写的applet,Konfabulator在其中负责全部的视觉绘制工作。
Konfabulator的widget都是文件夹,其中包含.kon文件和一个包含了Javascript和对象定义的XML文件,此外还有一些.PNG文件做界面之用。
现在看来Konfabulator的未来有点灰暗--苹果决定在MacOS Tiger中包含Dashboard--一种类似的技术。不管两者的技术有何差别,他们的最终效果是类似的。有人觉得这是苹果认识到了Konfabulator这类软件的实力和潜力,因此动了手。
苹果风范:
740)this.width=740″ border=undefined>
740)this.width=740″ border=undefined>
740)this.width=740″ border=undefined>
740)this.width=740″ border=undefined>
740)this.width=740″ border=undefined>
740)this.width=740″ border=undefined>
740)this.width=740″ border=undefined>
740)this.width=740″ border=undefined>
Samurize是一个VBScript运行时引擎,包含了创建widget的强大工具,开发环境相当不错。编写Samurize的widget十分简单,这是它其超过其他widget软件的特性之一。Samurize提供了相当多的系统监视功能,所以Samurize上的系统监视widget(比如CPU使用率监视)特别多;-)
很有风格特色:
740)this.width=740″ border=undefined>
740)this.width=740″ border=undefined>
740)this.width=740″ border=undefined>
740)this.width=740″ border=undefined>
740)this.width=740″ border=undefined>
AveDesk被看作桌面上的docklet(想想Servlet,applet这些词~~)。实际上,在AveDesk的世界里,不使用“widget”这个词,而是“Desklet”。
docklet,是宿主程序(dock program)的一个插件。宿主程序可以是ObjectDock或者Y’z dock这样的软件。
AveDesk的作者Andreas是顶尖的docklet开发者之一。AveDesk兼容ObjectDock的docklets 。很多AveDesk内容的可视内容是从Konfabulator“借”过来的:-P
欣赏一下:
740)this.width=740″ border=undefined>
740)this.width=740″ border=undefined>
740)this.width=740″ border=undefined>
740)this.width=740″ border=undefined>
740)this.width=740″ border=undefined>
740)this.width=740″ border=undefined>
740)this.width=740″ border=undefined>
740)this.width=740″ border=undefined>
Kapsules,新生代,不过,老实说,它其实就是Konfabulator for Windows。
Kapsules widgets保存在文件夹的.kap文件和一个配置文件中,此外还有一个子目录存放.PNG文件。从某些角度看,Kapsules的这种安排比Konfabulator要好,后者把脚本和配置一块放到XML中了,前者把配置信息放在定义了各种对象的XML中,把JavaScript放在.KAP里。更妙的是,可以选择任何脚本语言。
Kapsules的需求是--.NET framework--不要对此义愤填膺,反正以后的Windows都会装上的。
看看:
740)this.width=740″ border=undefined>
740)this.width=740″ border=undefined>
740)this.width=740″ border=undefined>
740)this.width=740″ border=undefined>
740)this.width=740″ border=undefined>
740)this.width=740″ border=undefined>
740)this.width=740″ border=undefined>
740)this.width=740″ border=undefined>
740)this.width=740″ border=undefined>
740)this.width=740″ border=undefined>
740)this.width=740″ border=undefined>