ASP外文文献.docx
《ASP外文文献.docx》由会员分享,可在线阅读,更多相关《ASP外文文献.docx(16页珍藏版)》请在冰豆网上搜索。
ASP外文文献
TheDesignandImplementationofASPWebSiteNewsManagementSystems
Abstract
TheuseofASPandSQLtechnologynewssitemanagementsystem,toachievethedynamicmanagementofthenewsWebsite,makingthemanagementofinformationmoretimely,efficient,improvetheworkefficiency.Atthesametime,thedevelopmentofsystemstheory,systemsanddesignfeaturesareintroduced.
[Keyword]ASP,SQL,newsmanagement,database
WiththepopularizationofInternet,moreandmorecompaniessetuptheirownWWWsites,enterprisescandisplayproductsthroughthewebsite,publishingthelatestdevelopments,withuserssharingandcommunicationtoestablishcontactwithpartners,aswellase-commerce.InformationManagementSystemwhichisanenterpriseWebsiteanimportantpartofitbearsadoublerole,ontheonehand,thedynamiccanbeusedtoreleasethenewproductornewdevelopmentprojects,ontheotherhand,thetimelynoticetotheircustomersbusinessperformance,Progressintechnologyandresearchanddevelopment,inparticular,recommendorpreferentialprojects,productsandservicestoattractcustomers,expandcustomerbase.Managementoftraditionalnewssitesintwoways,onestaticHTMLpage,updatetheinformationneededtore-createthepageandthenuploadthepageandmodifythecorrespondinglinks,theefficiencyofthisapproachistoolowbecausewehavelittleuse.ThesecondisbasedonASPandscriptinglanguages,dynamicWebpagesanddatabases,throughtheapplicationofprocedurestodealwithnews,thisiswaymorepopular.However,duetothelimitationsofASPallowsthesystemitself,therearesomeinsurmountableflaws,andASP.NETtechnologyhastakenonthesystemperformancehasbeengreatlyimproved,themainperformanceinthefollowingaspects:
1.ASPpagetoopenasaresultofeachmustbecompiledtoexplaintheprocess,sowhenthepageopensintherateofrepeatedthereisnoupgrade,andonlyneedaASP.NETpagedonotneedtorecompilecompileduntilthepagehasbeenmodifiedorWebApplicationprocessrestarted.Thismakesthespeedinanumberofvisitshasgreatlyimproved.
2.AstheASPdoesnotprovideanyoutputdataforthecontentofthecomponents,sowritingadatabaseusingASPpagecanusetheRecordSetObjectADOtoreadrecordsoftransaction,whiletheASPprovidedthroughtheDataGrid,suchasADO.NETdatabaseanddatabasecomponentscanbedirectlyContact.
3.ASPsupportreal-timeapplicationupdates.Administratorsdonothavetoturnoffthenetworkserverorevendonothavetostoprunningtheapplicationcanupdatetheapplicationonfile.Applicationdocumentswillneverbelocked,soevenwhentheprogramrunsinthepapercanbeoverwritten.Whenthedocumentisupdated,thesystemwillconverttothenewmoderateversion.4.ASPtakethe"code-behind"approachtothepreparationofthecodemakesthecodeeasiertoprepare,structuremoreclearly,reducingthesystemdevelopmentandmaintenanceofthecomplexityandthecostof.
1SystemDevelopmentPrinciple
1.1TheSystemArchitectureModelofASP-basedTechnology
ASPisathree-tiersystemstructure:
UILayer,BusinessLogicTieranddatalayer.UIlayerisresponsibleforinteractionwiththeuser,receivinguserinputandserver-sidedatafrompresenttoclients.BusinessLogicTierisresponsibleforreceivingrequestsfrombrowserrequeststothedatalayersandatthesametimetheresultsoftherequestsenttothebrowser.ItconsistsofWebForms,XMLWebservicesandservicecompositioncomponents.WebFormsASP.NETwhichisthecoreoftheapplication,itispresentedtocustomersbasedondataandinformationaswellastorespondtoanddealwithcustomersanddisplayinteractiveWebformgeneratedbasedoninformationanddata.DatalayerstomanipulatedatathroughtheADO.NETlayerforbusinesslogictoprovidedataservices,suchasstoringtheresultsofdatamanipulationandreturntotheresultsofdataretrieval.
1.2TheprincipleofaccesstothedatabaseADO.NET
Connectedwiththedatabase,ADO.NETprovidethefollowingthreekindsofways:
throughODBCconnected;connectedthroughOLEDB;directlyconnectedwiththeSQLServer.Applicationofthreekindsofwaysasaresultofdifferencesinlevels,makingtheefficiencyfromlowtohigh,hightolowindependence.Connectedtothedatabasefordataprocessing,therearetwokindsofways,thatis,throughaDatasettotheisolationofheterogeneousdatasources,andtheotherisastreamtoreadfromthedatasource(DataReadermode).Traditionalapplicationistocreateaconnectiontothedatabase,intheprocessisrunningthewholewaytomaintainconnectionstothedesign.ASP.NETtakendisconnectedmodedatastructure.WhenabrowserrequestsapagetotheWebserver,theservertodealwiththisrequest,therequestedpageandsendtoyourbrowser,andthenconnectionwasdisconnecteduntilthenextbrowserrequestissued.ADO.NETAnotherinnovationistheintroductionofadataset(Dataset).Adatasetistherelationshipbetweenmemorymaptoprovidehigh-speeddatabuffer.Datasetofdatasourcesknowthattheycanbeadoptedbytheprogramortransferredfromthedatawarehousedataweregenerated,tofill.Regardlessofwherethedataacquisition,datasetsarethesameprocedurethroughtheuseoftemplatestobeoperated,andit'spotentialtousethesamedatabuffer.
2SystemsFunctionalDesigns
2.1SystemsFunctionStructures
ThenewsmanagementsysteminWindows2000Serveroperatingsystemplatforms,WebserverIIS,thedatabaseserverforMicrosoftSQLServer2000,developmenttoolsusedinMicrosoftVisualStudio.NETandDreamWeaver.Itsworkprocessesasfollows:
theuserloginthroughtheauthoritytodeterminethegeneralusercanonlybrowse,readandqueryinformation,registereduserscanbecompletedinadditiontotheordinaryuser,butalsocanenterinformationfornewsmanagementmoduleinput,modify,anddeleteoperations.Inadditiontoregisteredusersoutsidethesystemadministratorcanonlyberecordedonitsownnewsoperationforexcision.
2.2SystemsFunctionCharacteristics
(1)Simple,user-friendly:
completecontrolofpagelayout,makinginformationeasierentrywork;manyoptionsincludingnewscategories,suchasthesourceofdepartmentsonlyneedtoclickthemousecanbecompleted;Inaddition,thefollow-upmessagealsoappearsallowuserstocleartheirownoperations.
(2)Canbeseenimmediately:
thehandlingofthepress(includingtheentry,modify,delete)willbethecorrespondingcolumnonthehomepageisdisplayedto"immediaterelease,immediateresults"function.
(3)Function:
includecommonsiteinallaspectsofinformationmanagement:
informationinput,browse,delete,modify,searchandotheraspects,thefullrealizationoftheWebsiteofthereal-timeinformationmanagementrequirements.
(4)Tofacilitatetransplantation:
fordifferententerprises,withsomeslightmodificationsneedtobeabletodevelopforthecompany'sWebsitefeaturesnewsmanagementsystem.
3SystemsDetailedDesigns
Corefunctionsofthesystemthroughanumberoffunctionalmodulesachieved.Specificdesignprocessisasfollows:
⑴Systemlogin:
Themoduleresponsiblefortheuseraredividedintogeneralusersand
registereduserstoachievethemanagementofuserrights.
(2)NewsView:
Themoduleisresponsibleforallthenewspagewebsitelistsinformation,includingthetitle,type,sourceanddatefielddepartments,andeachtitlehasbeenmadenewsahyperlink,clickthepagetheywillbeabletoJumpnewsreader.
(3)Newsreader:
inotherpagesorclickthetitlelinktoreadintothenewspages,atthistime,detailedinformationofeachinformationwillberemoved,includingthecontent,title,keywords,andrelativelyfixedinaccordancewiththeformatplacedindifferentpagesregion,theuseofallthenewsaboutthesamepagelayout,onlythecontentsofthefieldcorrespondingtodifferentInaddition,thelocationofotherpagescanbedynamicallyplacedinothercomponents,suchaswebsitelogo,suchasthepagebanneradslinktopictures,thiscanbeeasilytoachievetheeffectofillustrationsinreading.
(4)NewsInquiry:
Themoduleprovidesapressinquiry,typetobeselectedtofindthecontentandclassificationofinformationcanquicklyfindtheinformationinlinewiththeconditionsandresultsoutput.
(5)NewsManagement:
Themodulelistedintheregistryisresponsiblefortheregistrationpagetheuserhasissuedanewsandinformationanddidnotdelete,theusercanpresstodeletethearticle,modify.Inadditiontonon-newspublisherisnotoutsidethesystemadministratorhastheauthoritytodealwithinformationwhich,sodifferentusersaccesstothispagewilldisplaydifferentcontent.
(6)Newsentryandmodification:
apressregisteredusersneedtoinputthecontent,includingtitle,keyword,type,sourceofdepartments,suchasreleasedate,atthesametimefromtheloginmoduletobeusername,thisinformationwillbesavedintothedatabase.Themoduleisalsoresponsibleforeditingtheupdatedstate,then,itwilllighttheTitlefieldvaluesonthepagetoinitializethecontrol.
asp的新闻管理系统的设计与实现
摘要
利用ASP和SQL技术开发的新闻管理系统,实现了新闻的动态管理,使得对信息的管理更加及时、高效,提高了工作效率。
同时对系统的开发原理、系统的功能特点和设计方案进行了介绍。
【关键词】ASP,SQL,新闻管理,数据库
随着Internet的普及,越来越多的企业建立了自己的WWW,企业通过可以展示产品,发布最新动态,与用户进行交流和沟通,与合作伙伴建立联系,以及开展电子商务等。
其中新闻管理系统是构成企业的一个重要组成部分,它担负着双层作用,一方面可以用来动态发布有关新产品或新开发项目,另一方面又可以及时向顾客公告企业经营业绩、技术与研发进展、特别推荐或优惠的工程项目、产品和服务,从而吸引顾客,扩大顾客群。
传统的新闻管理方式有两种,一是静态HTML页面,更新信息时需要重新制作页面然后上传页面并修改相应,这种方式因为效率太低已不多用。
二是基于ASP和脚本语言,将动态网页和数据库结合,通过应用程序来处理新闻,这是目前较为流行的做法。
但是由于ASP本身的局限性使得系统有一些不可克服的缺陷,而采取了ASP.NET技术的系统性能上有了很大的改善,其主要表现在以下几方面:
1.由于ASP页面每次打开都必须经过先编译后解释的过程,所以页面在反复打开时速度没有任何提升,而ASP