Web/Deploy
From HaskellWiki
(content imported from Web) |
(re-organize WAI) |
||
| Line 8: | Line 8: | ||
== Yesod == | == Yesod == | ||
| - | |||
| - | |||
| + | Yesod targets WAI backends. See WAI + FastCGI below for another option. The premier WAI backend is the Warp web server. see [[Web/Frameworks]] | ||
| - | + | == (Fast)CGI + WAI == | |
Use a webserver like [http://nginx.org/ nginx], [http://www.lighttpd.net/ lighttpd], or [http://www.apache.org/ Apache]. These servers would communicate with your web applications using CGI or FastCGI. See [http://hackage.haskell.org/package/wai-handler-fastcgi wai-handler-fastcgi] for a library which connects FastCGI with the WAI interface. A [http://www.google.co.uk/search?hl=en&as_sitesearch=hackage.haskell.org%2Fpackage&as_q=wai-handler search] for wai-handler shows the various options available. See the [http://docs.yesodweb.com/book/deploying/ deployment] chapter of the Yesod book to see how to configure the various servers and FastCGI to host WAI applications. | Use a webserver like [http://nginx.org/ nginx], [http://www.lighttpd.net/ lighttpd], or [http://www.apache.org/ Apache]. These servers would communicate with your web applications using CGI or FastCGI. See [http://hackage.haskell.org/package/wai-handler-fastcgi wai-handler-fastcgi] for a library which connects FastCGI with the WAI interface. A [http://www.google.co.uk/search?hl=en&as_sitesearch=hackage.haskell.org%2Fpackage&as_q=wai-handler search] for wai-handler shows the various options available. See the [http://docs.yesodweb.com/book/deploying/ deployment] chapter of the Yesod book to see how to configure the various servers and FastCGI to host WAI applications. | ||
Revision as of 20:09, 17 February 2011
Deployment/Backend options for your haskell web code.
Contents |
1 Happstack
includes its own server. see Web/Frameworks
2 Yesod
Yesod targets WAI backends. See WAI + FastCGI below for another option. The premier WAI backend is the Warp web server. see Web/Frameworks
3 (Fast)CGI + WAI
Use a webserver like nginx, lighttpd, or Apache. These servers would communicate with your web applications using CGI or FastCGI. See wai-handler-fastcgi for a library which connects FastCGI with the WAI interface. A search for wai-handler shows the various options available. See the deployment chapter of the Yesod book to see how to configure the various servers and FastCGI to host WAI applications.
4 Snap
includes its own server. see Web/Frameworks
5 (Fast)CGI
Use CGI or FastCGI to talk to another web server. See this tutorial on simple CGI programming for a simple example.
6 Other
Check out the documentation for others frameworks listed at Web/Framework
