Developing Web Applications with Haskell and Yesod

Developing Web Applications with Haskell and Yesod

Michael Snoyman


This fast-moving advisor introduces internet software improvement with Haskell and Yesod, a effective language/framework mixture that helps high-performing functions which are modular, type-safe, and concise. You’ll paintings with a number of samples to discover the way in which Yesod handles widgets, varieties, patience, and RESTful content material. you furthermore mght get an advent to numerous Haskell instruments to complement your easy wisdom of the language.

By the time you end this ebook, you’ll create a production-quality net software with Yesod’s ready-to-use scaffolding. You’ll additionally research a number of real-world examples, together with a web publication, a wiki, a JSON internet carrier, and a Sphinx seek server.
* construct an easy program to benefit Yesod’s starting place datatype and net program Interface (WAI)
* Use Shakespearean template languages for HTML, CSS, and Javascript output
* Produce purifier, extra modular code through studying how Yesod monads engage
* enforce the yesod-form declarative API to construct types on best of widgets
* find out how Yesod and Haskell shop consultation info and deal with patience
* Use suggestions to serve an HTML web page and a machine-friendly JSON web page from an identical URL
* Create reusable parts for numerous purposes with Yesod subsites

Show sample text content

Download sample