版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领
文档简介
1、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 tediou
2、s, 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
3、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
4、 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
5、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
6、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 f
7、ront 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 stor
8、e 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) usi
9、ng 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 fro
10、m 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 featu
11、resASP 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
12、 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,
13、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
14、-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 a
15、ccess 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
16、 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
17、 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 t
18、o 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 rea
19、l-time interpretation process, but a program in the servers 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, in
20、formation 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 languag
21、e 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 majo
22、r 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
23、#.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 appli
24、cation 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
25、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 Servi
26、ce) 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
27、 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 r
28、emote 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 contra
29、ct delivery; in the ASP customers 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 ven
30、dors 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 forc
31、e 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 th
32、en 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 i
33、ntegration 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 t
34、echnological 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,
35、 interactive, high-performance WEB service applications. ASP adopts scripting language VBScript (Java script) as ones 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 develo
36、pers 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 J
37、SP 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
38、 site procedures.All three provide in HTML code mixed some code, by the language engine interpretive execution codes 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,
39、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 pr
40、ogram 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 returnva
41、lue 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
42、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 too
43、ls 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 c
44、an 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
45、 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 (esp
46、ecially 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, th
47、is 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 r
48、isk (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 ren
49、amed 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 wr
50、iting ASP and application, and announced that it can use Visual B, c #, Perl and Python language (hind both by ActiveState company developed the communication tools support) to develop. In 2000, the second season, M formally promote strategy, ASP + also logical of renamed
51、, after four years development, the first version of the in January 2002 5 appearance ( Framework 1.0), Scott Guthrie also become , the products manager (so far have developed a number of Microsoft products, like AJAX and Microsoft Silverlight). At present the latest ve
52、rsion of 4.0 Framework 4.0 is still in development.ASP.net architecture Is can use Microsoft (R) companys latest product Visual development environment of development, WYSIWYG (copy Is split pains Get What You See Is pains, and copy for income) editors. These are only asp.
53、net powerful software support a small part of the change. Because is based on the common language of compiler operation of the procedure, so its strong sex and adaptability, can make it runs on the Web application software developers almost entirely on the platform of the (the author so far
54、only know it can only be used on Windows 2000/2003 Server/VISTA / 7). 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
55、 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 # (c + + and Java combination), VB, Jscript, c + +, F+. In the future, such a variety of program language collaborative working ability to protect your present
56、 based on COM + development program, can complete transplant to . A generally fall into two kind of development language, using the and c #, c # relatively common, because it is unique language, using the VB programming is used, suitable for VB programmers, if befo
57、re new , no other development experience with language, suggest direct study c # can. A using a character basis, classification of the allocation system, make your server environment and application Settings more simple. Because configuration information is stored on simple text, ne
58、w Settings may need not start local administrator tools can be achieved. Known as the Zero Local under the philosophy that application development based on the more specific, and quick. An application in a server system installation simply copy some must file, do not need system rebo
59、ot, everything is so simple. Multiprocessor environment reliability has been deliberately designed as a can be used for multiprocessor development tool, it on a multiprocessor environment with special seamless connection technology, will greatly increase speed. Even if you now my application software is developed for one processor, future multiprocessor runtime dont need any change can improve their efficiency, but now the ASP but cannot do this. Custom sex and expansibil
温馨提示
- 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
- 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
- 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
- 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
- 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
- 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
- 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
最新文档
- 国泰君安期货2026届金衍新星SSP招募备考题库含答案详解(a卷)
- 2026山东出版集团有限公司招聘193人备考题库含完整答案详解【全优】
- 2026广东中山板芙镇社区卫生服务中心招聘见习人员3人备考题库附参考答案详解(研优卷)
- 道路桥梁施工安全管理方案
- 2026西南石油大学南充校区安全与后勤保障部招聘2名临时聘用员工备考题库(四川)含完整答案详解(考点梳理)
- 2026黑龙江齐齐哈尔市克东县公益性岗位人员招聘60人备考题库及完整答案详解(考点梳理)
- 2026浙江丽水市第二人民医院第一批引进高层次人才14人备考题库及完整答案详解(夺冠系列)
- 2026贵州红星电子材料有限公司招聘6人备考题库附完整答案详解【有一套】
- 施工现场人员技能竞赛组织方案
- 2026北京化工大学巴黎居里工程师学院物理实验助理招聘1人备考题库含答案详解【巩固】
- 医疗器械风险管理标准培训
- 冲压工艺与冲模设计
- 生物药物分析所有课件便于打印
- 市场监督管理行政处罚程序规定解读
- 函数的零点与方程的解(说课课件)
- GB/T 29061-2012建筑玻璃用功能膜
- GB/T 10128-2007金属材料室温扭转试验方法
- FZ/T 94005-1991刚性剑杆织机
- 无机材料工艺学-陶瓷2-原料
- 安全阀培训-课件
- 海洋生态学课件一
评论
0/150
提交评论