资源描述:
《asp简介 毕业论文外文翻译》由会员上传分享,免费在线阅读,更多相关内容在学术论文-天天文库。
1、BriefIntroductionOfASPCraigA.VanLengen,Flagstaff,AZJohnD.Haney.BriefIntroductionOfASP[J].JournalofComputingSciencesinCollegesarchive.2004,20(1)342-356.ActiveServerPages(ASP)isaproven,well-establishedtechnologyforbuildingdynamicWebapplications,whichprovidesthepowerandflexibilityyouneed
2、tocreateanythingfromapersonal,WebbasedphotogallerytoacompletecatalogueandshoppingcartsystemforyournexteCommerceproject。OneuniquefeatureofASPisthatitletsyouchooseyourfavouritescriptinglanguage,beitJavaScriptorVBScript;however,VBScriptisbyfarthemostpopularchoice.Inthisarticle,I'llbringy
3、ouuptospeedonthebasicsyntaxoftheVBScriptlanguage,includingvariables,operators,andcontrolstructures.Server-SideScriptingTounderstandwhereASPfitsintothebigpictureofWebdevelopment,youneedtounderstandtheconceptofaserver-sidescriptinglanguage.Ifyou'veprogrammedWebpagesinPerl,PHP,JSP,orCold
4、Fusionbefore,youcansafelyskipthissection–allofthoseareserver-sidescriptinglanguages,andASPworksinmuchthesameway.Ifyou'recomingtoASParmedonlywithknowledgeofHTML(andperhapswithsomeCSSand/orJavaScriptexperience)thenyou'llfindthatserver-sidescriptingisquiteabitdifferent.Letmebeginbygiving
5、youaquickreviewofhowstandard,non-ASPWebpageswork.AsshowninFigure1,theWebbrowserontheclientcomputer(thecomputerbelongingtotheuser)makesarequestforapage,sayfile.html(1).AssumingtherequestedfileexistsontheWebhostcomputerwheretheWebServersoftwarecanfindit,thatsoftwarerepliestotherequestby
6、sendingthefilebacktothebrowser(2).Anyadditionalfiles(images,forexample)requiredtodisplaythepagearerequestedandreceivedinthesameway.Theprotocolusedforthisexchange,andindeedforallcommunicationbetweenWebbrowsersandWebserversiscalledHypertextTransferProtocol(HTTP).Ifyou'veeverusedanyJavaS
7、criptinyourpages,youknowthattherequestedWebpage(file.html)cancontain,inadditiontoplainHTMLcode,smallprogramswritteninJavaScript.Theseprograms,orscripts,arereadandexecutedbytheWebbrowserwhilethepageisdisplayedinthebrowser.SotheWebbrowsermustunderstandnotonlyhowtoreadHTMLanddisplaytext.
8、andim