计算机英文文献(共11页).doc
精选优质文档-倾情为你奉上ASP introduction From 1996 ASP birth to now past 15 years. In the short of 15 years, ASP there are major changes, until now the . The first edition of asp is 0.9 beta, since 1996, it gives birth ASP1.0 Web development bounded brought good news. Early Web application development is very tedious, that should make a simple dynamic pages need to write a lot of C code to complete this for ordinary programmer is a little too difficult. An ASP but allows the use of this simple scripting language additionally, write the code embedded in HTML pages. In programming use its internal components to achieve some advanced functions such as Cookie). It's the biggest contribution lies in its ADO (ActiveX Data Object), this component makes the program of the database operation is very simple, so the dynamic web design also becomes a easy. Therefore overnight, Web design program is no longer imagined arduous tasks, as many people can do their stuff. In 1998, Microsoft to release the ASP 2.0. It is part of the Pack Windows NT4 Option, as IIS 4.0 of module.in accessories. It with ASP 1.0 are the main difference between its external components can be initialized, so that in the ASP program of all internal components have independent memory space, and available for the transaction. By 2000, with the Windows 2000 success release, the operating system IIS 5.0 ach incident ASP 3.0 also begins popularity. Compared with ASP 2.0, ASP 3.0 advantage lies in it USES the COM +, hence its effectiveness is better than its front version, and more stable. In 2001, appeared. In the first development, it is the name of the ASP +, but to with M plan, and to show that match the ASP version is not to ASP3.0 complement, Microsoft will its named . A on the structure and in front of the version is widely divergent, it almost entirely based on the components and modular, Web applications developers use this development environment can realize more modular, more powerful application.As web developers, our lives revolve around working with data. We create databases to store the data, code to retrieve and modify it, and web pages to collect and summarize it. This is the first tutorial in a lengthy series that will explore techniques for implementing these common patterns in ASP. We'll start with creating a software architecture composed of a Data Access Layer (DAL) using Typed DataSets, a Business Logic Layer (BLL) that enforces custom business rules, and a presentation layer composed of ASP pages that share a common page layout. Once this backend groundwork has been laid, we'll move into reporting, showing how to display, summarize, collect, and validate data from a web application. These tutorials are geared to be concise and provide step-by-step instructions with plenty of screen shots to walk you through the process visually. Each tutorial is available in C# and Visual Basic versions and includes a download of the complete code used. First,ASP page featuresASP is a server-side scripting compile environment, can be used to create and run dynamic Web pages or Web applications. ASP page can contain text, HTML tags, common script commands and COM components, etc. Using ASP page can be added to the interactive content (such as online forms) and can also create using HTML page as the user interface of web applications. Compared with HTML, ASP page has the following features:Using ASP can realize breakthrough static HTML pages of some functions limit to realize a dynamic web technology,The ASP file is contained in the HTML code consisting of files, easy to modify and testing;On the server ASP explain procedures will be executed on the server ASP program, and will result in HTML format teleport to the client browser, so using various browsers can browse ASP produced a web page,ASP provides some built-in object, use these objects can make server-side scripting function stronger. For instance can extract from the web browser user through HTML form information submitted, and in a script for the information processing, and then to the web browser to send information,ASP server ActiveX components can be used to perform various tasks, such as access database, send Email or access the file system, etc.As the server is the result of ASP program execution in HTML back to the client browser, therefore users won't see ASP written by the original program code, can prevent ASP program code being stolen. and(7) convenient connection ACCESS and SQL database(8) the development needs a lot of experience, otherwise you will set aside loophole, let hackers using for injection attack. ASP are not limited to the WEB site with HTML combining production, but also can be combined with the XHTML and WML language production WAP mobile WEB sites. But its principle is the same.Second, ASP - working principleWhen in Web sites into ASP function, will occur the following things:1, user browser address bar to input the website, the default page extensions is. Asp.2, request to the server browser.3, server engine starts running ASP program.4, according to the ASP file from top to bottom, execute the order began to treat scripting commands, executive HTML page content.5, page information sent to the browser.Third, ASP upgrade platform: Operation features. 1.A is based on the common language program in the server. Unlike previous ASP real-time interpretation process, but a program in the server's first run compile, executive effect, than a a explanation much better, executive efficiency greatly enhanced. A can run in the Web application of software developers almost all of the platform. The common language of basic library, information mechanism, data interface treatment can seamlessly integrate into the Web applications. A is also independent language language - feasibility of, so, you can choose a kind of the most suitable for your language to write your program, or put your program in a number of language to write, now support with c #, , Jscript, managedC+, J#. In the future, such a variety of program language collaborative working ability to protect your present based on COM + development program, can complete transplant to .Codetemplate language 2.A commonly there are two major kinds of developing language, using the and c #, c # relative is more commonly used, because it is unique language, using the VB programming is used, suitable for VB programmers, if before new , no other development experience with language, suggest direct study c #.Four, ASP meaning and characteristics1. The ASP five core connotationASP (Application Service Provider, application software leasing service provider) that is "through the network to provide application software services means of leasing the practitioners", which refers to the operator for the application of software as the main body, through a network to transfer service, this mainly services trade mode can promote the enterprise by leasing the way to more cost-effective manner with software, and can also use because providers centralized management and dramatically reduce enterprise cost of maintenance. Basically, ASP as a "software Service, Service network", "Information outsourcing Service and network combination" and "product pathways of three main productization, distribution characteristics, their can even regarded as ISP (InternetService Provider) and ITS (Information Technology Service) combination. According to the prevailing opinion, ASP has the following five core connotation:A. ASP application for the center to provide emphatically for application of access and management.B. ASP service can provide users with no in the server, personnel, systems and system authorization for the resource inputs they can be in "customize" new application system environment access services, such as ISP, and such services are generally press month ASP service fee.C. ASP adopts a centralized management means - ASP generally has a management center, all the customers through the INTERNET to remote access, obtain a technical support and consultation services.D. a service, also is to speak, ASP provided is standardized products bag, the products are minimal custom or no customized for clients achieve industry users speaking has reached practical convenient standards.E. according to contract delivery; in the ASP customer's eyes, ASP is one according to the customer agreement to provide relevant service, guaranteed that the application service system service can get really fulfil institution.2. ASP stage of development and the problems facedWith Internet service providers, software vendors and the ISP as its main character, IT is various according to their own advantages based on ASP in various fields of trying. Current stage speaking, ASP services provided by countless multifarious, no standardization and quantification, the concept of hardware manufacturers to ASP "soil" and force direction draws close, software vendors and the ISP is directly involved in the ASP business front line. The author estimates, after a period of trial and development, ASP will provide service integration development, product and service preliminary standardization will soon be established, and then into the market thinning and standards, ASP product mature period, ASP steadily, and will eventually become the IT industry business model core! At present in the ASP the road of development, main are faced with the problem that the changes of ideas aspects: use lease instead of buying, service integration instead of product distributors and service economy instead of product economy and so on. Specific to the actual regard, safety and quality of service is ASP and client priority of common concern, to realize the ASP puts forward "lease high-tech" slogan, ASP go15!Five, PHP, ASP, JSP three technological comparisonIn popular before, the most commonly used three dynamic web language has ASP (web), Active Server (JSP JavaServer web), PHP (Hypertext Preprocessor). ASP full name, is a WEB Server Active WEB Server development environment, use it can produce and implement dynamically, interactive, high-performance WEB service applications. ASP adopts scripting language VBScript (Java script) as one's own development language. PHP is a cross-platform server embedded scripting language. It largely use C, Java and Perl language syntax, and coupling PHP own character, make WEB developers to write quickly dynamic generate a page. It supports at present, most database. There is little that PHP is a completely free, no money, you can from PHP official site. Free download. And you can get no restrictions to the source code, even can add your own needs from the characteristic. The JSP is launched from the new generation of website development language, from his in Java from the uncommon attainments, will Java from Java applications and JavaApplet outside, and new achievements, is the JSP, Java ServerPage. The JSP can JavaBean Servlet and, under the support of complete powerful site procedures.All three provide in HTML code mixed some code, by the language engine interpretive execution code's ability. But JSP code has been compiled into Java virtual machine by Servlet and interpretive execution, the compiler operation is only on the JSP page first request happen. The ASP, PHP, JSP environment, HTML code is mainly responsible for describe information display, and program code is used to describe handling logic. Normal HTML page only depends on the Web server and the ASP, PHP, the JSP page need additional language engine analysis and implementation program code. The program code to be executing embedded into HTML code, then the message to all browsers. ASP, PHP, JSP were three facing Web server technology, the client browser does not need any additional software support.Six, ASP common divdefined functionsASP commonly used in ASP built-in functions, belt returnvalue such a piece of code is called function. For example by writing a piece of code to compute a natural number is prime, and returned to the calling program, due to the calling program need to know whether the natural number, so we must primeness to return a value.Appendix: profile:A predecessor ASP technology, is the first launched in IIS 2.0 (Windows NT 3.51), was introduced, together with ADO 1.0 in IIS 3.0 (Windows NT 4.0) carry forward, become the server application of hot development tools, Microsoft also specifically for it custom-made2 the Visual InterDev development tools in 1994 to 2000 between, ASP technology has become Microsoft Windows NT 4.0 platform promote one of the key technology, tens of thousands of ASP website is also the time to start have mushroomed like appear on the Internet. Because of its simple and the height of customized ability, but also it can quickly channeling up one reason. But the ASP shortcomings gradually emerged: pasta type program development method, let the difficulty to maintain improve a lot, especially large ASP application. Literal translation type VBScript or JScript language, let a little limited effectiveness. Ductility because of its infrastructure expansion of shortcomings and limited, although a COM components can be used, but develop some special function (like file upload), not from the built-in support, to seek third party software development of components. In 1997, Microsoft has started for ASP faults (especially pasta type program development method) ready to start a new project development, when the main leaders of st1 Guthrie just from duke university graduation, he and IIS team Mark Anders manager work together two months is developed, and the next generation ASP technology prototypes, this archetype in 1997 at Christmas were developed, and give a name: XSP, this product USES the prototype is Java language. But it was immediately into was still in development of CLR platform, Scott Guthrie afterwards also think this technology was transplanted to the CLR platform, are really great risk (huge), but was associated with the CLR team XSP is development application of the first team. In order to make XSP transplanted into the CLR, XSP team will XSP kernel programs written entirely in c # again on internal Project (code is "Cool", but was bought in public is confidential), and was renamed as ASP technology, ASP and linguistically, and it will provide a simple transfer method for ASP developers. Beta version of ASP + first and applications in PDC 2000 appearances, by Bill Gates Keynote speaker (namely the key technology overview of the), Fujitsu display by using COBOL language writing ASP and application, and announced that it can use Visual B, c #, Perl and Python language (hind both by ActiveState company developed the communication tool