Popularity
9.6
Declining
Activity
0.0
Declining
243
37
14

Monthly Downloads: 39
Programming language: Haskell
License: MIT License
Tags: Web    
Latest version: v0.9.4

airship alternatives and similar packages

Based on the "Web" category.
Alternatively, view airship alternatives based on common mentions on social networks and blogs.

Do you think we are missing an alternative of airship or a related project?

Add another 'Web' Package

README

Airship

Join the chat at https://gitter.im/helium/airship

Build Status

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.


*Note that all licence references and agreements mentioned in the airship README section above are relevant to that project's source code only.