Developing Web Applications with Haskell and Yesod

Developing Web Applications with Haskell and Yesod

by Michael Snoyman
     
 

This fast-moving guide introduces web application development with Haskell and Yesod, a potent language/framework combination that supports high-performing applications that are modular, type-safe, and concise. You’ll work with several samples to explore the way Yesod handles widgets, forms, persistence, and RESTful content. You also get an introduction to

…  See more details below

Overview

This fast-moving guide introduces web application development with Haskell and Yesod, a potent language/framework combination that supports high-performing applications that are modular, type-safe, and concise. You’ll work with several samples to explore the way Yesod handles widgets, forms, persistence, and RESTful content. You also get an introduction to various Haskell tools to supplement your basic knowledge of the language.

By the time you finish this book, you’ll create a production-quality web application with Yesod’s ready-to-use scaffolding. You’ll also examine several real-world examples, including a blog, a wiki, a JSON web service, and a Sphinx search server.

  • Build a simple application to learn Yesod’s foundation datatype and Web Application Interface (WAI)
  • Use Shakespearean template languages for HTML, CSS, and Javascript output
  • Produce cleaner, more modular code by learning how Yesod monads interact
  • Implement the yesod-form declarative API to build forms on top of widgets
  • Learn how Yesod and Haskell store session data and handle persistence
  • Use techniques to serve an HTML page and a machine-friendly JSON page from the same URL
  • Create reusable components for several applications with Yesod subsites

Read More

Product Details

ISBN-13:
9781449316976
Publisher:
O'Reilly Media, Incorporated
Publication date:
05/04/2012
Pages:
298
Product dimensions:
7.00(w) x 9.19(h) x 0.62(d)

Meet the Author

Michael Snoyman, creator of Yesod, has been programming for about 15 years, using Haskell for the past five. 5. He brings ten years of web development experience in a wide variety of environments as well as time spent creating documentation.

Customer Reviews

Average Review:

Write a Review

and post it to your social network

     

Most Helpful Customer Reviews

See all customer reviews >