资源预览内容
第1页 / 共19页
第2页 / 共19页
第3页 / 共19页
第4页 / 共19页
第5页 / 共19页
第6页 / 共19页
第7页 / 共19页
第8页 / 共19页
第9页 / 共19页
第10页 / 共19页
亲,该文档总共19页,到这儿已超出免费预览范围,如果喜欢就下载吧!
资源描述
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 asp.net. 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). Its 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, asp.net appeared. In the first development, it is the name of the ASP +, but to with Microsoft.net plan, and to show that match the ASP version is not to ASP3.0 complement, Microsoft will its named asp.net. Asp.net 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. Well 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, well 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 wont 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
收藏 下载该资源
网站客服QQ:2055934822
金锄头文库版权所有
经营许可证:蜀ICP备13022795号 | 川公网安备 51140202000112号