Skip to content
프로젝트

소개

Swift 웹 서버 게이트웨이 인터페이스입니다.

시스템 및 인프라

이 수치를 측정하는 방법

측정된 스타 증가

in 24h
0
in 7 days
0
in 15 days
0
in 1 month
기록 수집 중

서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.

README.md

Original

Nest - Swift Web Server Gateway Interface

Build Status

Nest provides a minimal interface between web servers supporting Swift and web applications or frameworks. It’s designed to prevent tight coupling between web servers and web applications or frameworks. To enable the use of any framework or application with any server.

Quick Links

Current Status

The specification is currently a draft, there are a couple of planned changes in the issue tracker and we welcome anyone to contribute to help improve the specification before we release version 1.0.0. We provide a proposal system allowing you to propose changes via NEPs.

Rationale and Goals

The primary goal of Nest is to enable the use of any framework or application with any server. To prevent tight coupling between web servers and web applications or frameworks.

Nest provides a minimal interface supporting every feature in HTTP. It must be extremely simple, and easy to implement for both servers and web applications.

The interface must not make use any external frameworks and only depend on core Swift language features.

Example Application

A simple Hello World web application using the Nest interface:

func application(request:RequestType) -> ResponseType {
    return Response(.Ok, body: "Hello World")
}

Testing

Along with providing a specification, Nest also provides a test suite to ensure that a server correctly follows the specification, and to aid development of web servers.

Implementations

Web Servers

Web Frameworks

  • Frank - DSL for quickly writing web applications in Swift
  • Turnstone - URI Template Routing

Other

  • Inquiline - A standard implementation of RequestType and ResponseType.
  • NestTest
  • Padlock - Nest middleware to lockup your web application.

See Also

License

Nest is licensed under the BSD license. See LICENSE for more information.

관련 프로젝트 살펴보기

불러오는 중…