📑 Table of Contents

计算机科学中,服务器应用程序接口(Server Application Programming Interface,或SAPI)是一个網頁伺服器(如Apache HTTP Server微软IISOracle iPlanet Web Server英语Oracle iPlanet Web Server)的直接模块接口。微软使用术语ISAPI描述服务器应用程序接口,过时的網景网页服务器则使用术语网景服务器应用程序接口英语Netscape Server Application Programming Interface(NSAPI)来描述。[1]换言之,SAPI是一项由网页服务器提供的应用程序接口(API)以帮助其他开发者扩展网页服务器的功能。

举个例子,PHP有着称之为SAPI可用于不同网页服务器的直接模块接口;[2]在Windows平台上的PHP 5和Apache 2.0,PHP通过提供名为php5apache2.dllDLL文件以实现此功能。[3]此模块与其他功能一起以一种服务器理解的方式实现了PHP和网页服务器之间的接口。这种形式即人们熟知的SAPI。

多个网页服务器扩展中存在不同类型的SAPI。例如,除了上方列出的以外,PHP的其他SAPI包括通用网关接口(CGI)与命令行界面(CLI)。[2][4]

另请参阅

编辑

参考文献

编辑
  1. ^ Netscape Server Application Programming Interface (NSAPI). techtarget.com. September 2005 [2013-09-22]. (原始内容存档于2016-11-16). 
  2. ^ 2.0 2.1 General Installation Considerations. php.net. [2013-09-22]. (原始内容存档于2021-02-25). 
  3. ^ PHP: Apache 2.x on Microsoft Windows. php.net. [2013-09-22]. (原始内容存档于2013-09-26). 
  4. ^ Command line usage: Introduction. php.net. [2013-09-22]. (原始内容存档于2021-03-21). 

外部链接

编辑

📚 Artikel Terkait di Wikipedia

Qt

ious上各種移植紛紛出現。下面是其中一部份: Qt for OpenSolaris –用於OpenSolaris Qt for Haiku –用於Haiku OS Qt for OS/2 –仍然不完整的OS/2 eCS platform移植。 Qt-iPhone –用於iPhone的實驗中產品。 Android-Lighthouse

用户界面标记语言

declarative user interface language which defines the widgets, application layout and scripting elements (using JavaScript) to create your application. LZX is

.NET

NET Core。.NET支援主控台應用程式(Console Application)以及類別庫(Class Library)類型的專案。 不過從 .NET Core 3開始,微軟在其Universal Windows Platform(UWP)開發平台使用了 .NET,並且利用 .NET

Windows Azure Platform AppFabric

Windows Azure Platform AppFabric 是Windows Azure雲端運算服務的一部份,亦為平台即服務(PaaS)的一種類型,它是Windows Azure上的應用程式伺服器 (Application Server) 平台,作為開發身份驗證,存取控制以及服務匯流排 (Service

Java

SE:Java平台标准版) Java Platform, Micro Edition(Java ME:Java平台微型版) Java Platform, Card Edition 2006年昇陽電腦在JavaOne公佈Java 開放原始碼項目,並推出Open

GNU計劃

(中文(中国大陆)).  EU Funding & Tenders Portal - NGI TALER open call (2026-06T). Europa(英语:Europa_(web_portal)). 2026-04-01 [2026-05-16] (英语).  Raymond, Eric

Python

(high-performance), web framework for building APIs with Python based on standard Python type hints.  PyScript is an open source platform for Python in the

ASP.NET Core

提供基礎的編譯與執行功能。 ASP.NET Core 核心設計上是採用 Open Web Interface for .NET (OWIN) 為概念發展,OWIN 在概念上就強調以程式碼來定義系統功能,並一度在 ASP.NET MVC 5 列入其功能之一,後續的 Web API 與 SignalR 也使用了