您好,欢迎访问三七文档
ASPintroductionFrom1996ASPbirthtonowpast15years.Intheshortof15years,ASPtherearemajorchanges,untilnowtheasp.net.Thefirsteditionofaspis0.9beta,since1996,itgivesbirthASP1.0Webdevelopmentboundedbroughtgoodnews.EarlyWebapplicationdevelopmentisverytedious,thatshouldmakeasimpledynamicpagesneedtowritealotofCcodetocompletethisforordinaryprogrammerisalittletoodifficult.AnASPbutallowstheuseofthissimplescriptinglanguageadditionally,writethecodeembeddedinHTMLpages.InprogramminguseitsinternalcomponentstoachievesomeadvancedfunctionssuchasCookie).It'sthebiggestcontributionliesinitsADO(ActiveXDataObject),thiscomponentmakestheprogramofthedatabaseoperationisverysimple,sothedynamicwebdesignalsobecomesaeasy.Thereforeovernight,Webdesignprogramisnolongerimaginedarduoustasks,asmanypeoplecandotheirstuff.In1998,MicrosofttoreleasetheASP2.0.ItispartofthePackWindowsNT4Option,asIIS4.0ofmodule.inaccessories.ItwithASP1.0arethemaindifferencebetweenitsexternalcomponentscanbeinitialized,sothatintheASPprogramofallinternalcomponentshaveindependentmemoryspace,andavailableforthetransaction.By2000,withtheWindows2000successrelease,theoperatingsystemIIS5.0achincidentASP3.0alsobeginspopularity.ComparedwithASP2.0,ASP3.0advantageliesinitUSEStheCOM+,henceitseffectivenessisbetterthanitsfrontversion,andmorestable.In2001,asp.netappeared.Inthefirstdevelopment,itisthenameoftheASP+,buttowithMicrosoft.netplan,andtoshowthatmatchtheASPversionisnottoASP3.0complement,Microsoftwillitsnamedasp.net.Asp.netonthestructureandinfrontoftheversioniswidelydivergent,italmostentirelybasedonthecomponentsandmodular,Webapplicationsdevelopersusethisdevelopmentenvironmentcanrealizemoremodular,morepowerfulapplication.Aswebdevelopers,ourlivesrevolvearoundworkingwithdata.Wecreatedatabasestostorethedata,codetoretrieveandmodifyit,andwebpagestocollectandsummarizeit.ThisisthefirsttutorialinalengthyseriesthatwillexploretechniquesforimplementingthesecommonpatternsinASP.We'llstartwithcreatingasoftwarearchitecturecomposedofaDataAccessLayer(DAL)usingTypedDataSets,aBusinessLogicLayer(BLL)thatenforcescustombusinessrules,andapresentationlayercomposedofASPpagesthatshareacommonpagelayout.Oncethisbackendgroundworkhasbeenlaid,we'llmoveintoreporting,showinghowtodisplay,summarize,collect,andvalidatedatafromawebapplication.Thesetutorialsaregearedtobeconciseandprovidestep-by-stepinstructionswithplentyofscreenshotstowalkyouthroughtheprocessvisually.EachtutorialisavailableinC#andVisualBasicversionsandincludesadownloadofthecompletecodeused.First,ASPpagefeaturesASPisaserver-sidescriptingcompileenvironment,canbeusedtocreateandrundynamicWebpagesorWebapplications.ASPpagecancontaintext,HTMLtags,commonscriptcommandsandCOMcomponents,etc.UsingASPpagecanbeaddedtotheinteractivecontent(suchasonlineforms)andcanalsocreateusingHTMLpageastheuserinterfaceofwebapplications.ComparedwithHTML,ASPpagehasthefollowingfeatures:UsingASPcanrealizebreakthroughstaticHTMLpagesofsomefunctionslimittorealizeadynamicwebtechnology,TheASPfileiscontainedintheHTMLcodeconsistingoffiles,easytomodifyandtesting;OntheserverASPexplainprocedureswillbeexecutedontheserverASPprogram,andwillresultinHTMLformatteleporttotheclientbrowser,sousingvariousbrowserscanbrowseASPproducedawebpage,ASPprovidessomebuilt-inobject,usetheseobjectscanmakeserver-sidescriptingfunctionstronger.ForinstancecanextractfromthewebbrowseruserthroughHTMLforminformationsubmitted,andinascriptfortheinformationprocessing,andthentothewebbrowsertosendinformation,ASPserverActiveXcomponentscanbeusedtoperformvarioustasks,suchasaccessdatabase,sendEmailoraccessthefilesystem,etc.AstheserveristheresultofASPprogramexecutioninHTMLbacktotheclientbrowser,thereforeuserswon'tseeASPwrittenbytheoriginalprogramcode,canpreventASPprogramcodebeingstolen.and(7)convenientconnectionACCESSandSQLdatabase(8)thedevelopmentneedsalotofexperience,otherwiseyouwillsetasideloophole,lethackersusingforinjectionattack.ASParenotlimitedtotheWEBsitewithHTMLcombiningproduction,butalsocanbecombinedwiththeXHTMLandWMLlanguageproductionWAPmobileWEBsites.Butitsprincipleisthesame.Second,ASP-workingprincipleWheninWebsitesintoASPfunction,willoccurthefollowingthings:1,userbrowseraddressbartoinputthewebsite,thedefaultpageextensionsis.Asp.2,requesttotheserverbrowser.3,serverenginestartsrunningASPprogram.4,accordingtotheASPfilefromtoptobottom,executetheorderbegantotreatscriptingcommands,executiveHTMLpagecontent.5,pageinformationsenttothebrowser.Third,ASPupgradeplatform:asp.netOperationfeatures.1.Asp.netisbasedonthecommonlanguageprogramintheserver.UnlikepreviousASPreal-timeinterpretationprocess,butaprogramintheserver'sfirstruncompile,executiveeffect,thanaaexplanationmuchbetter,executiveefficiencygreatlyenhanced.Asp.netcanrunintheWebapplicationofsoftwaredevelopersalmostalloftheplatform.Thecommonlanguageofbasiclibrary,informationmechanism,datainterfacetreatmentcanseamlesslyintegrateintotheasp.netWebapplications.Asp.netisalsoindependentlanguagelanguage-feasibilityof,so,youcanchooseakindofthemostsuitableforyourlanguagetowriteyourprogram,orput
本文标题:计算机英文文献
链接地址:https://www.777doc.com/doc-6090765 .html