Package0.30Web
scotty
Haskell web framework inspired by Ruby's Sinatra, using WAI and Warp
- Version0.30
- CategoryWeb
- LicenceBSD-3-Clause
- AuthorAndrew Farmer <xichekolas@gmail.com>
- MaintainerThe Scotty maintainers
- Homepagegithub.com/scotty-web/scotty
- Pinned byhackage scotty 0.30
- Sourcehackage.haskell.org/package/scotty-0.30
Modules
6 modules- Web.Scotty103It should be noted that most of the code snippets below depend on the
- Web.Scotty.Cookie22This module provides utilities for adding cookie support inside scotty applications. Most code has been adapted from 'scotty-cookie'. Exa…
- Web.Scotty.Session14This module provides session management functionality for Scotty web applications. Example usage: {-# LANGUAGE OverloadedStrings #-}
- Web.Scotty.Trans101It should be noted that most of the code snippets below depend on the
- Web.Scotty.Trans.Strict78This module is essentially identical to Web.Scotty.Trans, except that
Internal modules · 1
Description
A Haskell web framework inspired by Ruby's Sinatra, using WAI and Warp.
{-# LANGUAGE OverloadedStrings #-} import Web.Scotty main = scotty 3000 $ get "/:word" $ do beam <- pathParam "word" html $ mconcat ["<h1>Scotty, ", beam, " me up!</h1>"]
Scotty is the cheap and cheerful way to write RESTful, declarative web applications.
A page is as simple as defining the verb, url pattern, and Text content. It is template-language agnostic. Anything that returns a Text value will do. Conforms to WAI Application interface. Uses very fast Warp webserver by default.
As for the name: Sinatra + Warp = Scotty.
Depends on
26 packages- aeson-2.3.2.0in this set
- base-4.22.0.0with GHC
- blaze-builder-0.4.4.1in this set
- bytestring-0.12.2.0with GHC
- case-insensitive-1.2.1.0in this set
- containers-0.8with GHC
- cookie-0.5.1in this set
- exceptions-0.10.11with GHC
- http-api-data-0.7in this set
- http-types-0.12.6in this set
- monad-control-1.0.3.1in this set
- mtl-2.3.1with GHC
- network-3.2.9.0in this set
- random-1.3.1in this set
- regex-compat-0.95.2.2in this set
- resourcet-1.3.0in this set
- stm-2.5.3.1with GHC
- text-2.1.3with GHC
- time-1.15with GHC
- transformers-0.6.1.2with GHC
- transformers-base-0.4.6.1in this set
- unliftio-0.2.25.1in this set
- unordered-containers-0.2.21in this set
- wai-3.2.5in this set
- wai-extra-3.1.18in this set
- warp-3.4.16in this set
Used by in this set · 0
Nothing in this set depends on it.