计算机英文文献

整理文档很辛苦,赏杯茶钱您下走!

免费阅读已结束,点击下载阅读编辑剩下 ...

阅读已结束,您可以下载文档离线阅读编辑

资源描述

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

1 / 11
下载文档,编辑使用

©2015-2020 m.777doc.com 三七文档.

备案号:鲁ICP备2024069028号-1 客服联系 QQ:2149211541

×
保存成功