Haohappy的专栏--PHP5研究中心

PHP5研究中心 研究专业PHP技术,传播全球最新PHP动态 ,推广国内PHP企业应用

陈浩ID:Haohappy2004
567073次访问,排名64好友1人,关注者27
make ur life better..
Haohappy2004的文章
原创 167 篇
翻译 0 篇
转载 0 篇
评论 506 篇
Haohappy的公告
我的Blog主要关于PHP/Java WEB开发。欢迎讨论:

Email & MSN:


所有文章均为Haohappy原创或翻译,需要转载请通过Email与我联系


我的网站:
PHPEye开源社区
phpeye.com

我的新书:


《Programming PHP》中文版第二版,陈浩(Haohappy)、胡丹、徐景(RainX)译,电子工业出版社出版,2007年4月上市)

网上书店购买地址:
当当网(dangdang.com)
互动出版网(china-pub.com)
第二书店(dearbook.com)
华储网(huachu.com.cn)
蔚蓝书店(welan.com)

本书 配套论坛  勘误系统

常用参考手册:

最近评论
PrideRock:谢谢关注
jodynet:CSDN最近两年的改版,不知道改成什么样子。我已经好久没登陆CSDN看文章了。整个网站很乱,惨不忍睹来形容一点也不为过。
jiangtao:谢谢对我们的建议和意见。
wysea:呵呵,真巧,下午在CSDN上看到这篇文章,被打击的不行,这里HAOHAPPY就出头说话了,自信心又起来了! 谢谢!
ModelKingChina:深有同感,当时看到这篇文章只想拿块砖头拍编辑的脑袋.CSDN作为国内非常有影响力的IT综合站,在对待语言方面是不应该有所偏见的,如此简单的e文,本不应该翻译错误,更多的我想是编辑曲意的翻译. 语言与平台之争向来一个老大难问题,但CSDN却无论如何也不应该卷入的.
文章分类
收藏
    相册
    Blogs
    Fantasy Soft(RSS)
    Freeman的Blog
    hosander的专栏
    PHPEye.com
    web2.0 focus(RSS)
    开发视界[专家专栏](RSS)
    歪脖·坑(RSS)
    存档
    订阅我的博客
    XML聚合  FeedSky

    原创 XUL是否将成为AJAX之后最热门的网络技术?收藏

    新一篇: RSS订阅的第三种选择 – IM Robot

    在我前些天的《RIA的未来是什么》中说到XUL是一种和微软的XAML及Macromedia的Flex并立的RIA技术,其特点是基于Mozilla浏览器,免费和开源。使用XUL可以设计出非常漂亮的基于浏览器的程序,它可以创建传统桌面界面中的常用控件如Window,Label,Input,Radio Button,Slider,Scroller等等,也可以嵌入图像,影音文件等,非常强大。

    雅虎最近已经开始招募XUL开发人员,据说将使用XUL技术来开发PhotoMail的界面。这说明XUL逐渐受到业界大公司的关注,也许XUL将会AJAX一样炙手可热。

    一些相关程序:
    MAB(Mozilla Amazon Browser).

    http://www.faser.net/mab/
    Screenshot:http://www.faser.net/mab/img/mab_screenshot_01.jpg

    elixon CMS:
    http://demo.webdevelopers.cz/screenshots

    XUL相关的开源项目:
    http://zk1.sourceforge.net/
    有兴趣可以看看Live Demo,有各种界面控件的实现,非常酷!


    对于PHP程序员来说,使用XUL进行开发非常容易,以后会写一些相关的文章。

    最后推荐一篇文章:
    The Joy of XUL
    http://developer.mozilla.org/en/docs/The_Joy_of_XUL#Case_Study:_A_Mozilla_Calendar_Application

    发表于 @ 2005年11月26日 17:39:00|评论(loading...)|编辑

    旧一篇: 即时通讯软件,要互通还是开放?

    评论

    #IUSR 发表于2005-11-28 13:03:00  IP: 218.69.98.*
    早已接触,感觉很不错,对js的要求也稍微高一些。目前大部分AJAX应用的显示还是得HTML来,如果换到XUL算得上是一次革新了。
    #变大象 发表于2005-11-28 17:39:00  IP: 218.249.35.*
    个人觉得可能性不大,首先来说桌面始终是微软的天下,微软不会没理由的去支持XUL,而且看的出来目前微软早已不再做2000以及2000以下版本甚至是XP方面的更新和增强了,那么这样的一个只能运行在firefox或其他什么fox下的XUL意义就不大了。

    另外还有一个新闻:http://www.w3.org/2006/webapi/推荐给你,我想你可以从中想到更多的发展趋势
    #Binzy Wu 发表于2005-11-29 00:31:00  IP: 218.79.100.*
    to 变大象....
    难道你不知道XAML?
    既然不知道...... 就不要发出这样的声音啊.......

    ms下一代可以是全面支持XAML即XUL的啊...... 算来ms也是xul的先锋啊.......
    #Binzy Wu 发表于2005-11-29 00:34:00  IP: 218.79.100.*
    突然注意到haohappy把xaml归到xul外面. 这点值得商榷吧.
    有时间的话看一下
    http://xul.sourceforge.net/
    #Haohappy 发表于2005-11-29 01:30:00  IP: 220.160.109.*
    To binzy:

    XAML和XUL一样的思想用XML来描述界面,XAML的范围应该说比XUL广,可以说大于XUL。我说它们并立的原因一是在于它们将会在同样的市场(RIA)上展开竞争,二是它们仅管思想类似,但各自有太多技术特点不同,我个人觉得差距很大,分开来应该没什么不妥的。

    TO 变大象:
    Longhorn出来后,操作系统的市场如何变化都还未知呵呵。 何况新操作系统还能不支持Mozilla? 再说只要有XRE,XUL完全可以脱离浏览器。 如果使用WINDOWS,那么操作系统自带的XAML自然对用户来说非常方便使用,是否需要一个跨平台的浏览器就不那么重要了。但对于非WINDOWS用户和多系统同时使用的用户来说,Mozilla这样的跨平台浏览器及XUL技术将会是非常好的选择。

    谁才是主流,谁最得到用户认可,还是等到日后见分晓:)
    #Steven 发表于2005-11-29 10:27:00  IP: 207.46.89.*
    XUL 这个名字一看就是个 vista WPF 相关的名字,呵呵。
    不过个人认为的确没有什么花头,windows vista WPF 还是操作系统的一部分,最为浏览器界面 XHTML还是主要的, XUL意义不大,何况XUL主要是针对 mozilla 浏览器, IE还是会尽量迎合WINDOWS 的 WPF (还有INFO PATH)。
    因此不必为此类技术太花精力,关注一下就可以了。
    #fans 发表于2005-11-29 21:02:00  IP: 61.178.77.*
    醋坛子网络天地版块邀请您或者象您一样优秀的贵站的访客去当斑竹http://www.cutanzi.com

    #blueoxygen 发表于2005-11-29 22:32:00  IP: 221.201.162.*
    概念上无明显优势,技术上也没有,商业上更是做不过微软了。作为RIA现在ajax更火,而ajax之后呢?微软的“折磨”语言绝对会占绝一片市场,而ajax之后呢?XUL似乎还远了点。脱离浏览器运行那是一定可以的,但是,为什么人们要开着IE去装个插件来支持XUL呢?为了体验?体验上ajax够强了,要是还不爽,FLEX更加强,加上IBM支持的laszlo.我看以上任何一种境况在将来都会比XUL好。如果为了开发效率,我想不得不佩服微软的.net+VS.NET的组合了,即使j2ee社群也多一直希望有一个如此高效开发的前端,而JSF也极力想做到这点。java社群是否能接受XUL,目前没任何迹象。我倒是感觉XUL以后会成为非常不广泛应用的RIA技术
    #seepop 发表于2005-11-29 12:54:00  IP: 218.104.250.*
    >XUL 这个名字一看就是个 vista WPF 相关的名字,呵呵。
    不过个人认为的确没有什么花头,windows vista WPF 还是操作系统的一部分,最为浏览器界面 XHTML还是主要的, XUL意义不大,何况XUL主要是针对 mozilla 浏览器, IE还是会尽量迎合WINDOWS 的 WPF (还有INFO PATH)。
    因此不必为此类技术太花精力,关注一下就可以了。

    XUL早就出来,XAML是.net后才出的,记得'程序员'杂志介绍,内有相关评论比较,要不要用您看后便会有不同的说法了.

    并不是所有人都会用vista的,首先那些"旧"机子怎么办呢
    #Leek 发表于2005-11-29 18:13:00  IP: 220.167.29.*
    资料挺好
    #haohappy 发表于2005-11-30 18:56:00  IP: 220.160.109.*
    概念上XUL是Mozilla的一大创举啊,你没看到老外最初把XAML称作是Microsoft's copy of XUL。虽然XAML的野心更大一些。

    技术上,商业上现在谁也说不准,就像Linux刚出来时,有几个大公司对它充满信心?
    #GreyRoar 发表于2005-11-30 19:37:00  IP: 221.223.224.*
    之前自己也为了学习XUL而翻译过Mozilla提供的文档,感觉XUL入门并不难,但是要基于XUL进行开发就需要深入了解好多个其它技术。相比之下个人觉得XAML和Flex因为有商业动力,所以能更快地被广泛应用。
    #Binzy Wu 发表于2005-12-01 00:27:00  IP: 218.79.100.*
    to haohappy
    应该说是本质相同.

    其实真正的xul是mozilla本身。所以说来xul真算是mozilla的创举。xul在浏览器上的表现本身就是mozilla本身GUI引擎的表现。XAML应该说是mozilla的GUI引擎的copy.
    #Binzy Wu 发表于2005-12-01 00:32:00  IP: 218.79.100.*
    另外个人并不认为xul仅仅是ria的用途。
    曾在几年前我就憧憬着美好的未来:我不用再去掌握什么.net, mfc, gtk, wxwindows, swing, swt等等其他种种。。。。。。
    #Haohappy 发表于2005-12-02 18:01:00  IP: 220.160.110.*
    To Henri
    Welcome to my blog:-)

    It would be not easy to transferring XUL components to AJAX components at server side. If you were able to do that,it was a great work.I will spend time to understand your project.

    "To me, it is just like writing a desktop program. "
    --It sounds so amazing:-)

    To make XUL work with PHP,maybe you could try the PEAR::XML_XUL package,which provides a DOM-like PHP API for generating XUL,or you can implement sth like that by yourself.




    #Henri 发表于2005-12-03 15:30:00  IP: 219.84.133.*
    to Haohappy

    To say it first, I did not write a single code with php before. Thus, I might be wrong on commenting about PHP :)

    PEAR:XML_XUL seems a package that will translate their DOM structure into XUL tags and let Mozilla browser do the rendering job, is that correct? If so, the current ZK might have already support it. We have a filter that can be used to post-process XUL or HTML tags and makes them Ajax ready. However, this way only solves the presentation issue, but does not solve the data binding issue. You still have to write JAVA code to access these Ajax components and bind data, etc..

    What in our ideal thinking is like this:
    "Design your web pages with XUL tags and write PHP codes to manipulate these XUL components and doing data binding."

    I would like to know if this is the programming model, would you, as a PHP programmer, like it? Or you would prefer some other better way?
    #Henri 发表于2005-12-02 15:11:00  IP: 61.56.130.*
    To most of you, it seems a common agreements that only mozilla-based browser would run XUL page. However, if you think XUL as a markup languages for gui definition only; then it is not bound to mozilla at all.

    Then you will say, but only mozilla natively supports XUL. Well, if you limit the meaning of XUL to a gui definition language; you can always design a XUL motor to do the "interpret" things. E.g. the ZK engine would transfer your XUL components to AJAX components at server side. Therefore, ZK will run your XUL page on both IE and Mozilla as an AJAX page without the need to install any plug-ins.(Becuase AJAX needs no plug-ins)

    So, it is not about whether XUL can only be run on Mozilla, but on whether XUL is a good GUI definition language.

    I am from ZK project, so my words might be bias. But as the first user that develop web applications with ZK, I will tell you: "Yes, XUL and ZK simplifys my design job for at least 10 times fast the traditional way." And I don't have to write javascripts and handle remote data bindings because everything is naturally handled on server side. To me, it is just like writing a desktop program. All I have to do is design the gui with XUL and write java code to bind data and control the flow.

    To haohappy:

    We are really interested in how you will use XUL with PHP. We are thinking porting ZK to php language and we need inputs from PHP expers like you.
    #Haohappy 发表于2005-12-06 10:56:00  IP: 210.34.14.*
    hehe. Of coz,I like it. It is so boring to process HTML pages . I hope there will be no "pages" for web appications,just like desktop program, and I think that would be a tendency of WEB-APP.

    I hope I can give u some suggestions some days later,if Im not be too busy to learn more about you project.
    #Henri 发表于2005-12-08 10:31:00  IP: 61.56.130.*
    FYI: ZK (zk1.sourceforge.net) just release 1.0.0 RC1.
    #YANGJUN 发表于2006-06-16 17:39:00  IP: 61.144.49.*
    微软的XAML 就是更Mozilla XUL 学的
    #zhuquan 发表于2006-07-22 14:23:00  IP: 222.94.229.*
    个人认为简单的就是最好的。
    发表评论  


    当前用户设置只有注册用户才能发表评论。如果你没有登录,请点击登录
    Csdn Blog version 3.1a
    Copyright © Haohappy