计算机科学与技术英文文献文档格式.docx

上传人:b****6 文档编号:16734733 上传时间:2022-11-25 格式:DOCX 页数:7 大小:22.86KB
下载 相关 举报
计算机科学与技术英文文献文档格式.docx_第1页
第1页 / 共7页
计算机科学与技术英文文献文档格式.docx_第2页
第2页 / 共7页
计算机科学与技术英文文献文档格式.docx_第3页
第3页 / 共7页
计算机科学与技术英文文献文档格式.docx_第4页
第4页 / 共7页
计算机科学与技术英文文献文档格式.docx_第5页
第5页 / 共7页
点击查看更多>>
下载资源
资源描述

计算机科学与技术英文文献文档格式.docx

《计算机科学与技术英文文献文档格式.docx》由会员分享,可在线阅读,更多相关《计算机科学与技术英文文献文档格式.docx(7页珍藏版)》请在冰豆网上搜索。

计算机科学与技术英文文献文档格式.docx

这就是所谓的替代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;

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开发.几百万个程序开发人员多多少少有点熟悉VisualBasic、VisualBasic应用(VBA)或VBScript。

正是有了这些发展,ASP成为进入网络时代的一个基本标志。

当然程序开发人员本可以学习新的编程语言,他们都没有出色.部分原因是它源于VBScript,用ASP去建立网络应用成为可行的方法。

becameaninstanthit,inlargepartbecauseitmadesomethingthatwasdifficult(createdynamicWebcontent)relativelyeasy.CreatingCGIapplicationsandISAPIapplicationswasn’tterriblydifficult,butusingASPwasmuchsimplerBydefault,ASPusesVBScript.LiterallymillionsofdevelopersareatleastsomewhatfamiliarwithVisualBasic,VisualBasicforApplications(VBA),orVBScript.Forthesedevelopers,ASPwasthewaytoentertheInternetage.Certainlythedeveloperscouldhavelearnedanewprogramminglanguage,buttheydidn’thavetowithASP.PartlybecauseofitsuseofVBScript,ASPbecameaviablewaytobuildWebapplications.

同样重要的是通过微软启动Objects(ADO)可以比较容易获得数据库资料。

当程序开发人员需要产生动态内容,动态内容显然是需要来自某处,而使用ADO可以使访问数据库变得容易。

JustasimportantwastherelativelyeasyaccesstodatabasesallowedthroughMicrosoftActiveXDataObjects(ADO).Whenyouneedtogeneratedynamiccontent,thatdynamiccontentobviouslyneedstocomefromsomewhere,andADOmadeiteasytogetatthatdata.

最后,也许最重要的是,的发展模式允许程序开发人员只简单的写代码并能运行.无需进行详细设置步骤,或编译。

的程序开发人员需要认真掌握这一发展模式,即使情形有点不同。

Finally,andperhapsmostimportant,thedevelopmentmodelalloweddeveloperstoessentiallywritecodeandrunit.Therewasnoneedtoperformcompilationorelaborateinstallationsteps.thearchitectswerecarefultocapturethissamedevelopmentmodel,eventhoughwhat’sgoingonunderthecoversisquiteabitdifferent.

的最新使用办法。

版本和Windows2000几乎是在同一时间发布的,它的发布使人们清楚地看到了与开发未来网站密切相关的软件。

微软推出新版本保留协议和发展模式深受广大用户的喜爱。

同时程序开发人员可以把创造的用户和密码正确的添加得到许可目录,而且还引进创新思想,使程序开发人员更容易分离其内容和应用。

ANewSolution:

WhenversionofwasreleasedalongwithWindows2000,itbecameclearerthatthefutureofsoftwaredevelopmentwascloselytiedtothefutureoftheWeb.Aspartofits.NETinitiative,Microsofthasintroduced,anewversionofASPthatretainsthemodelofdevelopmentASPdevelopershavecometoknowandlove:

youcancreatethecodeandplaceitinthecorrectdirectorywiththeproperpermissions,anditwilljustwork.alsointroducesinnovationsthatalloweasierseparationofthedevelopmentofthecoreofanapplicationanditspresentation.

添加了很多很多的特点,并且提高了很多能力;

它实在是一个全新的产品,虽然新产品的设计与开发经验,使这一协议得到了发展.有一些明显的特点:

网架构:

网是一个框架结构,便于网络设计和传统应用。

.NETFramework:

The.NETFrameworkisanarchitecturethatmakesiteasiertodesignWebandtraditionalapplications.

通用语言runtime:

Runtime提供一套服务给所有的。

如果你是一个想把ASPscripting和COMobjects相结合的程序设计员,你会体会到穿梭多种编程语言的乐趣。

Commonlanguageruntime:

Thecommonlanguageruntimeprovidesasetofservicesforalllanguages.Ifyou’reanASPdeveloperwhohashadtocombineASPscriptingwithCOMobjects,you’llappreciatethebeautyofacommonsetoftypesacrossmanylanguages.

汇编语言:

提供了更高性能的汇编语言。

汇编语言允许开发者验证至少语法是正确的代码,ASP不提供任何这类帮助,所以语法错误可能不是那么简单被察觉,直到第一次执行代码。

Compiledlanguages:

providesenhancedperformancethroughtheuseofcompiledlanguages.Compiledlanguagesallowthedevelopertoverifythatcodeisatleastsyntacticallycorrect.ASPdoesn’tprovideanysuchfacility,sosimplesyntaxerrorsmightnotbecaughtuntilthefirsttimethecodeisexecuted.

最新潮的语言VisualBasic:

VisualBasic的最新版提供了一个新的,简洁语法。

C#是仿照C++设计出来的新语言,但一些不安全的特点使c++难以被用来建立可靠应用。

这两种语言都能直接使用,但其他语言都要借助第三方。

到写本文为止,Cobol语言和Eiffel语言应该都能通过VisualStudio.NET实现了。

CoolnewlanguagesVisualBasic:

.NETisacompletelynewversionofVisualBasicthatprovidesanew,cleanersyntax.C#isanewlanguagedesignedtolookandfeelalotlikeC++,butwithoutsomeoftheunsafefeaturesthatmakeC++difficulttousetocreatereliableapplications.Thesetwolanguagesareavailableoutofthebox,butotherlanguageswillbeavailablefromthirdpartiesaswell.Asofthiswriting,COBOLandEiffelimplementationsshouldbeavailableforVisualStudio.NETaswell.

VisualStudio.NET:

VisualStudio.NET是一个新的开发环境,带来了快速应用开发(RAD)服务器。

VisualStudio.NET:

VisualStudio.NETisacoolnewdevelopmentenvironmentthatbringsrapidapplicationdevelopment(RAD)totheserver.

提高部分:

网框架使用新型支持组件,可以方便地在运行中的应用中替换。

Improvedcomponents:

The.NETFrameworksupportstheuseofnewtypesofcomponentsthatcanbeconvenientlyreplacedinarunningapplication.

网站形式:

允许仿照者通过常见HTML部件的事件处理程序一起发展。

WebForms:

WebFormsallowVisualBasic–likedevelopment,witheventhandlersforcommonHTMLwidgets.

XML网络服务:

XML网络服务同意开发者提供服务,以使他们能够获得行业标准协议。

XMLWebservices:

XMLWebservicesenabledeveloperstocreateservicesandthenmakethemavailableusingindustrystandardprotocols.

是一项新技术,它可以使应用更快捷的获得数据库中的数据和其它形式的数据,如:

可扩展标记语言(XML)。

:

ADOforthe.NETFrameworkisanewversionofthetechnologythatallowsapplicationstomoreconvenientlygetatdataresidinginrelationaldatabasesandinotherformats,suchasExtensibleMarkupLanguage(XML.)

结论

这个短暂的web发展历史应该向你提供了学习的基础。

学习一种编程语言与开发环境很像学习一种人类的语言。

虽然书上的语法和词汇有一些帮助,但是,它们仅仅只是对人们了解语言的历史有用。

Conclusion

ThisbriefhistoryofWebd

展开阅读全文
相关资源
猜你喜欢
相关搜索

当前位置:首页 > 高中教育 > 语文

copyright@ 2008-2022 冰豆网网站版权所有

经营许可证编号:鄂ICP备2022015515号-1