计算机 外文翻译 外文文献 英文文献及译文30 高级编程Word文档下载推荐.docx
《计算机 外文翻译 外文文献 英文文献及译文30 高级编程Word文档下载推荐.docx》由会员分享,可在线阅读,更多相关《计算机 外文翻译 外文文献 英文文献及译文30 高级编程Word文档下载推荐.docx(20页珍藏版)》请在冰豆网上搜索。
![计算机 外文翻译 外文文献 英文文献及译文30 高级编程Word文档下载推荐.docx](https://file1.bdocx.com/fileroot1/2022-11/25/f1958b3a-7db8-43a8-81fd-02f4fa1ce08b/f1958b3a-7db8-43a8-81fd-02f4fa1ce08b1.gif)
/EM>
.HTMLisabroad-basedstandardgeneralmarkuplanguage(StandardGeneralizedMakeupLanguage,SGML)markuplanguage.SGMLisadescriptionlanguage,itsownwebsiteisnottobeusedforcreatingthelanguage.HTMLfromsimplelanguage,theincreasingnumberofadditionalfeatures,SotodaytheformationoftheHTMLversion4.0.Thesenewpropertiesprovideamoreflexibletextfontstyles(suchas"
FONT"
),andandtheoutputpagelayoutmorecontrol(suchasWindowandframe).
Earlywebsiteisthelackofdynamiccontent.Justabeginning,thisisnotaproblembecauseTHLMtothedevelopmentofthecomputer,networkandoperatingsystembetweendisplayandtransmissionofinformation(inparticularthetechnicalandscientificinformation).ThisstandardizeddocumentisonlyasimpletextandmarkingsTheimagesandothernon-textcontentinaseparatedocumentstorage,theycanfreelyvariousnetworktransmission.Inaddition,theformatoftheinformationisfixed,anditsconstituentelementsisthemeaningoftheTHLMdefinitiongood.Fora"
reading"
orbrowserapplications,usinganyprogramminglanguageonanyplatformoroperatingsystemisrelativelyeasiertoachieve.
Aslongastheestablishmentoftheseinformationwebsite,textdocumentsandimagesthroughtheWebserverapplicationdeliverytousers,WebserverapplicationssimplyreadfromthediskandputtheiroutputintothenetworktothecorrecttransmissionHTTPagreement.Theclientortheclient,browserreceivingandtransmittingtheinformationflow,andtoswitchtoshowthepages.
HTMLandHTTPadditiontocross-platformproperties,itsmainstrengthsisitsdocumentationcanincludethecontentsoftherelevantinformation,theauthorexpressedthedesirepattern.Itcanbereadapplicationsandnotnecessarilyshow:
forexample,theblindcanusespecialproceduresithasbecomeavoice.Similarly,itscontentswillshowspecialwaytothosepooreyesightorotherdefectsiteasierforavisit.Therefore,Technologyindustryoften"
useragent"
(useragent)toreplacethegenericterm"
browser"
(browers).
Newtypesoffiles,especiallythosedesignedtoallowtheimportationofpagesofinformationonadocument(forexample,HTML"
PUNIT"
thewindow-Control),adevelopmentwhichcanbereadtoanduseofinformationapplicationsinevitable.Obviously,thetransferfromotherapplicationsobtained,inparticular,aspecifictypeofthecontentofthedatabase,theneedforanewapproach.Eachonebasedontheneedtorewritethetextofthepages,providingreal-timestrongmessageiscertainlynotanidealsolution.
Webserversforexample,provideaninterfacesothatotherapplicationscanbelinkedwithacommoninterfacethroughthismethod,Customizationoftheexecutablecanreceivefromtheclient'
sinformation,includingthroughhyperlinksorclickonthebrowsertypeuniformresourcelocators(URL)ofthedetailsoftherequestpages.Applicationproceduresforclientrequeststogeneratethecorrespondingresponses,butnotfromtheserverdiskreadtextordocumentmarkers.
Theseearlymethodsfromthebeginning,andgraduallyformacompleteseriesofmethodstocreatedynamicwebsiteinresponsetouserrequestsorinformationchanges.Applicationproceduresfortheseinterfacesarestillinuse,wasknownastheCommonGatewayInterface(CommonGatewaInterface,CGI),Thisisaavailableinanylanguage(suchasC)toachievethestandard.Itarisesfromtheuseofthosecgi-bindirectoryapplication(here,"
b,in"
representsthebinarycode,insteadoftext).
Earlyapplicationsarecompiledaftertheprocedure,usuallyinCorC++preparation.However,thisnaturallyknowtheCprogramminglanguage,Whenevertherightproceduresanddoverylittlewritingormarkingsonthechanges,wemustrecompile,re-generateexecutablefiles,whichlimitstheCandGIusedynamicpages.Instead,thedevelopmentofascriptinglanguageusedtocreateWebpages,Suchlanguageisusefulsummaryandreportlanguage(PracticalExtractionandReportingLanguage),orreferredtoasPerlItallowsinformationtothefoundersofaverysimplifiedsimilartoCorC++languagecode.
Perlscript,it"
reads"
textandmarkingsusestandardinput(sintd)andthestandardoutput(studot)functionthroughtheCandGI.WebserverlinksGeneraloutputtothebrowser.Per•bWestillisapopularlanguage,particularlyintheUN-basedX-orLIinuxsystems.However,thislanguagecapturesupisnotveryeasy.especiallyforthosewhoarenotCorC++languagebasedontheWebespeciallydevelopers.Now,somenewscriptinglanguageemerged,andmakethewebsitemoreeasily.Wemainlylookathowtheyenabledeveloperstoworkmoreeasily.
1.1Server-sidescriptingtechnology
Fortheserver-sidescriptingneedssometypeofintermediateapplications,orplug-inproceduretoconnect.Itmustbeabletoaccepttherequestofusers,readandexplainedtotheappropriateserverbasedonthescriptfile,andthencreatetheoutputpages,Wealsotransmittedtotheserver,whereasaresponsesenttotheclient.Insomecases,thistaskisdividedintotwoparts:
anapplicationorplug-inprocedureswiththeWebcommunicationbetweentheserver(usuallyCthroughGI).Anotherdealtwiththeinterpretationandimplementationofthescript.ThisisPSAofthesituation,thescriptengineusedinothercircumstancesthesame.Perlisapopularserver-sidescriptinglanguage,butnowtherearealotofotherlanguages.IntheUNandonI-Linuxsystem,AnewcalledPHP(PersonalHomePage)thelanguageisbecomingincreasinglypopular.Somelanguageisthegoalofsomespecifictypesofusers,Forexample,TCLisascientificenvironmentinthecomplexarithmeticsimplisticlanguage.
1.2Microsoft'
stechnologytocreatedynamicpages
WithMicrosoftWindowsNT3.51launchedtheirWebserversoftwareFAQ,InformationServer(IIS1.0.ThisisoneofmanyfunctionsofacertainstandardThesoftware,itsupportsCG.I.ButMicrosoftalsooffersaninterface,allowingtheuseofCandC++languagecompiler,suchasgeneratingexecutablefiles,makeoperationsmoreefficient.ThisisInternetServerApplicationProgrammingInterface(InternetServerApplicationProgrammingInterface,ISAPI).ItcanprovidethantraditionalPerlenginesandothertechnology-dependentstindandstodutbroaderWebservertovisit.SincethenMicrosoftandotherthirdpartydevelopersthroughtheintroductionofmanyAPSconnecttotheSsoftwareapplication,ThisiswhyAPScanconnecttotheIIS,aswellasotherMicrosoftserverDynamicTechnology.
APSinthepast,themostwidelyusedisInetternDatabaseConnectivity(InternetDatabaseCo.nnector.IPC).ASPWebdeveloperstouseMicrosoft'
splatformopenedupanewvista,Thisenablesthedatainthedatabasetocreatedynamicwebeasier.Inparticular,ithasintroducedatemplate(template),whichincludesaninsertwithadatabasequerytotheresultsofthetextandmarkingthetemplatefiles.
Chapter2JavaScript
2.1what’sJavaScript
JavaScriptisusedinmillionsofWebpagestoimprovethedesign,validateforms,detectbrowsers,createcookies,andmuchmore.JavaScriptisthemostpopularscriptinglanguageontheinternet,andworksinallmajorbrowsers,suchasInternetExplorer,Mozilla,Firefox,Netscape,Opera.Beforeyoucontinueyoushouldhaveabasicunderstandingofthefollowing:
·
JavaScriptwasdesignedtoaddinteractivitytoHTMLpages
JavaScriptisascriptinglanguage(ascriptinglanguageisalightweightprogramminglanguage)
AJavaScriptconsistsoflinesofexecutablecomputercode
AJavaScriptisusuallyembeddeddirectlyintoHTMLpages
JavaScriptisaninterpretedlanguage(meansthatscriptsexecutewithoutpreliminarycompilation)
EveryonecanuseJavaScriptwithoutpurchasingalicense
JavaScriptgivesHTMLdesignersaprogrammingtool–HTMLauthorsarenormallynotprogrammers,butJavaScriptisascriptinglanguagewithaverysimplesyntax!
Almostanyonecanputsmall“snippets”ofcodeintotheirHTMLpages
JavaScriptcanputdynamictextintoanHTMLpage–AJavaScriptstatementlikethis:
document.write(”<
h1>
”+name+“<
/h1>
”)canwriteavariabletextintoanHTMLpage
JavaScriptcanreacttoevents–AJavaScriptcanbesettoexecutewhensomethinghappens,likewhenapagehasfinishedloadingorwhenauserclicksonanHTMLelement
JavaScriptcanbeusedtovalidatedata–AJavaScriptcanbeusedtovalidateformdatabeforeitissubmittedtoaserver,thiswillsavetheserverfromextraprocessing
JavaScriptcanbeusedtodetectthevisitor’sbrowser–AJavaScriptcanbeusedtodetectthevisitor’sbrowser,and–dependingonthebrowser–loadanotherpagespecificallydesignedforthatbrowser
JavaScriptcanbeusedtocreatecookies–AJavaScriptcanbeusedtostoreandretrieveinformationonthevisitor’scomput