欢迎来到天天文库
浏览记录
ID:20834926
大小:579.00 KB
页数:37页
时间:2018-10-16
《21_web servers》由会员上传分享,免费在线阅读,更多相关内容在教育资源-天天文库。
1、Chapter21–WebServers(IISandApache)Outline21.1Introduction21.2HTTPRequestTypes21.3SystemArchitecture21.4Client-SideScriptingversusServer-SideScripting21.5AccessingWebServers21.6MicrosoftInternetInformationServices(IIS)21.6.1MicrosoftInternetInformationServices(IIS)5.0
2、21.6.2MicrosoftInternetInformationServices(IIS)6.021.7ApacheWebServer21.8RequestingDocuments21.8.1XHTML21.8.2ASP.NET21.8.3Perl21.8.4PHP21.8.5Python21.9WebResourcesObjectivesInthislesson,youwilllearn:TounderstandaWebserver’sfunctionality.TointroduceMicrosoftInternetInf
3、ormationServices(IIS)andApacheWebserver.TolearnhowtorequestdocumentsfromaWebserver.21.1 IntroductionWebserverRespondstoclientrequestsbyprovidingresourcesURI(UniformResourceIdentifier)Webserverandclientcommunicatewithplatform-independentHypertextTransferProtocol(HTTP)
4、21.1 Introduction21.2 HTTPRequestTypesRequestmethodsgetpostRetrieveandsendclientformdatatoWebserverPostdatatoaserver-sideformhandler21.3 SystemArchitectureMulti-tierapplication(n-tierapplication)Informationtier(dataorbottomtier)MaintainsdatafortheapplicationStoresd
5、atainarelationaldatabasemanagementsystem(RDBMS)MiddletierImplementsbusinesslogicandpresentationlogicControlinteractionsbetweenapplicationclientsandapplicationdataClienttier(toptier)Application’suserinterfaceUsersinteractdirectlywiththeapplicationthroughtheclienttier21
6、.4 Client-SideScriptingversusServer-SideScriptingClient-sidescriptsValidateuserinputReducerequestsneededtobepassedtoserverAccessbrowserEnhanceWebpageswithDHTML,ActiveXcontrols,andappletsServer-sidescriptsExecutedonserverGeneratecustomresponseforclientsWiderangeofprog
7、rammaticcapabilitiesAccesstoserver-sidesoftwarethatextendsserverfunctionality21.5 AccessingWebServersRequestdocumentsfromWebserversHostnamesLocalWebserversAccessthroughmachinenameorlocalhostRemoteWebserversAccessthroughmachinenameDomainnameorInternetProtocol(IP)addre
8、ssDomainnameserver(DNS)ComputerthatmaintainsadatabaseofhostnamesandtheircorrespondingIPaddress21.6 MicrosoftInternetInforma
此文档下载收益归作者所有