计算机科学与技术英文文献.docx
《计算机科学与技术英文文献.docx》由会员分享,可在线阅读,更多相关《计算机科学与技术英文文献.docx(7页珍藏版)》请在冰豆网上搜索。
计算机科学与技术英文文献
文档编制序号:
[KKIDT-LLE0828-LLETD298-POI08]
计算机科学与技术英文文献
《专业英语》期末考试课程论文
微软设计应用
班级:
13级信息管理与信息系统1班
学号:
姓名:
朱敦达
分数:
2015年12月25日
微软设计应用
CGI具有扩充性能和克服的问题的能力,是微软公司开发的一种新的方式开发建设规模的应用。
这就是所谓的替代highperformance互联网服务器应用程式接口(ISAPI)。
代替了housing功能编程档案,利用DLLs代替了复杂的编写程序的过程,同其它软件比较DLLs具有很大的优势,在性能上也有所扩充。
IntroductiontoDevelopment
ToovercometheperformanceandscalabilityproblemsthatCGIbrings,Microsoftdevelopedanewwayfordeveloperstobuildscalableapplications.ThishighperformancealternativeiscalledtheInternetServerApplicationProgrammingInterface(ISAPI).Insteadofhousingfunctionalityinexecutablefiles,ISAPIusesDLLs.UsingDLLsinsteadofexecutableprogramshassomedefiniteperformanceandscalabilityadvantages
ISAPI在功能上有所扩展,它可以向用户提出要求,使单一ISAPI扩展执行多种任务。
就像CGI的例子一样,ISAPI再使用时必须使用目录执行许可认证,或利用DLL下载客户端,而不是直接在服务器上使用,ISAPI扩展通常用来处理用户的要求做出回应,这和使用CGI的方式非常类似。
TheISAPIextensioncouldalsobecalledwithargumentsthatwillallowasingleISAPIextensiontoperformmultipletasks.JustasintheCGIexample,thedirectorymusthaveexecutepermissionsenabled,ortheDLLwillbedownloadedtotheclientratherthanrunontheserver.ISAPIextensionsaretypicallyusedtoprocessclientrequestsandoutputaresponseasHTML,whichisverysimilartothewayCGIprogramsareused.
凡是直接与CGI重复的申请必须经过ISAPI的过滤器。
但是,ISAPI过滤器没有明确的要求,相反,它们被称为tocertain针对IIS的生活事件要求,发展商在任何一种称为ISAPI过滤器的事件发生后,才能提出要求,具体发生事件如下:
1.当服务器发生客户邀请事件时。
2.当客户使用真实服务器时。
3.当服务器从逻辑URL绘制物理URL图形时。
4.在原始数据由客户发送给服务器时。
5.在原始数据由客户发送到服务器,但在服务器程序运行之前时。
6.当信息服务器原数据时。
7.在协议结束时。
ISAPIfiltersperformafunctionthatcan’tbedirectlyduplicatedwithCGIapplications.ISAPIfiltersareneverexplicitlycalled;instead,theyarecalledbyIISinresponsetocertaineventsinthelifeofarequest.ThedevelopercanrequestthatanISAPIfilterbecalledwheneveranyofthefollowingeventsoccur:
1.Whentheserverhaspreprocessedtheclientheaders
2.Whentheserverauthenticatestheclient
3.WhentheserverismappingalogicalURLtoaphysicalURL
4.Beforerawdataissentfromtheclienttotheserver
5.Afterrawdataissentfromtheclienttotheserverbutbeforetheserverprocessesit
6.Whentheserverlogsinformation
7.Whenthesessionisending
作为过滤器,ISAPI过滤器只通知要求,然后服务器就会尽快处理要求。
其中较常见的是给用户提供认证功能。
另一个是使用HTML修改文本,然后服务器会自动将其送交给客户端。
举个例子,可以用ISAPI过滤器的背景颜色来改变每一个页面的颜色,这是由于ISAPI过滤器几乎是共同的ISAPI扩展,但是由于本文的篇幅有限,所以,我们不能在这本书中进一步介绍它,如果你想了解更多的关于ISAPI扩展方面的知识,你可以看看我的书的服务器应用这一章节的内容,ISAPI几个具体的起点职务,必须由DLL输出,同时利用这些切入点,IIS可以负荷的DLL,功能要求它执行,在经过必要的参数,接收数据和写回浏览器。
ISAPI只需两起实施这些功能点切入点。
Aswithanyfilter,ISAPIfiltersshouldrequestonlythenotificationsitrequiresandprocessthemasquicklyaspossible.OneofthemorecommonusesofISAPIfiltersistoprovidecustomauthentication.AnotheruseistomodifytheHTMLthatwillbesenttotheclient.Forexample,anISAPIfiltercouldbeusedtochangethebackgroundcolorofeachpage.BecauseISAPIfiltersaren’tnearlyascommonasISAPIextensions,Iwon’tcoverthemanyfurtherinthisbook.IfyouwanttolearnmoreaboutISAPIextensions,youcancheckoutmybookInsideServer-BasedApplications(MicrosoftPress,1999).ISAPIspecifiesseveralentry-pointfunctionsthatmustbeexportedfromtheDLL.Usingtheseentrypoints,IIScanloadtheDLL;callthefunctionsthatitimplements,passinginparametersasrequired;andreceivethedatatowritebacktothebrowser.ISAPIrequiresonlytwoentry-pointfunctionstobeimplementedtheseentrypoints,IIScanloadtheDLL;callthefunctionsthatitimplements,passinginparametersasrequired;andreceivethedatatowritebacktothebrowser.ISAPIrequiresonlytwoentry-pointfunctionstobeimplemented
一个更好的方法:
动态页面。
如果你想知道我们为什么要编注一本关于在程序应用的书,那么我们就会告诉你,其实它的答案在于执行的具体细节及其前身,动态页面(ASP)。
在这之前,我们需要了解ISAP与Iadeeper的联系,只有这样才能了解。
ABetterSolution:
ActiveServerPages
Ifyou’rewonderingwhywe’vedweltonthealternativestoinabookaboutprogramming,theanswerliesinthedetailsoftheimplementationofanditspredecessor,ActiveServerPages(ASP).UnderstandingISAPIisrequiredforadeptunderstandingofASPandthus.
是的一部分,微软推出新技术的最初代号为"Denali"这是在微软的"主动"期间,现在,这项技术终于正式命名为动态页面技术,或者叫做ASP。
它的前几个版本已出版,其中最重要的版本,包括选择包和协议)、Windows2000和协议)。
对于这次讨论的目的,首先,我们要把ASP作为一个整体来看待,而不要想它的不同版本。
DuringthebetaofIIS,whichbecamepartofWindowsNT,Microsoftintroducedanewtechnologyinitiallycodenamed“Denali.”ThiswasduringMicrosoft’s“Active”periodandsothetechnologywaseventuallynamedActiveServerPages,orASP.Severalversionsofhavebeenreleased,mostnotablytheversionsincludedwithWindowsNTOptionPack(ASPandIISandWindows2000(ASPandIIS.Forthepurposesofthisdiscussion,I’llconsiderASPasawhole,withoutreferringtoversiondifferences
ASP在很短的时间内成为了一个协议,这在很大程度上是因为它把一些非常困难的问题(动态网页内容创造)变得比较容易。
创造CGI应用和ISAPI应用是一件非常困难的事情,但是程序员利用ASP进行编程却变得非常容易,ASP利用VB.NET开发.几百万个程序开发人