中文字幕二区_国产精品免费在线观看_黄色网站观看_人人草人人澡_日本真实娇小xxxx

您的位置: 首頁(yè) > 技術(shù)文檔 > 網(wǎng)頁(yè)制作 > 不成熟的標(biāo)準(zhǔn)化是我們唯一懼怕的
不要犯WEB字體編輯的10種錯(cuò)誤 回到列表 IE7的web標(biāo)準(zhǔn)之道 Ⅱ
 不成熟的標(biāo)準(zhǔn)化是我們唯一懼怕的

作者: 時(shí)間: 2008-08-18 文檔類型:翻譯 來自:Taobao.com UI Team

原文地址:http://yuiblog.com/blog/2008/08/14/premature-standardization/

The web is made of open standards. This was a significant factor in the web’s displacement of proprietary application platforms. Openness is hugely attractive, so much so that the web dominates over competitors with better technologies. The difficult tradeoff that comes with a standards-based approach is that it is difficult to innovate. As a result, the basic technologies of the browser have been stalled for a decade. What innovation we’ve enjoyed, such as the Ajax revolution, has come by mining all of the latent, accidental potential of the existing standards. That potential has been used up.

互聯(lián)網(wǎng)是由開放的標(biāo)準(zhǔn)組成的。這對(duì)互聯(lián)網(wǎng)代替私有的應(yīng)用平臺(tái)是一個(gè)重要的因素。開放是非常有吸引力的,也正因?yàn)槿绱嘶ヂ?lián)網(wǎng)憑借更好的技術(shù)控制著其他的競(jìng)爭(zhēng)對(duì)手。然而當(dāng)基于標(biāo)準(zhǔn)的方法來臨時(shí),無(wú)疑創(chuàng)新會(huì)變得越來越困難。結(jié)果是,瀏覽器最基本的技術(shù)停滯發(fā)展了一段很長(zhǎng)的時(shí)間。一些讓我們欣喜的創(chuàng)新,如AJAX革命等,是一種在現(xiàn)有標(biāo)準(zhǔn)上的再發(fā)掘的潛能。然而這種潛能已經(jīng)幾近枯竭。

If we are to go forward, we must repair the standards. This is something that must be done with great care. A revision to a standard is an act of violence, just like any surgical procedure. It should only be undertaken when the likely benefit far exceeds the cost and the pain and the risk. The web is particularly troublesome because it did not anticipate the management of software updates, which is why IE5, an ancient browser, still has more users than Safari and Opera combined. Changes to the standard can put developers in a very difficult position because the benefits to users of some browsers become the seeds of failure for the users of others. Developers must manage this gulf, and it is not easy. Developers are not well served by new standards that make their jobs even harder.

如果我們想繼續(xù)往前走更遠(yuǎn),我們必須修正標(biāo)準(zhǔn)。這是一項(xiàng)必須非常小心的事情。標(biāo)準(zhǔn)的修訂是一種暴力行為,如同外科手術(shù)一樣。只有在標(biāo)準(zhǔn)帶來的好處遠(yuǎn)遠(yuǎn)高于它本身的耗費(fèi)及缺點(diǎn)時(shí),標(biāo)準(zhǔn)才能真正被使用;ヂ(lián)網(wǎng)并沒有預(yù)先的軟件升級(jí)管理,這使得它成為了一個(gè)非常復(fù)雜的環(huán)境,就比如IE5,一個(gè)非常非常古老的瀏覽器,其用戶份額卻比Safari和Opera加起來還要更多。正因?yàn)槿绱,?biāo)準(zhǔn)的改變將使開發(fā)者陷入一個(gè)非常困難的環(huán)境,很多對(duì)于某些瀏覽器的優(yōu)點(diǎn)卻可能變成其他瀏覽器潛在的錯(cuò)誤。開發(fā)者必須管理并減小這些差別,但這卻是不容易的。同時(shí),開發(fā)者未能更好的適應(yīng)使用新標(biāo)準(zhǔn)也增加了他們工作的難度。

I think it is instructive to look at two approaches to managing innovation within a standards based system, one that I view as a success, and the other not so much. JavaScript was a promising but half-baked language that was irresponsibly rushed to market and then irresponsibly cast into a standard. That standard is called ECMAScript to avoid a trademark dispute. That standard was last revised in 1999.

我覺得,把基于標(biāo)準(zhǔn)的系統(tǒng)和并不十分標(biāo)準(zhǔn)的系統(tǒng)放在一起比較并產(chǎn)生革新是非常有益的。JavaScript是一個(gè)非常有希望的語(yǔ)言,但它的自身也非常不成熟,它被過快的不負(fù)責(zé)任地扔入了瀏覽器市場(chǎng),又被不負(fù)責(zé)任地扔入了標(biāo)準(zhǔn)的圈子里。為了避免潛在的版權(quán)糾紛,這項(xiàng)標(biāo)準(zhǔn)被稱為ECMAScript。它最后更新的時(shí)間是1999年。

It is clear that the language needs to be updated, but TC39 (the committee that is responsible for drafting a new standard) could not reach consensus on how to do it, so it split into two groups, each producing its own proposal. This was a good thing in that competition is healthy, and I believe that competition inspired improvements to both proposals. This was also a bad thing because no standards organization can adopt two proposal for the same standard. Without consensus, both proposals must fail.

非常顯而易見的,這門語(yǔ)言需要更新升級(jí)了。但是TC39在如何更新的問題上,卻不能達(dá)到一致。所以他們分成了兩個(gè)小組,分別實(shí)現(xiàn)各自的目標(biāo)。這樣的健康的競(jìng)爭(zhēng)是非常有幫助的,我也相信競(jìng)爭(zhēng)會(huì)改善兩組各自的目標(biāo)。 但是,這也是個(gè)不好的事情,因?yàn)闆]有一個(gè)標(biāo)準(zhǔn)組織會(huì)接受一項(xiàng)標(biāo)準(zhǔn)擁有兩個(gè)不同的提議。如果不能達(dá)成一致,這兩個(gè)提議都將會(huì)失敗。

On one side there was the proposal called ES4. It was unfortunate that it adopted that name because it strongly suggested that it was destined to be the Fourth Edition of ECMAScript, a fate that was not certain. The project was very open to new ideas and features, adopting a porkbarrel attitude that was almost Congressional in its expansiveness. Lots of good ideas were included without an adequate analysis of the language as a whole system. As a result, many overlapping features were adopted which would have significantly increased the complexity of the language.

其中一項(xiàng)提議被稱為ES4。這個(gè)名稱的使用很不幸運(yùn),因?yàn)樗鼜?qiáng)烈的暗示了它一定會(huì)是ECMAScript的第四版,然而它并不一定會(huì)是。該項(xiàng)目對(duì)于新思想新特征非常的開放,并采納了許多看法,盡管這些思想并沒有基于這門語(yǔ)言系統(tǒng)進(jìn)行充分的分析。結(jié)果,許多復(fù)雜的特征被采用,并最終提升了整個(gè)語(yǔ)言的復(fù)雜性。

ES4 was so large and so innovative that there were doubts about whether it could be successfully specified and implemented. More worrisome, there was no experience with the language itself. Would the interaction of features cause unintended problems as we saw in ES1 and ES3? The schedule for ES4 required that the standard be put in place and adopted by the browser makers before that question could be answered. This is a problem because once a bug is inserted into a standard, it can be extremely difficult to remove it. All of the features, considered individually, were attractive. But taken as a whole, the language was a mess.

ES4非常的龐大,也引入了許多新思想,這不禁令人們擔(dān)心它會(huì)不會(huì)被成功的接受和使用。更令人不安的是,對(duì)于語(yǔ)言的本身,并沒有任何使用經(jīng)驗(yàn)。那些極富吸引力的新特性會(huì)不會(huì)如ES1和ES3一樣產(chǎn)生許多潛在的問題?ES4的制定安排要求這項(xiàng)標(biāo)準(zhǔn)必須被瀏覽器開發(fā)者接受并植入瀏覽器后才能回答剛才的問題。這會(huì)是一個(gè)很大的問題,當(dāng)一個(gè)小bug錯(cuò)誤的加入了標(biāo)準(zhǔn),到時(shí)候想要去除掉它就會(huì)非常的困難了。單獨(dú)考慮ES4所有的新特性,都是非常有吸引力的。但是全部放到一起,語(yǔ)言非常的混亂。

On the other side was a proposal called ES3.1. Its name indicated a less ambitious proposal, being a smaller increment over the current Third Edition. This project was intended to repair as many of the problems with the language as possible while minimizing the pain of disruption. New syntax was considered only when it was already implemented and proven in at least three of the four major browsers. Feature selection tended to favor necessary improvements over desirable improvements.

另一項(xiàng)提議被稱為ES3.1。它的名字暗示它相比于現(xiàn)在的ES3只有較少的變革。這個(gè)項(xiàng)目的目標(biāo)是修復(fù)語(yǔ)言中存在的諸多錯(cuò)誤。新的句法只有在至少三至四個(gè)主流瀏覽器植入并測(cè)試過之后才會(huì)被考慮加入。他們更多的選擇必須的特性,而不是可擁有的特性。

ES3.1 was more minimal in approach. The set of feature interactions was much smaller and much easier to reason about. ES3.1 is likely to complete its specification and will be the candidate for the Fourth Edition.

ES3.1更容易接受。新特性的吸引力會(huì)較小,但是也更容易實(shí)現(xiàn)。ES3.1也可能完成它的文檔,從而成為ES真正第四版的候選。

ES4 had a large head start (by as much as seven years by some estimates), but was unable to meet its deadlines. Ultimately, the project fell apart when some of the key members left.

ES4的制定起步很早(估計(jì)至少7年之前),然而我們看不到它到底什么時(shí)候能結(jié)束。最終,由于核心成員的離去,這項(xiàng)工程被擱淺。

Some of the features that were in ES4 were reasonable, so a new project, called Harmony, is starting which will look at adapting the best of ES4 on top of ES3.1. The success of this project will depend on the ability of TC39 to do a better job of managing the tradeoffs between innovation and stability, and adopting a discipline for managing complexity. Simplicity should be highly valued in a standard. Simplicity cannot be added. Instead, complexity must be removed.

現(xiàn)在,由ES4引入的一些合理的新特性,重新成為了一項(xiàng)新項(xiàng)目,被稱為Harmony。這個(gè)項(xiàng)目的成功與否取決于TC39權(quán)衡創(chuàng)新與穩(wěn)定二者的能力,以及對(duì)復(fù)雜度的管理上。在某種程度上,簡(jiǎn)約應(yīng)受到足夠的重視,而不應(yīng)被矯飾。所以,一些冗余必須被剔除。

It turns out that standard bodies are not good places to innovate. That’s what laboratories and startups are for. Standards must be drafted by consensus. Standards must be free of controversy. If a feature is too murky to produce a consensus, then it should not be a candidate for standardization. It is for a good reason that “design by committee” is a pejorative. Standards bodies should not be in the business of design. They should stick to careful specification, which is important and difficult work.

現(xiàn)在看來標(biāo)準(zhǔn)的主體并不是一個(gè)創(chuàng)新的好地方。這也正是實(shí)驗(yàn)室存在的目的。標(biāo)準(zhǔn)必須經(jīng)過一致的協(xié)商,也必須有充分的辯論。如果一個(gè)特性很難達(dá)成一致,那么它應(yīng) 該從標(biāo)準(zhǔn)草案中去除。標(biāo)準(zhǔn)的主體不能在有商業(yè)目的的情況下設(shè)計(jì)。它們必須堅(jiān)持謹(jǐn)慎的設(shè)計(jì),這同時(shí)是一個(gè)相當(dāng)困難的工作。

I see similar stories in HTML5. The early work of WHATWG in documenting the undocumented behavior of HTML was brilliant. It went off the rails when people started to just make new stuff up. There is way too much controversy in HTML5. I would like to see a complete reset with a stronger set of design rules. Things can be much worse than the way things currently are. Having smart people with good intentions is necessary but not sufficient for making good standards.

我也在HTML5里面看見了很類似的情況。WHATWG的早期對(duì)于文檔化HTML中沒有文檔的特性的工作是非常棒的。然而當(dāng)人們開始只關(guān)注創(chuàng)造新東西時(shí),它們開始偏離軌道。在HTML5中存在太多的爭(zhēng)議。事情可能會(huì)比現(xiàn)在存在的更糟糕。也許,讓一些有目的的聰明人制定好的標(biāo)準(zhǔn)是必須卻又不夠的。

延伸閱讀

http://almaer.com/blog/javascript-2-a-perl-6-disaster-that-matters-so-much-more-but-wait
http://ajaxian.com/archives/ecmascript-harmony-coming-together-after-oslo
http://ejohn.org/blog/ecmascript-harmony/

本文鏈接:http://www.95time.cn/tech/web/2008/6110.asp 

出處:Taobao.com UI Team
責(zé)任編輯:bluehearts

◎進(jìn)入論壇網(wǎng)頁(yè)制作、WEB標(biāo)準(zhǔn)化版塊參加討論,我還想發(fā)表評(píng)論

作者文章 更多作者文章
網(wǎng)站的視覺設(shè)計(jì)
Photoshop繪制真實(shí)的黑莓手機(jī)
各版本IIS下ASP.net請(qǐng)求處理過程
奧運(yùn)"長(zhǎng)卷式海報(bào)"
AI漸變網(wǎng)格巧繪美女精致五官
關(guān)鍵字搜索 常規(guī)搜索 推薦文檔
熱門搜索:CSS Fireworks 設(shè)計(jì)比賽 網(wǎng)頁(yè)制作 web標(biāo)準(zhǔn) 用戶體驗(yàn) UE photoshop Dreamweaver Studio8 Flash 手繪 CG
站點(diǎn)最新 站點(diǎn)最新列表
周大!熬•自然”設(shè)計(jì)大賽開啟
國(guó)際體驗(yàn)設(shè)計(jì)大會(huì)7月將在京舉行
中國(guó)國(guó)防科技信息中心標(biāo)志征集
云計(jì)算如何讓安全問題可控
云計(jì)算是多數(shù)企業(yè)唯一擁抱互聯(lián)網(wǎng)的機(jī)會(huì)
阿里行云
云手機(jī)年終巨獻(xiàn),送禮標(biāo)配299起
阿里巴巴CTO王堅(jiān)的"云和互聯(lián)網(wǎng)觀"
1499元買真八核 云OS雙蛋大促
首屆COCO桌面手機(jī)主題設(shè)計(jì)大賽
欄目最新 欄目最新列表
淺談JavaScript編程語(yǔ)言的編碼規(guī)范
如何在illustrator中繪制臺(tái)歷
Ps簡(jiǎn)單繪制一個(gè)可愛的鉛筆圖標(biāo)
數(shù)據(jù)同步算法研究
用ps作簡(jiǎn)單的作品展示頁(yè)面
CSS定位機(jī)制之一:普通流
25個(gè)最佳最閃亮的Eclipse開發(fā)項(xiàng)目
Illustrator中制作針線縫制文字效果
Photoshop制作印刷凹凸字體
VS2010中創(chuàng)建自定義SQL Rule

藍(lán)色理想版權(quán)申明:除部分特別聲明不要轉(zhuǎn)載,或者授權(quán)我站獨(dú)家播發(fā)的文章外,大家可以自由轉(zhuǎn)載我站點(diǎn)的原創(chuàng)文章,但原作者和來自我站的鏈接必須保留(非我站原創(chuàng)的,按照原來自一節(jié),自行鏈接)。文章版權(quán)歸我站和作者共有。

轉(zhuǎn)載要求:轉(zhuǎn)載之圖片、文件,鏈接請(qǐng)不要盜鏈到本站,且不準(zhǔn)打上各自站點(diǎn)的水印,亦不能抹去我站點(diǎn)水印。

特別注意:本站所提供的攝影照片,插畫,設(shè)計(jì)作品,如需使用,請(qǐng)與原作者聯(lián)系,版權(quán)歸原作者所有,文章若有侵犯作者版權(quán),請(qǐng)與我們聯(lián)系,我們將立即刪除修改。

您的評(píng)論
用戶名:  口令:
說明:輸入正確的用戶名和密碼才能參與評(píng)論。如果您不是本站會(huì)員,你可以注冊(cè) 為本站會(huì)員。
注意:文章中的鏈接、內(nèi)容等需要修改的錯(cuò)誤,請(qǐng)用報(bào)告錯(cuò)誤,以利文檔及時(shí)修改。
不評(píng)分 1 2 3 4 5
注意:請(qǐng)不要在評(píng)論中含與內(nèi)容無(wú)關(guān)的廣告鏈接,違者封ID
請(qǐng)您注意:
·不良評(píng)論請(qǐng)用報(bào)告管理員,以利管理員及時(shí)刪除。
·尊重網(wǎng)上道德,遵守中華人民共和國(guó)的各項(xiàng)有關(guān)法律法規(guī)
·承擔(dān)一切因您的行為而直接或間接導(dǎo)致的民事或刑事法律責(zé)任
·本站評(píng)論管理人員有權(quán)保留或刪除其管轄評(píng)論中的任意內(nèi)容
·您在本站發(fā)表的作品,本站有權(quán)在網(wǎng)站內(nèi)轉(zhuǎn)載或引用
·參與本評(píng)論即表明您已經(jīng)閱讀并接受上述條款
推薦文檔 | 打印文檔 | 評(píng)論文檔 | 報(bào)告錯(cuò)誤  
專業(yè)書推薦 更多內(nèi)容
網(wǎng)站可用性測(cè)試及優(yōu)化指南
《寫給大家看的色彩書1》
《跟我去香港》
眾妙之門—網(wǎng)站UI 設(shè)計(jì)之道
《Flex 4.0 RIA開發(fā)寶典》
《贏在設(shè)計(jì)》
犀利開發(fā)—jQuery內(nèi)核詳解與實(shí)踐
作品集 更多內(nèi)容

雜⑦雜⑧ Gold NORMANA V2