系 ： 数理与信息系
专 业： 计算机科学与技术
年 级： 2005级
指导教师： 袁 燕
学 号： 051005133 The Design and Implementation of ASP Web Site News Management Systems
The use of ASP and 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 development of systems theory, systems and design features are introduced.
[Key word] ASP，SQL，news management，database
With the popularization of Internet, more and more companies 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. Information 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, the timely notice to their customers business performance, Progress in technology and research and development, in particular, recommend or preferential projects, products and services to attract customers, expand customer base.
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 efficiency 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 popular. However, due to the limitations of ASP allows the system itself, there are some insurmountable flaws, and ASP.NET technology has taken on the system performance has been greatly improved, the main performance in the following aspects:
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 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 greatly improved.
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, while the ASP provided through the DataGrid, such as ADO.NET database and database components can be directly Contact.
3. ASP support real-time application updates. Administrators do not have to turn 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. When the document is updated, the system will convert to the new moderate version.
4. ASP take the "code-behind" approach to the preparation of the code makes the code easier to prepare, structure more clearly, reducing the system development and maintenance of the complexity and the cost of.
1 System Development Principle
1.1 The System Architecture Model of ASP-based Technology
ASP is a three-tier system structure: UI Layer, Business Logic Tier and data layer.
UI layer is responsible for interaction with the user, receiving user input and server-side data from present to clients.
Business Logic Tier is responsible for receiving requests from browser requests to the data layers and at the same time the results of the request 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 well as to respond to and deal with customers and display interactive Web form generate