版權(quán)說(shuō)明:本文檔由用戶提供并上傳,收益歸屬內(nèi)容提供方,若內(nèi)容存在侵權(quán),請(qǐng)進(jìn)行舉報(bào)或認(rèn)領(lǐng)
文檔簡(jiǎn)介
1、<p><b> 中文2500字</b></p><p> The Design and Implementation of ASP Web Site News Management Systems </p><p><b> Abstract </b></p><p> The use of ASP a
2、nd SQL technology news site management system, to achieve the dynamic management of the news Web site, making the management of information more timely, efficient, improve the work efficiency. At the same time, the devel
3、opment of systems theory, systems and design features are introduced. </p><p> [Key word] ASP,SQL,news management,database</p><p> With the popularization of Internet, more and more companies
4、set up their own WWW sites, enterprises can display products through the website, publishing the latest developments, with users sharing and communication to establish contact with partners, as well as e-commerce. Inform
5、ation Management System which is an enterprise Web site an important part of it bears a double role, on the one hand, the dynamic can be used to release the new product or new development projects, on the other hand, th&
6、lt;/p><p> Management of traditional news sites in two ways, one static HTML page, update the information needed to re-create the page and then upload the page and modify the corresponding links, the efficienc
7、y of this approach is too low because we have little use. The second is based on ASP and scripting languages, dynamic Web pages and databases, through the application of procedures to deal with news, this is way more pop
8、ular. However, due to the limitations of ASP allows the system itself, there are s</p><p> 1. ASP page to open as a result of each must be compiled to explain the process, so when the page opens in the rate
9、 of repeated there is no upgrade, and only need a ASP.NET page do not need to recompile compiled until the page has been modified or Web Application process restarted. This makes the speed in a number of visits has great
10、ly improved. </p><p> 2. As the ASP does not provide any output data for the content of the components, so writing a database using ASP page can use the Record Set Object ADO to read records of transaction,
11、 while the ASP provided through the DataGrid, such as ADO.NET database and database components can be directly Contact. </p><p> 3. ASP support real-time application updates. Administrators do not have to t
12、urn off the network server or even do not have to stop running the application can update the application on file. Application documents will never be locked, so even when the program runs in the paper can be overwritten
13、. When the document is updated, the system will convert to the new moderate version. </p><p> 4. ASP take the "code-behind" approach to the preparation of the code makes the code easier to prepare
14、, structure more clearly, reducing the system development and maintenance of the complexity and the cost of.</p><p> 1 System Development Principle</p><p> 1.1 The System Architecture Model of
15、 ASP-based Technology</p><p> ASP is a three-tier system structure: UI Layer, Business Logic Tier and data layer.</p><p> UI layer is responsible for interaction with the user, receiving user
16、input and server-side data from present to clients. </p><p> Business Logic Tier is responsible for receiving requests from browser requests to the data layers and at the same time the results of the reques
17、t sent to the browser. It consists of Web Forms, XML Web services and service composition components. Web Forms ASP.NET which is the core of the application, it is presented to customers based on data and information as
18、well as to respond to and deal with customers and display interactive Web form generated based on information and data. </p><p> Data layers to manipulate data through the ADO.NET layer for business logic t
19、o provide data services, such as storing the results of data manipulation and return to the results of data retrieval.</p><p> 1.2 The principle of access to the database ADO.NET</p><p> Conne
20、cted with the database, ADO.NET provide the following three kinds of ways: through ODBC connected; connected through OLEDB; directly connected with the SQL Server. Application of three kinds of ways as a result of differ
21、ences in levels, making the efficiency from low to high, high to low independence. Connected to the database for data processing, there are two kinds of ways, that is, through a Dataset to the isolation of heterogeneous
22、data sources, and the other is a stream to read from th</p><p> Traditional application is to create a connection to the database, in the process is running the whole way to maintain connections to the desi
23、gn. ASP.NET taken disconnected mode data structure. When a browser requests a page to the Web server, the server to deal with this request, the requested page and send to your browser, and then connection was disconnecte
24、d until the next browser request issued. </p><p> ADO.NET Another innovation is the introduction of a data set (Dataset). A data set is the relationship between memory map to provide high-speed data buffer.
25、 Data set of data sources know that they can be adopted by the program or transferred from the data warehouse data were generated, to fill. Regardless of where the data acquisition, data sets are the same procedure throu
26、gh the use of templates to be operated, and it's potential to use the same data buffer.</p><p> 2 Systems Functional Designs</p><p> 2.1 Systems Function Structures</p><p> T
27、he news management system in Windows 2000 Server operating system platforms, Web server IIS, the database server for Microsoft SQL Server2000, development tools used in Microsoft Visual Studio. NET and DreamWeaver. Its w
28、ork processes as follows: the user login through the authority to determine the general user can only browse, read and query information, registered users can be completed in addition to the ordinary user, but also can e
29、nter information for news management module input, modify, </p><p> 2.2 Systems Function Characteristics</p><p> (1) Simple, user-friendly: complete control of page layout, making information
30、easier entry work; many options including news categories, such as the source of departments only need to click the mouse can be completed; In addition, the follow-up message also appears allow users to clear their own o
31、perations. </p><p> (2) Can be seen immediately: the handling of the press (including the entry, modify, delete) will be the corresponding column on the home page is displayed to "immediate release, im
32、mediate results" function. </p><p> (3) Function: include common site in all aspects of information management: information input, browse, delete, modify, search and other aspects, the full realization
33、 of the Web site of the real-time information management requirements. </p><p> (4) To facilitate transplantation: for different enterprises, with some slight modifications need to be able to develop for th
34、e company's Web site features news management system.</p><p> 3 Systems Detailed Designs</p><p> Core functions of the system through a number of functional modules achieved. Specific desi
35、gn process is as follows: </p><p> ?、?System login: The module responsible for the user are divided into general users and registered users to achieve the management of user rights. </p><p> (2
36、) News View: The module is responsible for all the news page web site lists information, including the title, type, source and date field departments, and each title has been made news a hyperlink, click the page they wi
37、ll be able to Jump news reader. </p><p> (3) News reader: in other pages or click the title link to read into the news pages, at this time, detailed information of each information will be removed, includin
38、g the content, title, keywords, and relatively fixed in accordance with the format placed in different pages region, the use of all the news about the same page layout, only the contents of the field corresponding to dif
39、ferent In addition, the location of other pages can be dynamically placed in other components, such as web site log</p><p> (4) News Inquiry: The module provides a press inquiry, type to be selected to find
40、 the content and classification of information can quickly find the information in line with the conditions and results output. </p><p> (5) News Management: The module listed in the registry is responsible
41、 for the registration page the user has issued a news and information and did not delete, the user can press to delete the article, modify. In addition to non-news publisher is not outside the system administrator has th
42、e authority to deal with information which, so different users access to this page will display different content. </p><p> (6) News entry and modification: a press registered users need to input the conten
43、t, including title, keyword, type, source of departments, such as release date, at the same time from the login module to be user name, this information will be saved into the database. The module is also responsible for
44、 editing the updated state, then, it will light the Title field values on the page to initialize the control.</p><p> asp的網(wǎng)站新聞管理系統(tǒng)的設(shè)計(jì)與實(shí)現(xiàn)</p><p><b> 摘要</b></p><p> 利用A
45、SP和SQL技術(shù)開(kāi)發(fā)的網(wǎng)站新聞管理系統(tǒng),實(shí)現(xiàn)了網(wǎng)站新聞的動(dòng)態(tài)管理,使得對(duì)信息的管理更加及時(shí)、高效,提高了工作效率。同時(shí)對(duì)系統(tǒng)的開(kāi)發(fā)原理、系統(tǒng)的功能特點(diǎn)和設(shè)計(jì)方案進(jìn)行了介紹。</p><p> 【關(guān)鍵詞】ASP,SQL,新聞管理,數(shù)據(jù)庫(kù)</p><p> 隨著Internet的普及,越來(lái)越多的企業(yè)建立了自己的WWW網(wǎng)站,企業(yè)通過(guò)網(wǎng)站可以展示產(chǎn)品,發(fā)布最新動(dòng)態(tài),與用戶進(jìn)行交流和溝通,與合作
46、伙伴建立聯(lián)系,以及開(kāi)展電子商務(wù)等。其中新聞管理系統(tǒng)是構(gòu)成企業(yè)網(wǎng)站的一個(gè)重要組成部分,它擔(dān)負(fù)著雙層作用,一方面可以用來(lái)動(dòng)態(tài)發(fā)布有關(guān)新產(chǎn)品或新開(kāi)發(fā)項(xiàng)目,另一方面又可以及時(shí)向顧客公告企業(yè)經(jīng)營(yíng)業(yè)績(jī)、技術(shù)與研發(fā)進(jìn)展、特別推薦或優(yōu)惠的工程項(xiàng)目、產(chǎn)品和服務(wù),從而吸引顧客,擴(kuò)大顧客群。</p><p> 傳統(tǒng)的網(wǎng)站新聞管理方式有兩種,一是靜態(tài)HTML頁(yè)面,更新信息時(shí)需要重新制作頁(yè)面然后上傳頁(yè)面并修改相應(yīng)鏈接,這種方式因?yàn)樾侍?/p>
47、低已不多用。二是基于ASP和腳本語(yǔ)言,將動(dòng)態(tài)網(wǎng)頁(yè)和數(shù)據(jù)庫(kù)結(jié)合,通過(guò)應(yīng)用程序來(lái)處理新聞,這是目前較為流行的做法。但是由于ASP本身的局限性使得系統(tǒng)有一些不可克服的缺陷,而采取了ASP.NET技術(shù)的系統(tǒng)性能上有了很大的改善,其主要表現(xiàn)在以下幾方面:</p><p> 1.由于ASP頁(yè)面每次打開(kāi)都必須經(jīng)過(guò)先編譯后解釋的過(guò)程,所以頁(yè)面在反復(fù)打開(kāi)時(shí)速度沒(méi)有任何提升,而ASP.NET頁(yè)面只需要一次編譯后不需要重新編譯,直到
48、該頁(yè)面被修改或Web應(yīng)用程序重新啟動(dòng)。這使得在多次訪問(wèn)時(shí)速度有了極大的提升。</p><p> 2.由于ASP沒(méi)有提供任何輸出數(shù)據(jù)為內(nèi)容的元件,所以在使用ASP撰寫(xiě)數(shù)據(jù)庫(kù)頁(yè)面時(shí)只能借助ADO的Record Set對(duì)象逐筆讀取記錄,而ASP通過(guò)ADO.NET提供的DataGrid等數(shù)據(jù)庫(kù)元件可以直接和數(shù)據(jù)庫(kù)聯(lián)系。</p><p> 3.ASP支持應(yīng)用程序的實(shí)時(shí)更新。管理員不必關(guān)掉網(wǎng)絡(luò)服務(wù)
49、器或者甚至不用停止應(yīng)用程序的運(yùn)行就可以更新應(yīng)用文件。應(yīng)用程序文件永遠(yuǎn)不會(huì)被加鎖,因此甚至在程序運(yùn)行時(shí)文件就可以被覆蓋。當(dāng)文件更新后,系統(tǒng)會(huì)溫和地轉(zhuǎn)換到新的版本。</p><p> 4.ASP采取"code-behind"方式編寫(xiě)代碼使得代碼更易于編寫(xiě),結(jié)構(gòu)更清晰,降低了系統(tǒng)的開(kāi)發(fā)與維護(hù)的復(fù)雜度和費(fèi)用。</p><p><b> 1系統(tǒng)的開(kāi)發(fā)原理</b
50、></p><p> 1.1 基于ASP技術(shù)的系統(tǒng)結(jié)構(gòu)模型</p><p> ASP結(jié)構(gòu)是一個(gè)三層系統(tǒng):UI層、業(yè)務(wù)邏輯層和數(shù)據(jù)層。</p><p> UI層負(fù)責(zé)與用戶交互,接收用戶的輸入并將服務(wù)器端傳來(lái)的數(shù)據(jù)呈現(xiàn)給客戶。</p><p> 業(yè)務(wù)邏輯層負(fù)責(zé)接收瀏覽器傳來(lái)的請(qǐng)求并將請(qǐng)求傳給數(shù)據(jù)層,同時(shí)將請(qǐng)求處理結(jié)果發(fā)給瀏覽器。它由
51、Web表單、XML Web服務(wù)和組件服務(wù)組成。其中Web表單是ASP.NET應(yīng)用程序的核心所在,它是向客戶呈現(xiàn)數(shù)據(jù)和信息的基礎(chǔ),也是響應(yīng)和處理客戶與顯示的Web表單交互生成的信息和數(shù)據(jù)的基礎(chǔ)。</p><p> 數(shù)據(jù)層是通過(guò)ADO.NET操縱數(shù)據(jù)為事務(wù)邏輯層提供數(shù)據(jù)服務(wù),如存儲(chǔ)數(shù)據(jù)操作結(jié)果、返回?cái)?shù)據(jù)檢索結(jié)果等。</p><p> 1.2 ADO.NET訪問(wèn)數(shù)據(jù)庫(kù)的原理</p>
52、;<p> 與數(shù)據(jù)庫(kù)相連,ADO.NET提供了如下3種方式:通過(guò)ODBC相連;通過(guò)OLEDB相連;直接與SQL Server相連。3種方式由于應(yīng)用層次的差異,使得效率由低到高,獨(dú)立性由高到低。對(duì)于相連數(shù)據(jù)庫(kù)的數(shù)據(jù)處理,也有2種方式,即一種是通過(guò)Dataset來(lái)隔離異構(gòu)的數(shù)據(jù)源,另一種是以流方式從數(shù)據(jù)源讀取(Data Reader方式)。</p><p> 傳統(tǒng)的應(yīng)用程序是通過(guò)先建立到數(shù)據(jù)庫(kù)的連接
53、,在程序的整個(gè)運(yùn)行過(guò)程中維護(hù)連接的方式來(lái)設(shè)計(jì)的。ASP.NET采取了斷開(kāi)連接方式的數(shù)據(jù)結(jié)構(gòu)。當(dāng)瀏覽器向Web服務(wù)器請(qǐng)求網(wǎng)頁(yè)時(shí),服務(wù)器處理這個(gè)請(qǐng)求,并將所請(qǐng)求的網(wǎng)頁(yè)發(fā)送給瀏覽器,然后連接就被斷開(kāi),直到瀏覽器發(fā)出下一個(gè)請(qǐng)求。</p><p> ADO.NET的另一個(gè)創(chuàng)新是引入了數(shù)據(jù)集(Dataset)。一個(gè)數(shù)據(jù)集是內(nèi)存中提供數(shù)據(jù)關(guān)系圖的高速緩沖區(qū)。數(shù)據(jù)集對(duì)數(shù)據(jù)源一無(wú)所知,它們可以由程序或通過(guò)從數(shù)據(jù)倉(cāng)庫(kù)中調(diào)入數(shù)據(jù)而被
54、生成、填充。不論數(shù)據(jù)從何處獲取,數(shù)據(jù)集都是通過(guò)使用同樣的程序模板而被操作的,并且它使用相同的潛在的數(shù)據(jù)緩沖區(qū)。</p><p><b> 2 系統(tǒng)的功能設(shè)計(jì)</b></p><p> 2.1 系統(tǒng)的功能結(jié)構(gòu)</p><p> 該新聞管理系統(tǒng)可以在Windows 2000 Server操作系統(tǒng)平臺(tái)上運(yùn)行,Web服務(wù)器為IIS,數(shù)據(jù)庫(kù)服務(wù)器為
55、Microsoft SQL Server2000,開(kāi)發(fā)工具采用的Microsoft Visual Studio .NET和DreamWeaver。其工作流程為:用戶登錄通過(guò)權(quán)限判斷,普通用戶只能瀏覽、閱讀和查詢新聞,注冊(cè)用戶除了可以完成普通用戶的操作外,還可以進(jìn)入新聞管理模塊進(jìn)行新聞錄入、修改和刪除的操作。注冊(cè)用戶除系統(tǒng)管理員外只能對(duì)自己錄入的新聞進(jìn)行刪改操作。</p><p> 2.2 系統(tǒng)的功能特點(diǎn)<
56、/p><p> ?。?)操作簡(jiǎn)單、界面友好:完全控件式的頁(yè)面布局,使得新聞的錄入工作更簡(jiǎn)便;許多選項(xiàng)包括新聞?lì)悇e、來(lái)源部門等只需要點(diǎn)擊鼠標(biāo)就可以完成;另外,跟蹤出現(xiàn)的提示信息也讓用戶隨時(shí)清楚自己的操作情況。</p><p> ?。?)即時(shí)可見(jiàn):對(duì)新聞的處理(包括錄入、修改、刪除)將立即在主頁(yè)的對(duì)應(yīng)欄目顯示出來(lái),達(dá)到“即時(shí)發(fā)布、即時(shí)見(jiàn)效”的功能。</p><p> (3
57、)功能完善:包括常見(jiàn)網(wǎng)站的新聞管理的各個(gè)方面:新聞錄入、瀏覽、刪除、修改、檢索等各個(gè)方面,完整地實(shí)現(xiàn)了網(wǎng)站對(duì)即時(shí)新聞的管理要求。</p><p> (4)方便移植:針對(duì)不同的企業(yè),只需要稍作修改就可以開(kāi)發(fā)出適合本企業(yè)特點(diǎn)的網(wǎng)站新聞管理系統(tǒng)。 </p><p><b> 3 系統(tǒng)的詳細(xì)設(shè)計(jì)</b></p><p> 系統(tǒng)的主要功能是通過(guò)幾個(gè)
58、功能模塊來(lái)實(shí)現(xiàn)的。具體的設(shè)計(jì)過(guò)程如下:</p><p> (1)系統(tǒng)登錄:該模塊負(fù)責(zé)將用戶分為普通用戶和注冊(cè)用戶來(lái)實(shí)現(xiàn)用戶權(quán)限的管理。</p><p> ?。?)新聞瀏覽:該模塊負(fù)責(zé)分頁(yè)列出網(wǎng)站所有新聞的信息,包括標(biāo)題、類型、來(lái)源部門字段及發(fā)布日期,每條新聞的標(biāo)題被做成一個(gè)超鏈接,點(diǎn)擊它們就能跳轉(zhuǎn)頁(yè)面進(jìn)行新聞閱讀。 </p><p> ?。?)新聞閱讀:在其他頁(yè)面
59、中點(diǎn)擊標(biāo)題鏈接即進(jìn)入新聞閱讀頁(yè)面,此時(shí),每條新聞的詳細(xì)信息將被取出,包括內(nèi)容、標(biāo)題、關(guān)鍵字等,并按照相對(duì)固定的格式放置在頁(yè)面的不同區(qū)域,所有新聞使用大致相同的頁(yè)面布局,只是各字段對(duì)應(yīng)的內(nèi)容不同而已,另外,頁(yè)面其它位置,可以動(dòng)態(tài)放置其他元件,如網(wǎng)站標(biāo)志logo、頁(yè)面廣告banner等鏈接圖片,這樣可以很容易地實(shí)現(xiàn)圖文并茂的閱讀效果。</p><p> (4)新聞查詢:該模塊提供了新聞查詢功能,輸入待查找的內(nèi)容及選
60、定分類信息可以快速地找到符合條件的新聞,并輸出查詢結(jié)果。</p><p> ?。?)新聞管理:該模塊負(fù)責(zé)分頁(yè)羅列登錄的注冊(cè)用戶曾發(fā)布過(guò)且未刪除的新聞信息,用戶可以對(duì)該條新聞進(jìn)行刪除、修改。非新聞發(fā)布者除系統(tǒng)管理員外不具有對(duì)該條新聞的處理權(quán)限,所以不同用戶進(jìn)入此頁(yè)面將顯示不同的內(nèi)容。</p><p> (6)新聞錄入和修改:注冊(cè)用戶錄入一條新聞所需要的內(nèi)容,包含標(biāo)題、關(guān)鍵字、類型、來(lái)源部門
溫馨提示
- 1. 本站所有資源如無(wú)特殊說(shuō)明,都需要本地電腦安裝OFFICE2007和PDF閱讀器。圖紙軟件為CAD,CAXA,PROE,UG,SolidWorks等.壓縮文件請(qǐng)下載最新的WinRAR軟件解壓。
- 2. 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請(qǐng)聯(lián)系上傳者。文件的所有權(quán)益歸上傳用戶所有。
- 3. 本站RAR壓縮包中若帶圖紙,網(wǎng)頁(yè)內(nèi)容里面會(huì)有圖紙預(yù)覽,若沒(méi)有圖紙預(yù)覽就沒(méi)有圖紙。
- 4. 未經(jīng)權(quán)益所有人同意不得將文件中的內(nèi)容挪作商業(yè)或盈利用途。
- 5. 眾賞文庫(kù)僅提供信息存儲(chǔ)空間,僅對(duì)用戶上傳內(nèi)容的表現(xiàn)方式做保護(hù)處理,對(duì)用戶上傳分享的文檔內(nèi)容本身不做任何修改或編輯,并不能對(duì)任何下載內(nèi)容負(fù)責(zé)。
- 6. 下載文件中如有侵權(quán)或不適當(dāng)內(nèi)容,請(qǐng)與我們聯(lián)系,我們立即糾正。
- 7. 本站不保證下載資源的準(zhǔn)確性、安全性和完整性, 同時(shí)也不承擔(dān)用戶因使用這些下載資源對(duì)自己和他人造成任何形式的傷害或損失。
最新文檔
- 外文翻譯---asp的網(wǎng)站新聞管理系統(tǒng)的設(shè)計(jì)與實(shí)現(xiàn)
- 外文翻譯--asp.net的網(wǎng)站新聞管理系統(tǒng)設(shè)計(jì)與實(shí)現(xiàn) 英文版
- 計(jì)算機(jī)專業(yè)外文翻譯---asp的發(fā)展
- 計(jì)算機(jī)專業(yè)外文翻譯--asp外文翻譯+原文
- 計(jì)算機(jī)專業(yè)asp開(kāi)發(fā)外文翻譯
- 計(jì)算機(jī)信息管理畢業(yè)設(shè)計(jì)基于asp的個(gè)人博客網(wǎng)站的設(shè)計(jì)與實(shí)現(xiàn)
- 基于asp.net的網(wǎng)站新聞管理系統(tǒng)的設(shè)計(jì)與實(shí)現(xiàn)
- 計(jì)算機(jī)類實(shí)驗(yàn)管理系統(tǒng)的設(shè)計(jì)與實(shí)現(xiàn).pdf
- asp.net的網(wǎng)站新聞管理系統(tǒng)設(shè)計(jì)與實(shí)現(xiàn)的探討
- [計(jì)算機(jī)]asp3027基于web的商場(chǎng)管理系統(tǒng)的設(shè)計(jì)與實(shí)現(xiàn)
- 外文翻譯--基于.net的新聞管理網(wǎng)站系統(tǒng)設(shè)計(jì)與實(shí)現(xiàn)
- 計(jì)算機(jī)外文翻譯---基于php和mysql的網(wǎng)站設(shè)計(jì)和實(shí)現(xiàn)
- 計(jì)算機(jī)學(xué)院網(wǎng)站設(shè)計(jì)與實(shí)現(xiàn)
- 計(jì)算機(jī)編程類外文翻譯
- 計(jì)算機(jī)畢業(yè)論文外文翻譯--asp概述
- 計(jì)算機(jī)外文翻譯 ---網(wǎng)站建設(shè)技術(shù)
- 《計(jì)算機(jī)導(dǎo)論》課程網(wǎng)站的設(shè)計(jì)與實(shí)現(xiàn)
- 計(jì)算機(jī)專業(yè)外文翻譯----asp語(yǔ)言知識(shí)介紹
- 計(jì)算機(jī)應(yīng)用畢業(yè)論文-綜合新聞網(wǎng)站的設(shè)計(jì)與實(shí)現(xiàn)
- 計(jì)算機(jī)應(yīng)用畢業(yè)論文-綜合新聞網(wǎng)站的設(shè)計(jì)與實(shí)現(xiàn)
評(píng)論
0/150
提交評(píng)論