【正文】
同樣種類的交流問題會出現(xiàn)在系統(tǒng)設(shè)計中。換言之,一個故障可能存在于代碼中,但是如果代碼沒有被執(zhí)行過,或者代碼沒有運行足夠長的時間,或者代碼沒有在能夠引起問題的配置下運行,我們將有可能永遠看不到軟件的錯誤。 當這三個方面都具備了,你就得到了改變網(wǎng)頁在用 戶或者瀏覽器生成響應(yīng)事件的能力。因為這些改變通過瀏覽器制作而不需要任何的網(wǎng)絡(luò)和服務(wù),所以它們是快速而高效的。 河北建筑工程學(xué)院 畢業(yè)設(shè)計(論文)外文資料翻譯 系別: 計算機系 專業(yè): 計算機科學(xué)與技術(shù) 班級: 計 092 班 姓名: 孫全華 學(xué)號: 2020309216 外文出處: 導(dǎo)師提供 指導(dǎo)教師評語: 簽字: 年 月 日 英語原文: Document Object Model and Dynamic HTML The term Dynamic HTML,often abbreviated DHTML,refers to the technique of making Web pages dynamic by clientside scripting to manipulate the document content and pages can be made more lively,dynamic,or interactive by DHTML techniques. With DHTML,you can prescribe actions triggered by browser events to make the page more lively and actions may alter the content and appearance of any parts of the changes are fast and efficient because they are made by the browser without having to work with any ,the clientside scripting is written in JavaScript and basic techniques for making Web pages dynamic. Contrary to what the name may suggest,DHTML is not a markup language or a software is a technique to make Web pages dynamic through clientside the past,DHTML relied on browserand vendorspecific such pages work for all browsers requires much effort,testing,and unnecessarily long programs. Standardization efforts at W3C and elsewhere are making it possible to write standardbased DHTML that works for all pliant DHTML involves three aspects. —for crossbrowser scripting(Chapter9) Style Sheets(CSS)—for style and presentation control (Chapter6) Object Model(DOM)—for a uniform programming interface to access and manipulate the Web page as a document When these three aspects are bined,you get the ability to program changes in Web pages in reaction to useror browsergenerated ,you can make HTML pages more dynamic. Popular with Web developers,supported by all major browsers,and standardized,JavaScript provides the ability to program browser actions in response to have true crossplatform DHTML,we still need a uniform way for JavaScript to access and manipulate Web brings us to the DOM. What is DOM? The objective of unit and integration testing was to ensure that the code implemented the design properly。這些動作可以改變網(wǎng)頁中的任何內(nèi)容和外觀。 基于標準的 DHTML 包括三個方面: 腳本語言 服務(wù)于跨瀏覽器的腳本語言 (第九章 ) (CSS)服務(wù)于風(fēng)格和描述的控制 (第六章 ) (DOM)為了一個統(tǒng)一的編程界面而把網(wǎng)頁作為一個文件去訪問和操作。 回想起一個軟件故障,只在伴隨著某一個確定的條件時才會引起一個錯誤。用戶是否 有要求是模棱兩可的 , 由于顧客需求的不確定性以及我們對客戶需求的曲解,系統(tǒng)不會按照顧客想要的方式去運行。只見樹木而不見森林,不能指望程序員通過教條的完成程序開發(fā)周期的第一步來使程序沒有設(shè)計錯誤。代碼設(shè)計上的細微差別可能不是很明顯,我們的修改可能弊大于利。此外,因為用戶不知道系 統(tǒng)是被如何設(shè)計來工作的,系統(tǒng)可能不能正常運行。 列出錯誤出現(xiàn)的原因而不是證據(jù)。我 們先把一組組件分開測試之后再集合在一起測試。接下來