Movatterモバイル変換


[0]ホーム

URL:


Jump to content
WikipediaThe Free Encyclopedia
Search

Snap (web framework)

From Wikipedia, the free encyclopedia
Web development framework in Haskell
Snap
Original authorsGregory Collins, Doug Beardsley[1]
DeveloperSnap Team
Initial releaseMay 2010; 15 years ago (2010-05)
Stable release
1.1.3.2[2] / July 19, 2023; 2 years ago (2023-07-19)
Written inHaskell
Operating systemCross-platform:Unix,Unix-like,macOS;Windows NT
PlatformIA-32,x86-64
Available inEnglish
TypeWeb framework
LicenseBSD
Websitesnapframework.com
Repositorygithub.com/snapframework

Snap is aweb framework for developingweb applications written in thefunctionalprogramming languageHaskell.[3][4]

Overview

[edit]

The Snap framework consists of the following:

  • snap-core,[5] a generic Haskell web server API.
  • snap-server,[6] a fast[7] HTTP server that implements the snap-core interface.
  • Heist,[8] 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 likeLift's snippets. Heist is self-contained and can be used independently.
  • Snaplets,[9] 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 ofJavaScript from Haskell code, and more.
  • The Snapmonad for stateful access to HTTP requests and responses.[10]

Snap runs on bothWindows NT andUnix-like platforms. Snap uses theIterateeinput/output (I/O) model,[11] As of version 1.0, its I/O is implemented withio-streams.

Usage

[edit]

Snap is used by Silk,[12] JanRain,[13][14] Racemetric,[15] Lee Paste's Financial Blog,[16][17] 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.[18]

Other Haskell web frameworks

[edit]

References

[edit]
  1. ^Snap Framework Team."Snap: A Haskell Web Framework: About".Snap Framework.com.
  2. ^"snapframework/snap".GitHub.com.
  3. ^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.
  4. ^Biscardi, Chris (2014).Snap for Beginners. Gumroad.
  5. ^"snap-core".Hackage.org.
  6. ^"snap-server".Hackage.org.
  7. ^"Snap 0.3 benchmarks with GHC 7.0.1".Snap Framework.com. Retrieved2014-03-02.
  8. ^Snap Framework Team."Snap: A Haskell Web Framework: Heist Tutorial".Snap Framework.com.
  9. ^Snap Framework Team."Snap: A Haskell Web Framework: Snaplet Directory".Snap Framework.com.
  10. ^"Snap.Core".Hackage.org.
  11. ^"InfoQ Interview: Gregory Collins on High Performance Web Apps with Snap and Haskell". Sep 12, 2011.
  12. ^"FP Complete Case Study – Silk – Structured Content Management"(PDF).FP Complete. Retrieved2014-03-02.
  13. ^"FP Complete Case Study – JanRain – User Management System"(PDF).FP Complete. Retrieved2014-03-02.
  14. ^"Blog tutorial on Snap and PostgreSQL".JanRain. Retrieved2014-03-02.
  15. ^Hoersten, Luke."Haskell Snap App in Production". Retrieved2014-03-02.
  16. ^"Lee Paste".Lee Paste's Financial Blog.
  17. ^Done, Chris."lpaste source code".GitHub. Retrieved2014-03-02.
  18. ^Van der Jeugt, Jasper."Hakyll".JasperVdJ.be. Retrieved2024-11-09.
  19. ^"scotty: Haskell web framework inspired by Ruby's Sinatra, using WAI and Warp".Hackage.org.
  20. ^"Spock: Another Haskell web framework for rapid development".Hackage.org.
  21. ^"MFlow: stateful, RESTful web framework".Hackage.org.
  22. ^"miso: A tasty Haskell front-end framework".Hackage.org.

External links

[edit]
.NET
C++
ColdFusion
Common Lisp
Haskell
Java
JavaScript
Back end
Server-side
Full-stack
Front end
Client-side
Perl
PHP
Python
Ruby
Rust
Scala
Smalltalk
Other languages
Haskell programming
Software
Implementations
(features)
Dialects
Electronic
design
Libraries
Package managers
Windowing systems
Web frameworks
Book
Community
Eponym
Italics= discontinued° =Open-source software
BookCategories:FamilySoftware
Retrieved from "https://en.wikipedia.org/w/index.php?title=Snap_(web_framework)&oldid=1319355240"
Categories:
Hidden categories:

[8]ページ先頭

©2009-2026 Movatter.jp