版權說明:本文檔由用戶提供并上傳,收益歸屬內(nèi)容提供方,若內(nèi)容存在侵權,請進行舉報或認領
文檔簡介
Web開發(fā)基礎基礎知識Web開發(fā)基礎基礎知識Web開發(fā)基礎基礎知識本期上課實驗時間表(2015年9月9日周三)13:20-17:35機房4,6如果沒做完機房2,6晚上可用(2014年9月14日周一)13:20-17:35機房1,5(2014年9月21日周一)08:00-12:15機房1,2(2014年9月22日周二)08:00-12:15機房1,2(2014年9月24日周四)08:00-12:15機房1,2
9-79:50-12:15
1#203上課9-99:50-12:15
1#203上課9-149:50-12:15
1#203上課2021/4/132本課程內(nèi)容摘要網(wǎng)站開發(fā)基礎知識網(wǎng)站環(huán)境構(gòu)建管理和配置網(wǎng)站HTML&CSSJavaScriptAsp服務端編程數(shù)據(jù)庫連結(jié)及訪問2021/4/133網(wǎng)站開發(fā)基礎知識計算機網(wǎng)絡基礎網(wǎng)站的含義網(wǎng)站訪問的原理網(wǎng)頁的類型動態(tài)網(wǎng)站技術2021/4/134計算機網(wǎng)絡基礎InternetVsintranet計算機網(wǎng)絡的標準模型TCP/IP協(xié)議服務器和客戶機域名端口2021/4/135InternetVSIntranetTheInternetisaglobalsystemofinterconnectedcomputernetworksthatusethestandardInternetProtocolSuite(TCP/IP)toservebillionsofusersworldwideItisanetworkofnetworks
AnintranetisaprivatecomputernetworkthatusesInternetProtocoltechnologiestosecurelyshareanypartofanorganization'sinformationornetworkoperatingsystemwithinthatorganization.2021/4/1362021/4/137AndWWWWWW(亦作“Web”、“萬維網(wǎng)”、“W3”,英文全稱為“WorldWideWeb”)是一個由許多互相鏈接的超文本文檔組成的系統(tǒng),通過互聯(lián)網(wǎng)訪問。萬維網(wǎng)聯(lián)盟(英語:WorldWideWebConsortium,簡稱W3C),又稱W3C理事會。1994年10月在麻省理工學院(MIT)計算機科學實驗室成立。萬維網(wǎng)聯(lián)盟的創(chuàng)建者是萬維網(wǎng)的發(fā)明者蒂姆·伯納斯-李。What'sthedifferencebetweentheInternetandtheWorldWideWeb(WWW)?WWW=HTML*+HTTP(S)*includingCSS,JavaScript,andotherbrowserenabledcontentWWW是Internet應用之一2021/4/138BriefHistorybeganasaUSDepartmentofDefensenetworkcalledARPANET(1960s-70s)initialservices:electronicmail,filetransferopenedtocommercialinterestsinlate80sWWWcreatedin1989-91byTimBerners-Lee
popularwebbrowsersreleased:Netscape1994,IE1995Aopensin1995;GoogleJanuary1996ChineseFirstConnectionwithInternet:ChineseAcademicsNet,byComputerApplyingTechnologyInstituteofBeijing1986,F(xiàn)irstemail,Sep.141987,fromCATIB,“AcrosstheGreatWallwecanreacheverycornerintheworld”ChineseFirstFullInternetConnection:NCFC(NationalComputingandNetworkingFacilityofChina)1994Baidu1999;Taobao20032021/4/139KeyaspectsoftheInternetInternetisforfreedomofinformationsubnetworkscanstandontheirowncomputerscandynamicallyjoinandleavethenetworkbuiltonopenstandards;anyonecancreateanewdevicelackofcentralizedcontrol(mostly)everyonecanuseitwithsimple,commonlyavailablesoftware2021/4/1310LayeredarchitectureTheinternetusesalayeredhardware/softwarearchitecture(OSImodel):physicallayer:devicessuchascoaxialcables,fiber-opticlines,modemsdatalinklayer:basichardwareprotocols(Ethernet,Wi-Fi,DSL,ATM,PPP)network/internetlayer:basicsoftwareprotocol(IP)transportlayer:addreliabilitytonetworklayer(TCP,UDP)applicationlayer:implementsspecificcommunicationforeachkindofprogram(HTTP,POP3/IMAP,SSH,FTP))2021/4/1311InternetProtocol(IP)theIPistheunderlyingsystemofcommunicationforalldata(packets)sentacrosstheinternet.eachdevicehasa32-bitIPaddressasfour8-bitnumbers(0-255)findoutyourinternetIPaddress:findoutyourlocalIPaddress:inaterminal,type:ipconfig(Windows)orifconfig(Mac/Linux)IPv4vs.IPv6(32-bvs.128-b)2021/4/1312TransmissionControlProtocol(TCP)addsmultiple,guaranteedmessagedeliveryontopofIPmultiplexing:multipleprogramsusingthesameIPaddressport:anumbergiventoeachprogramorservice80:Webbrowser(443forsecurebrowsing)25:email22:ssh21:ftpmorecommonportssomeprograms(QQ,games,streamingmediaprograms)usesimplerUDPprotocolinsteadofTCPfindoutportsused:inaterminal,usingnetstat(Windows)commandusingCurrPorts2021/4/1313WebserversandbrowsersWebserver:softwarethatlistensforWebpagerequestspartofWindows)C/SVsB/SmodelWebbrowser:fetches/displaysdocumentsfromWebserversMicrosoftInternetExplorer(IE)MozillaFirefoxAppleSafariGoogleChromeOpera2021/4/1314DomainNameSystem(DNS)asetofserversthatmapwrittennamestoIPaddressesExample:8usingWindowscommandnslookuptofindoutIPaddressmanysystemsmaintainalocalcachecalledahostfile
Windows:C:\Windows\system32\drivers\etc\hosts
Mac:/private/etc/hostsLinux:/etc/hosts2021/4/1315UniformResourceLocator(URL)anidentifierforthelocationofadocumentonawebsiteabasicURL:
/info/regesstepp/index.html
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
protocolhostpathuponenteringthisURLintothebrowser,itwould:asktheDNSserverfortheIPaddressofconnecttothatIPaddressatport80asktheservertoGET/info/regesstepp/index.htmldisplaytheresultingpageonthescreen2021/4/1316MoreadvancedURLsanchor:jumpstoagivensectionofawebpage
/download/index.html#downloads
fetchesindex.htmlthenjumpsdowntopartofthepagelabeleddownloadsport:forwebserversonportsotherthanthedefault80
:8080/querystring:asetofparameterspassedtoawebprogram
/search?q=miserable+failure&start=10
parameterqissetto"miserable+failure"parameterstartissetto102021/4/1317HypertextTransportProtocol(HTTP)HTTPisthefoundationofdatacommunicationforthe
WorldWideWeb.thesetofcommandsunderstoodbyawebserverandsentfromabrowsersomeHTTPcommands(yourbrowsersendstheseinternally):GET
filename:downloadPOSTfilename:sendawebformresponsePUT
filename:uploadDELETEfilename:removeentityHEADfilename:onlystatusinformation,notentirecontent…2021/4/1318HTTPerrorcodeswhensomethinggoeswrong,thewebserverreturnsaspecial"errorcode"numbertothebrowser,possiblyfollowedbyanHTMLdocumentcommonerrorcodes:200OK
301-303pagehasmoved(permanentlyortemporarily)
403youareforbiddentoaccessthispage404pagenotfound500internalservererror
completelist2021/4/1319TermsInternetServiceProviderenterprisesororganizationswhoprovideInternetaccesstoyou,who?pleaseidentifyyourISPsWebHostingprovideaplaceforconsumerstostorepagesdesignedtobeconsumedbytheWebsurfingpublicISPsoftenofferWebhostingservicesalongwiththeirstandardconnectivitypackages.Client/Servervs.Browser/Server2021/4/1320Web1.0vs.Web2.0Web1.0isaboutpublishingusersarelimitedtothepassiveviewingofinformationthatisprovidedtothemWeb2.0isaboutinteractionallowsitsuserstointeractwithotherusersortochangewebsitecontentinformationsharing,interoperability,user-centereddesignandcollaboration
hostedservices,webapplications,social-networkingsites,video-sharingsites,wikis,blogs2021/4/1321網(wǎng)站的含義網(wǎng)頁是網(wǎng)站的基本單位用標準的HTML語言將圖片、文字、多媒體信息組織起來的格式文檔一般意義上的網(wǎng)站Agroupofrelatedpages?Adedicateserver?Agroupofservers?2021/4/1322虛擬網(wǎng)站多個網(wǎng)站可以同時運行在一個單一服務器上利用不同的端口號利用不同的ip地址利用不同的域名
202
溫馨提示
- 1. 本站所有資源如無特殊說明,都需要本地電腦安裝OFFICE2007和PDF閱讀器。圖紙軟件為CAD,CAXA,PROE,UG,SolidWorks等.壓縮文件請下載最新的WinRAR軟件解壓。
- 2. 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請聯(lián)系上傳者。文件的所有權益歸上傳用戶所有。
- 3. 本站RAR壓縮包中若帶圖紙,網(wǎng)頁內(nèi)容里面會有圖紙預覽,若沒有圖紙預覽就沒有圖紙。
- 4. 未經(jīng)權益所有人同意不得將文件中的內(nèi)容挪作商業(yè)或盈利用途。
- 5. 人人文庫網(wǎng)僅提供信息存儲空間,僅對用戶上傳內(nèi)容的表現(xiàn)方式做保護處理,對用戶上傳分享的文檔內(nèi)容本身不做任何修改或編輯,并不能對任何下載內(nèi)容負責。
- 6. 下載文件中如有侵權或不適當內(nèi)容,請與我們聯(lián)系,我們立即糾正。
- 7. 本站不保證下載資源的準確性、安全性和完整性, 同時也不承擔用戶因使用這些下載資源對自己和他人造成任何形式的傷害或損失。
最新文檔
- 2025年粵教版高二語文下冊月考試卷
- 2025年統(tǒng)編版2024高二語文下冊階段測試試卷含答案
- 2025年蘇科版必修2物理上冊階段測試試卷
- 2025年滬教版選修6地理上冊階段測試試卷含答案
- 2025年滬科新版九年級歷史下冊月考試卷
- 2025年人教版(2024)九年級歷史上冊月考試卷含答案
- 2025年度住宅小區(qū)暖通設備更新?lián)Q代合同4篇
- 2025年度特色菜系廚師勞動合同模板4篇
- 中英對照2024年服務出口合同樣本
- 2025年度木地板施工與室內(nèi)空氣質(zhì)量保障合同4篇
- 2024公路瀝青路面結(jié)構(gòu)內(nèi)部狀況三維探地雷達快速檢測規(guī)程
- 2024年高考真題-地理(河北卷) 含答案
- 中國高血壓防治指南(2024年修訂版)解讀課件
- 2024年浙江省中考科學試卷
- 2024風力發(fā)電葉片維保作業(yè)技術規(guī)范
- 《思想道德與法治》課程教學大綱
- 2024光儲充一體化系統(tǒng)解決方案
- 2024年全國高考新課標卷物理真題(含答案)
- 處理后事授權委托書
- 食材配送服務方案投標方案(技術方案)
- 足療店營銷策劃方案
評論
0/150
提交評論