Books & Videos

Table of Contents

  1. Basics

    1. Chapter 1 Introduction

      1. Type Safety
      2. Concise
      3. Performance
      4. Modular
      5. A Solid Foundation
      6. Introduction to Haskell
    2. Chapter 2 Haskell

      1. Terminology
      2. Tools
      3. Language Pragmas
      4. Overloaded Strings
      5. Type Families
      6. Template Haskell
      7. QuasiQuotes
      8. Summary
    3. Chapter 3 Basics

      1. Hello World
      2. Routing
      3. Handler Function
      4. The Foundation
      5. Running
      6. Resources and Type-Safe URLs
      7. The Scaffolded Site
      8. Development Server
      9. Summary
    4. Chapter 4 Shakespearean Templates

      1. Synopsis
      2. Types
      3. Syntax
      4. Calling Shakespeare
      5. Other Shakespeare
      6. General Recommendations
    5. Chapter 5 Widgets

      1. Synopsis
      2. What’s in a Widget?
      3. Constructing Widgets
      4. Combining Widgets
      5. Generate IDs
      6. whamlet
      7. Using Widgets
      8. Summary
    6. Chapter 6 Yesod Typeclass

      1. Rendering and Parsing URLs
      2. defaultLayout
      3. Custom Error Pages
      4. External CSS and JavaScript
      5. Smarter Static Files
      6. Authentication/Authorization
      7. Some Simple Settings
      8. Summary
    7. Chapter 7 Routing and Handlers

      1. Route Syntax
      2. Dispatch
      3. The Handler Monad
      4. Summary
    8. Chapter 8 Forms

      1. Synopsis
      2. Kinds of Forms
      3. Types
      4. Converting
      5. Create AForms
      6. Validation
      7. More Sophisticated Fields
      8. Running Forms
      9. i18n
      10. Monadic Forms
      11. Input Forms
      12. Custom Fields
      13. Summary
    9. Chapter 9 Sessions

      1. Clientsession
      2. Controlling Sessions
      3. Session Operations
      4. Messages
      5. Ultimate Destination
      6. Summary
    10. Chapter 10 Persistent

      1. Synopsis
      2. Solving the Boundary Issue
      3. Migrations
      4. Uniqueness
      5. Queries
      6. Manipulation
      7. Attributes
      8. Relations
      9. Closer Look at Types
      10. Custom Fields
      11. Persistent: Raw SQL
      12. Integration with Yesod
      13. Summary
    11. Chapter 11 Deploying Your Webapp

      1. Compiling
      2. Warp
      3. FastCGI
      4. Desktop
      5. CGI on Apache
      6. FastCGI on lighttpd
      7. CGI on lighttpd
  2. Advanced

    1. Chapter 12 RESTful Content

      1. Request Methods
      2. Representations
      3. Other Request Headers
      4. Stateless
      5. Summary
    2. Chapter 13 Yesod’s Monads

      1. Monad Transformers
      2. The Three Transformers
      3. Example: Database-Driven Navbar
      4. Example: Request Information
      5. Summary
    3. Chapter 14 Authentication and Authorization

      1. Overview
      2. Authenticate Me
      3. Email
      4. Authorization
      5. Conclusion
    4. Chapter 15 Scaffolding and the Site Template

      1. How to Scaffold
      2. File Structure
      3. widgetFile
      4. defaultLayout
      5. Static Files
      6. Conclusion
    5. Chapter 16 Internationalization

      1. Synopsis
      2. Overview
      3. Message Files
      4. RenderMessage Typeclass
      5. Interpolation
      6. Phrases, Not Words
    6. Chapter 17 Creating a Subsite

      1. Hello World
  3. Examples

    1. Chapter 18 Blog: i18n, Authentication, Authorization, and Database

    2. Chapter 19 Wiki: Markdown, Chat Subsite, Event Source

    3. Chapter 20 JSON Web Service

      1. Server
      2. Client
    4. Chapter 21 Case Study: Sphinx-Based Search

      1. Sphinx Setup
      2. Basic Yesod Setup
      3. Searching
      4. Streaming xmlpipe Output
      5. Full Code
  4. Appendices

    1. Appendix monad-control

      1. Overview
      2. Intuition
      3. Types
      4. Real Life Examples
      5. Lost State
      6. More Complicated Cases
    2. Appendix Conduit

      1. Conduits in Five Minutes
      2. Structure of This Chapter
      3. The Resource Monad Transformer
      4. Source
      5. Sinks
      6. Conduit
      7. Buffering
    3. Appendix Web Application Interface

      1. The Interface
      2. Hello World
      3. Middleware
    4. Appendix Settings Types

    5. Appendix http-conduit

      1. Synopsis
      2. Concepts
      3. Request
      4. Manager
      5. Response
      6. http and httpLbs
    6. Appendix xml-conduit

      1. Synopsis
      2. Types
      3. Text.XML
      4. Cursor
      5. xml-hamlet
      6. xml2html