tmcgilchrist/airship
소개
Helium + Webmachine = Airship. 선언형 RESTful 웹 앱을 구축하기 위한 툴킷입니다.
웹 및 앱 개발측정된 스타 증가
- in 24h
- 0
- in 7 days
- 0
- in 15 days
- 0
- in 1 month
- 기록 수집 중
서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.
README.md
OriginalAirship
Airship is a Haskell library for handling and serving HTTP requests in a RESTful fashion. It is heavily inspired by Webmachine and works with any WAI-compatible web server such as Warp.
It aims to be small, fast, and flexible.
How does it work?
Airship resources are represented with a Resource record type.
Each field in Resource corresponds to an action taken in the Webmachine decision tree.
Airship provides a defaultResource with sensible defaults for each of these actions; you build web services by overriding fields in the default resource with your own.
Routes are declared with a simple monadic syntax:
routes = do
root #> someRootResource
"account" </> var "name" #> accountResource
For a simple example that handles HTTP GET and POST requests, please check example/Basic.hs.
For a slightly more involved example that generates HTML and manages a pool of resources, please check the blimp repository.
Airship is copyright © 2015 Helium Systems, Inc., and released to the public under the terms of the MIT license.
관련 프로젝트 살펴보기
불러오는 중…