亚洲第一a在线网站_日韩欧美国产专区_久久国产亚洲女同精品_亚洲国产小电影在线观看高清

食品伙伴網(wǎng)服務(wù)號(hào)
 
 
當(dāng)前位置: 首頁(yè) » 專業(yè)英語(yǔ) » 行業(yè)相關(guān) » 正文

網(wǎng)頁(yè)htm, html, asp是什么意思

放大字體  縮小字體 發(fā)布日期:2008-09-17
核心提示:上網(wǎng)已經(jīng)成為我們生活的一部分。我們打開(kāi)網(wǎng)頁(yè),會(huì)發(fā)現(xiàn)地址欄里都是以http開(kāi)頭的,結(jié)尾卻各不相同,有htm,html,asp,pl,等等等等。這些都是網(wǎng)頁(yè)的擴(kuò)展名。那么它們都代表什么意思呢?下文就來(lái)告訴你。 You can see some of the most common extensions on these URLs


上網(wǎng)已經(jīng)成為我們生活的一部分。我們打開(kāi)網(wǎng)頁(yè),會(huì)發(fā)現(xiàn)地址欄里都是以http開(kāi)頭的,結(jié)尾卻各不相同,有htm,html,asp,pl,等等等等。這些都是網(wǎng)頁(yè)的“擴(kuò)展名”。那么它們都代表什么意思呢?下文就來(lái)告訴你。

You can see some of the most common extensions on these URLs:

http://www.howstuffworks.com/question-archive.htm - The question archive page (and nearly all other pages) at HowStuffWorks ends in htm.

http://www.adobe.com/products/acrobat/readermain.html - The home page for Adobe Reader ends in html.

http://www.cbsnews.com/sections/home/main100.shtml - The home page for the CBS news in shtml.

http://www.microsoft.com/catalog/default.asp - Many pages on Microsoft's site end in asp.

http://www.altavista.pl/ - The home page for the AltaVista search engine ends in pl.

http://www.howstuffworks.com/cgi-bin/suggest.cgi - The code that processes suggestions at HowStuffWorks ends in cgi.

http://www.howstuffworks.com/survey-add.php - The HowStuffWorks daily survey results page ends in php.

When the Web started, it ran almost exclusively on UNIX machines and all pages were static. Html was the standard file extension(擴(kuò)展名). When people started using PCs running DOS or Windows as Web servers, however, the four letters in "html" were problematic. PCs followed an 8.3 naming convention that allowed only three letters in the extension. So the world made room for two standard extensions: html and htm. It used to be that you could tell whether a Web site was running on UNIX or Windows by looking at the file extension, but now there is no distinction. HowStuffWorks runs off a UNIX server but uses "htm" as its extension -- it's the webmaster's choice.

Pages tagged with shtml reveal that "Server Side Includes(服務(wù)器端包含)" are being used on the server(服務(wù)器). Htm and Html pages are static. The file is lifted off the server's disk and sent verbatim to the client. With SSI, a page can contain tags(標(biāo)記) indicating that another file should be inserted in place of the tag in the existing page. So a page is lifted off the server's disk and the server makes all the substitutions indicated. Then it sends the final page to the client. This approach makes it very easy to change things like headers and footers on pages across an entire site.

Active Server Pages (asp動(dòng)態(tài)伺服器網(wǎng)頁(yè)) is a Microsoft technology that allows even more flexibility. A Web page can contain Visual Basic code that the server executes when it lifts a page off the disk. This code can do just about anything -- read databases, run other programs, custom format pages based on the user's ID, etc. You have a great deal of flexibility. On the other hand, your Web pages now contain code that may have bugs in it, so it is possible for a page to "crash." With freedom comes responsibility...

(Note that is now becoming common to see jsp and php extensions as well. Jsp is one of the latest additions to the Java Enterprise suite of APIs. "Jsp" stands for "Java Server Pages" and is effectively Java's response to ASP. The code embedded in a page is Java rather than Visual Basic. "Php" used to stand for "Personal Home Page," but now it's really just "PHP (Hypertext Preprocessor, 一種在電腦上執(zhí)行的腳本語(yǔ)言)," which is a scripting language that's mostly used with Linux.)

The pl extension stands for PERL, a scripting language. The page contains nothing but PERL script, and the script builds the page on the fly. The script can also do anything as in asp pages.

The cgi extension also means that a page contains code executed by the server, but the type of code can be just about anything. 

更多翻譯詳細(xì)信息請(qǐng)點(diǎn)擊:http://www.trans1.cn
 
關(guān)鍵詞: 網(wǎng)頁(yè) htm html
[ 網(wǎng)刊訂閱 ]  [ 專業(yè)英語(yǔ)搜索 ]  [ ]  [ 告訴好友 ]  [ 打印本文 ]  [ 關(guān)閉窗口 ] [ 返回頂部 ]
分享:

 

 
推薦圖文
推薦專業(yè)英語(yǔ)
點(diǎn)擊排行
 
 
Processed in 0.071 second(s), 14 queries, Memory 0.89 M