ASP外文文献.docx
TheDesignandImplementationofASPWebSiteNewsManagementSystemsAbstractTheuseofSPandSQ1.technologynewssitemanagementsystem,toachievethedynamicmanagementof(henewsWebsite,makingthemanagementofinIbnnalionmoretimely,efficient,improvetheworkefficiency.Atthesamelime,thedevelopmentofsystemstheorj.systemsanddesignfeaturesareintroduced.KeywordASPSQ1.,newsmanagement.databaseWiththepopularizationofInternet,moreandmorecompaniessetuptheirown.enterprisescandisplayproductsthroughthewebsite,publishingthelatestdevelopments,withuserssharingandcommunicationtoestablishcontactwithpartners,aswellasC-CommCrCc.InformationManagementSystemwhichisanenterpriseWcbsiteanimportantpartofitbearsadoublerole,ontheonehand,thedynamiccanbeusedtoreleasethenewproductornewdevelopmentprojects,ontheotherhand,thetimelynoticetotheircustomersbusinesserfonnance,Progressintechnologyandresearchanddevelopment,inparticular,FCCommCndorprcfcrvniialprojects,productsandservicestoattractcustonwrs.expandcustomerbase.Managementoftraditionalnewssitesintwoways,onestaticHTM1.page,uxlatetheinfonnationneededtore-createthepageandthenuploadthepageandmodifythecorrespondinglinks,theefficiencyofthisapproachistoolowbecausewchavelittleuse.ThesecondisbasedonASPandscriptinglanguages,dynamicWebpagesanddatabases,throughtheapplicationofprocedurestodealwithnews,thisiswayInOrepopular.However,duetothelimitationsofASPallowsthesystemitself,therearesomeinsurmountableflaws,andASRNETtechnologyhastakenonthesystemperformancehasbeengreatlyimproved,themainperformanceinthefollowingaspects:1. ASPpage(oopenasaresultofeachmustbecompiledtoexplaintheprocess,sowhenihcpageopensintherateofrepeatedthereisnoupgrade,andonlyneedaASRNETpagedonotneedtorecompilecompileduntilthepagehasbeenmodifiedorWeb/Xpplicationprocessrestarted.I-hismakesthespeedinanumberofvisitshasgreatlyimproved.2. AstheASPdocsnotprovideanyoutputdataforthecontentofthecomponents,sowritingadatabaseusingASPpagecanusetheRecordSetObjectADOtoreadrecordsoftransaction,whiletheASPprovidedthroughtheDataGrid.suchasADO.NETdatabaseanddatabaseComponernScanbedirectlyContact.3. ASPsupportreal-timeapplicationupdates.AdministratorsdonothavetoturnoffthenetworkSCrVCrorevendonothavetostoprunningtheapplicationcanupdatetheapplicationonfile.Applicationdocumentswillneverbelocked,soevenwhentheprogramrunsinthepapercanbeoverwritten.Whenthedocumentisupdated,thesystemwillconverttothetewmoderateversion.4.ASPtakethe"code-behind"approachtothePrCPanlIiOnoftheCOdCmakestheCodCeasiertoprepare,structuremoreclearly,reducingthesystemdevelopmentandmaintenanceofthecomplexityandthecostof.1 SystemDevelopmentPrinciple1.1 TheSystemArchitectureModelofASP-basedTechnology?SPisathree-tiersystemstructure:Ul1.ayer.Business1.ogicTieranddatalayer.Ullayerisresponsibleforinteractionwiththeuser,receivinguserinputandserver-sidedatafrompresentloclients.Business1.ogicTierisresponsibleforreceivingrequestsfrombrowserrequeststothedatalayersandatthesametimetheresultsoftherequestsenttothebrowser.ItconsistsofWebForms.XM1.Webservicesandservicecompositioncomponents.WebFormsASP.NETwhichisthecoreoftheapplication,itisprescnicdlocustomersbasedondataandinformationaswellastorespondtoanddealwithcustomersanddisplayinteractiveWebformgeneratedbasedoninfcrmaUonanddata.DatalayerstomanipulatedatathroughtheADO.NETlayerforbusinesslogictoprovidedataservices,suchasstoringtheresultsofdatamanipulationandrclurntotheresultsofdataretrieval.1.2 TheprincipleofaccesstothedatabaseADO.NETConnectedwiththedatabase,ADO.NETprovidethefollowingthreekindsofways:throughODBCconnected;connectedthroughO1.EDB;directlyconnectedwiththeSQ1.Server.Applicationofthreekindsofwaysasaresultofdifferencesinlevels,makingtheefficiencyfromlowtohigh,hightolowindependence.Connectedtothedatabasefordataprocessing,therearetwokindsofways,thatis,throughaDataseiiotheisolationofheterogeneousdatasources,andtheotherisastreamtoreadfromthedatasource(DataReadermode).Traditionalapplicationistocreateaconnectiontothedatabase,intheprocessisrunningthewholewaytomaintainconnectionstothedesign.ASRNETtakendisconnectedn<xledatastructure.WhenabrowserrequestsapagetotheWebserver,theservertodealwiththisrequest,therequestedpageandsendtoyourbrowser,andthenconnectionwasdisconnecteduntilthenextbrowserrequestissued.DO.NE'Anotherinnovationistheintroductionofadataset(Dataset).Adatasetistherelationshipbetweennenorjmaptoprovidehigh-speeddatabuffer.DatasetofdatasourcesknowthattheyCanbeadoptedbytheprogramortransferredfromthedatawarehousedataweregenerated,tofill.Regardlessofwherethedataacquisition,datasetsarethesameprocedurethroughtheuseoftemplatestobeoperated,andit'sPolCnIialtousethesamedatabufcr.2 SystemsFunctionalDesigns2.1 SystemsFunctionStructuresThenewsmanagementsysteminWindows2000SCrVCroperatingsystemplatforms.WebserverIIS.thedatabasescnrcrforMicrosoftSQ1.Scrvcr20(X).developmenttoolsusedinMicrosoftVisualStudio.NETandDreamWeaver.Itsworkprocessesasfollows:Iheuserloginthroughtheauthoritytodeterminethegeneralusercanonlybrowse,readandqueryinforma