Book description
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
Publisher resources
Table of contents
- A Note Regarding Supplemental Files
- Preface
-
I. Basics
- 1. Introduction
- 2. Haskell
- 3. Basics
- 4. Shakespearean Templates
- 5. Widgets
- 6. Yesod Typeclass
- 7. Routing and Handlers
- 8. Forms
- 9. Sessions
- 10. Persistent
- 11. Deploying Your Webapp
- II. Advanced
- III. Examples
- IV. Appendices
- About the Author
- Copyright
Product information
- Title: Developing Web Applications with Haskell and Yesod
- Author(s):
- Release date: April 2012
- Publisher(s): O'Reilly Media, Inc.
- ISBN: 9781449316976
You might also like
book
Developing Web Apps with Haskell and Yesod, 2nd Edition
This fast-moving guide introduces web application development with Haskell and Yesod, a potent language/framework combination that …
book
Beginning Haskell: A Project-Based Approach
Beginning Haskell provides a broad-based introduction to the Haskell language, its libraries and environment, and to …
book
Clojure Applied
Think in the Clojure way! Once you're familiar with Clojure, take the next step with extended …
book
Introducing Blockchain with Lisp: Implement and Extend Blockchains with the Racket Language
Implement blockchain from scratch covering all the details with Racket, a general-purpose Lisp. You'll start by …