Profile豆浆油条BlogLists Tools Help
    December 13

    可执行XUL:Fabulator

    相信在大多同人眼里,laszlo已经足够另类以至于不容易接受。
    怀着ajax梦想的人们又在苦苦寻找和等待服务器端或者客户端的解决方案。

    (瞧瞧我带来什么,哈哈)
    今天早上开机,一个程序通知我它需要更新3.0,于是我连上去了,“换主儿了!”
    原来,Yahoo!把这个东东(Konfabulator)彻底并掉了,刚巧我昨天点过"check for updates"没东西,今天自动提醒我,估计就是今天了。

    嗯,来头不小,yahoo的map,mail,notepad,calendar统统在上边,下午查了api以后,居然还有一个yahooLogin()方法,后话了。
    论坛上赫然写着ajax的大名,于是我down下reference来看。
    它,
    不同于xaml,他不需要directX或者.net framework支持,它是一个驻留的动态运行库(限win/mac平台);
    不同于xul,他不需要浏览器支持,他貌似一个纯客户端程序;
    不同于lzx,mxml,他不需要服务器运行环境;
    不同于flash ria,它不是一个bin。

    细想起来,ajax好像没有限定必须在浏览器里边。而他已经有2个年头了。

    熟悉任何一种xul语言的人,可以轻松上手。
    javascript我粗略看了一遍,是很广范的,有try catch,xmlHttpRequest,DOM API,xpath也是直接用的。

    你下到的.widgets文件其实就是一个zip,他把.kon和一堆js,图片包在一起。你可以直接运行里边的.kon文件。

    http://widgets.yahoo.com/gallery/
    有1500多个别人写好的开源代码可以让你学习。

    在xaml时代未来临之前(如果会来的话),那它是我见到的最酷的ajax了。

    没有浏览器,多了一个驻留程序,其实也没啥好炫耀的,但好处在我眼中远大于此弊病:
    1,大多数ajax应用苦于受到浏览器限制,不光是语法,后退、刷新按钮,还有有些应用不希望用户最小化,或者及时通知用户等等高级交互特性,浏览器在底 下闪啊闪的没人看到,而且,占用内存一般在50~100M,公司做的那个我是一般不去的。这个1M左右的程序大约也只有8M内存占用。
    2,计算机API,有部分的Windows/Mac api包含在内,据我所知还有iTune的api。
    3,插件机制 所有widgets运行于这个驻留程序,而他,其实是一个eclipse一样的东东,可以从他管理之上的windgets,包括你刚写的。好处是什么不言而喻了吧。一个庞大的系统可以被拆开来,甚至按照用户自己的意愿随意组合。
    4,即使不做ajax应用,做一个客户端程序,写laszlo的话还要跑tomcat,还要打开浏览器,这个则不用,自己做做小游戏自娱自乐也再好不过。

    Comments

    Please wait...
    Sorry, the comment you entered is too long. Please shorten it.
    You didn't enter anything. Please try again.
    Sorry, we can't add your comment right now. Please try again later.
    To add a comment, you need permission from your parent. Ask for permission
    Your parent has turned off comments.
    Sorry, we can't delete your comment right now. Please try again later.
    You've exceeded the maximum number of comments that can be left in one day. Please try again in 24 hours.
    Your account has had the ability to leave comments disabled because our systems indicate that you may be spamming other users. If you believe that your account has been disabled in error please contact Windows Live support.
    Complete the security check below to finish leaving your comment.
    The characters you type in the security check must match the characters in the picture or audio.

    To add a comment, sign in with your Windows Live ID (if you use Hotmail, Messenger, or Xbox LIVE, you have a Windows Live ID). Sign in


    Don't have a Windows Live ID? Sign up

    Trackbacks

    The trackback URL for this entry is:
    http://b051.spaces.live.com/blog/cns!9E2D0BC71827D4E9!253.trak
    Weblogs that reference this entry
    • None