Tony Huang's profileSouline PLUS planBlogListsNetwork Tools Help

Blog


    21 May

    网络世界中的抽象

    抽象是好东西!它是人们认识世界的ultimate solution!刚在做大事的时候突然想到网络世界里面就两种基本抽象:协议、语言!
     
    什么是协议?
    所谓协议就是一种通讯的手段。
     
    什么是语言?
    所谓语言就是一种描述世界的工具。
     
    比如说现在我要上网(浏览网页),那么需要哪些协议,哪些语言呢?
     
    我们需要通过HTTP协议向服务器获取HTML页面,而什么叫做HTML呢?HTML(Hyper-Text modeling language),它是超文本建模语言
     
    然而这个世界就是那么奇妙,协议是一层一层的,就比如说我要买一块口香糖,我要向便利店的阿姨买,阿姨要问店长要,店长要向总店进,总店要从供货商拿,供货商要去生产商批,只有生产商才生产这个口香糖。
     
    同理,我们要浏览网页,需要向浏览器要,浏览器通过HTTP协议请求,HTTP协议通过TCP协议连接与传输,TCP协议通过IP协议传输,IP协议通过操作系统控制网卡进行实质上的传输操作,真正进行传输的,是你的网卡。
     
    浏览器要向你展示东西,他怎么知道要展示(display)什么呢?对,服务器告诉它的!那么,他怎么知道怎么展示服务器告诉他的东西呢?对,这里就是语言起了作用!只有通过一个大家公认的语言,才能做到同样的东西在不同的地方的表现的一致性。
     
    我认为,真正的web2.0应该不是简单的几种服务(service),而是一种完整的平台(platform),他包含一种协议(SOAP?),一种语言(XAML?),依赖于原来的协议(HTTP)和语言(HTML),但提供了更高层次的抽象,更强大的表现力。所以,所有的AJAX Communication Frameworks都在试图称为Web2.0中的协议的标准,而所有的AJAX User Experience Frameworks都在试图称为Web2.0中的语言的标准!
    20 May

    THE DA VINCI CODE

    This is a great book!
     
    Yes! I said this is a great book.
     
    The film presented by Sony picture is just a movie edition of the book.
     
    It presents almost all details in the book, but removed some very interesting details. Maybe it is due to the limit of the length of the movie:)
     
    One detail is that: When they came to the bank to pick out the box called "keystone", they need to enter the account number(the key is the password:)). They know it should be the Fibernaci, but they cannot decide it should be the random order Mr. Sonia wrote on the ground or the correct order(1 1 2 3 5 8 13 21), so it is a very difficult decision cos. they had one and only one chance, they make decision, hesitate, and make the finale decision, very interesting detail. But in the film, it is ignored. What a pity! :)
     
    But totally, this film is a good one, at least, in my mind. In Chinese, there are one phrase describing this situation: "忠于原著", my translation is "Be responsiable for the original work" :)
     
    What interested me is that there are totally 4 languages in this film, English(main language), French(second language), Spanish(The language used by the killer and the pope), Latin(The language used by the killer and the "teacher"). What a mass!
     
    p.s. The glass pyramid(the enterance of the museum) desigend by Chinese Architecturer 贝律明 is very great! I mean it's excellent work! Let's remember that great guy and let him be our guide, our "teacher"!