e01.org

Snap (web framework)

Snap is a web framework for developing web applications written in the functional programming language Haskell.

Snap is a web framework for developing web applications written in the functional programming language Haskell. ==Overview== The Snap framework consists of the following: snap-core, a generic Haskell web server API. snap-server, a fast HTTP server that implements the snap-core interface. Heist, an HTML-based templating system for generating pages that allows you to bind Haskell functionality to HTML tags for a clean separation of view and backend code, much like Lift's snippets. Heist is self-contained and can be used independently. Snaplets, a high-level system for building modular web applications. Built-in snaplets for templating, session management, and authentication. Third party snaplets for features including file uploads, database connectivity (PostgreSQL, MongoDB, etc.), generation of JavaScript from Haskell code, and more. The Snap monad for stateful access to HTTP requests and responses. Snap runs on both Windows NT and Unix-like platforms. Snap uses the Iteratee input/output (I/O) model, As of version 1.0, its I/O is implemented with io-streams. ==Usage== Snap is used by Silk, JanRain, Racemetric, Lee Paste's Financial Blog, SooStone Inc, and Group Commerce. Snap is also used as a lightweight, standalone Haskell server. The static site generator Hakyll uses Snap for its preview mode. ==Other Haskell web frameworks== Yesod (web framework) Servant (web framework) Scotty Spock MFlow Miso ==References== ==External links==

References

  1. ^ Snap Framework Team. "Snap: A Haskell Web Framework: About" . Snap Framework.com . Wikipedia revision 1319355240, retrieved 2026-11-18 · 1794956400.0
  2. ^ "Snap.Core" . Hackage.org . Wikipedia revision 1319355240, retrieved 2026-11-18 · 1794956400.0
  3. ^ "InfoQ Interview: Gregory Collins on High Performance Web Apps with Snap and Haskell" . Sep 12, 2011. Wikipedia revision 1319355240, retrieved 2026-11-18 · 1794956400.0
  4. ^ "FP Complete Case Study – Silk – Structured Content Management" (PDF) . FP Complete . Retrieved 2014-03-02 . Wikipedia revision 1319355240, retrieved 2026-11-18 · 1393714800.0
  5. ^ "FP Complete Case Study – JanRain – User Management System" (PDF) . FP Complete . Retrieved 2014-03-02 . Wikipedia revision 1319355240, retrieved 2026-11-18 · 1393714800.0
  6. ^ "Blog tutorial on Snap and PostgreSQL" . JanRain . Retrieved 2014-03-02 . Wikipedia revision 1319355240, retrieved 2026-11-18 · 1393714800.0
  7. ^ Hoersten, Luke. "Haskell Snap App in Production" . Retrieved 2014-03-02 . Wikipedia revision 1319355240, retrieved 2026-11-18 · 1393714800.0
  8. ^ "Lee Paste" . Lee Paste's Financial Blog . Wikipedia revision 1319355240, retrieved 2026-11-18 · 1794956400.0
  9. ^ Done, Chris. "lpaste source code" . GitHub . Retrieved 2014-03-02 . Wikipedia revision 1319355240, retrieved 2026-11-18 · 1393714800.0
  10. ^ Van der Jeugt, Jasper. "Hakyll" . JasperVdJ.be . Retrieved 2024-11-09 . Wikipedia revision 1319355240, retrieved 2026-11-18 · 1731106800.0
  11. ^ "scotty: Haskell web framework inspired by Ruby's Sinatra, using WAI and Warp" . Hackage.org . Wikipedia revision 1319355240, retrieved 2026-11-18 · 1794956400.0
  12. ^ "snapframework/snap" . GitHub .com . Wikipedia revision 1319355240, retrieved 2026-11-18 · 1794956400.0
  13. ^ "Spock: Another Haskell web framework for rapid development" . Hackage.org . Wikipedia revision 1319355240, retrieved 2026-11-18 · 1794956400.0
  14. ^ "MFlow: stateful, RESTful web framework" . Hackage.org . Wikipedia revision 1319355240, retrieved 2026-11-18 · 1794956400.0
  15. ^ "miso: A tasty Haskell front-end framework" . Hackage.org . Wikipedia revision 1319355240, retrieved 2026-11-18 · 1794956400.0
  16. ^ Collins, Gregory; Beardsley, Doug (January–February 2011). "The Snap Framework: A Web Toolkit for Haskell" (PDF) . IEEE Internet Computing . 15 (1): 84– 87. Bibcode : 2011IIC....15a..84C . doi : 10.1109/mic.2011.21 . Wikipedia revision 1319355240, retrieved 2026-11-18 · 1794956400.0
  17. ^ Biscardi, Chris (2014). Snap for Beginners . Gumroad. Wikipedia revision 1319355240, retrieved 2026-11-18 · 1794956400.0
  18. ^ "snap-core" . Hackage.org . Wikipedia revision 1319355240, retrieved 2026-11-18 · 1794956400.0
  19. ^ "snap-server" . Hackage.org . Wikipedia revision 1319355240, retrieved 2026-11-18 · 1794956400.0
  20. ^ "Snap 0.3 benchmarks with GHC 7.0.1" . Snap Framework.com . Retrieved 2014-03-02 . Wikipedia revision 1319355240, retrieved 2026-11-18 · 1393714800.0
  21. ^ Snap Framework Team. "Snap: A Haskell Web Framework: Heist Tutorial" . Snap Framework.com . Wikipedia revision 1319355240, retrieved 2026-11-18 · 1794956400.0
  22. ^ Snap Framework Team. "Snap: A Haskell Web Framework: Snaplet Directory" . Snap Framework.com . Wikipedia revision 1319355240, retrieved 2026-11-18 · 1794956400.0
source: e01 Encyclopedia · licence: CC BY-SA 4.0 · page · source revision

Cite this

"Snap (web framework)". 1761723547. e01 Encyclopedia. CC BY-SA 4.0. https://en.wikipedia.org/w/index.php?oldid=1319355240

JSON record · API collection · citation policy