机械专业外文文献翻译-外文翻译--ASP--网页制作新方法
英文资料ASP-A New Method to Make Web PagesAbstract: The technology of Active Server Pages ASP) is speeding technology. This paper principle mainly introduced the differences between the technology of ASP and the technology of HTML, the work principle of ASP and its application in-line object. The application of ActiveX technology to ASP,and a conclusion about the characteristics and functions of ASP was drawn. In the end we listed the source program of the technology of ASP applied in actual project for reference.Key Words: ASP, HTML, Web ServerASP is Web Servers script environment, which explains script in Internet and intranet stations Web Server. It can explain and execute every request, which are sent by IE, and then responses and executes active, interactive and high efficient Web Server applied program. In construction any successful and practical station Web, ASP is essential to Web Server.1. ASPS and HTML When it comes to ASP, we have to talk about another language, in which we construction Web Site need: Hyper Meta Text Language, which is short for HTML. HTML usually describes a pages all basic factors in text description language. All content and model shown by page to users are included in a smaller script file. Usually designers use as seen as is compliers such as FrontPage 98, Netscape Gold 3.0 and so on design a page and then upload it to Web Server. After using browser download this script file from Web Server, browser will explain script file into colorful page, which are designed by users, it is enjoyed and read by users automatically. But, a web site only having HTML page is dull. Because users browse this page every time, they see all the same things unless designer refreshes this page. At the same time, as not having interconnected operation with users. Not having interfaced with enough database resource, these web stations content is very single. Although Web applied program written in CGI technology can be changed into active web page, it can only be made with a single data operation, not having interconnection capacity. And has very high and strict request to designers. It needs making a CGI program for every acquirement, its work is very large and its Codes are not all successfully executed. When many users visit a CGI at the same time, it will make some program copy operated in server pot, slowing down server as increasing program, leading to slow down users visiting.Fortunately at present we own ASP, user may make selected browse with much page in Web Station, and design some tables with this page, which are filled in by user then obtain more information about user, If web server and database server interface have connected, then we can see more and newer information .ASP designs active page, it may receive information which is referred by users, and responses quickly. Among them data can changed as actual statement and not need people refresh Web Page by self can satisfy application request. For example when we have filled in table and send HTTP request in IE, it may need Web Server executes an applied program designed by table, not a simple HTML file. This applied program analyzes some inputted data, and get responded results (usually are results set of database searching) based on different data into browse in form of HTML. Data in database is variable any time but the applied programs executed in server need not be changed, web page information obtained by visitor will keep fresh all the same.2. The work principle and configuration ASP In server machine, we may apply an ASP homepage; web server should responses this HTTP request and explains this applied file. When it meets any compatible script with Active X Scripting (for example VBScript and JavaScript), ASP can ask proper script to deal with it. If script instruction includes request of visiting database, it can connect with the behind database by ADOPB and ODBC. It may execute visiting database-by-database visited machine. ASP script is explained and executed in Web Site, it may make proper HTML homepage based on visited database automatically to responses users request. Web Server responsive in all sending and receiving.In practical application, when ASP meets script command of visiting database. it can talk with database ADO (ActiveX Data Objects) and make execute results create a HTML page averted to server pot to response IEs apply. What we can see page in users IE is shown in single HTML, for example, content of behind database expressed in form of table. As ASP combinated with JavaScript and VBScript. it can visit ActiveX component by programming and has the capacity of produced HTML automatically, so it is an efficient way in constructing active web site.In structure, ASP communicated database by ODBC or ADO, so it can be up compatible with much different database system. For down layer, HTML produced by ASP has wide applied for Client IE. But Web server supported by ASP is