Learn how to advance your skill level of Haskell, and use this language for practical web development. This book uses a direct, no nonsense approach, so you no longer need to spend extra time reading the documentation, blog posts, and forums to understand how to use Haskell – all that knowledge is provided in one coherent resource.
You'll start by reviewing how multiple facets of web development are done in Haskell, such as routing, building HTMLs, interacting with databases, caches, and queues, etc. You'll then move on to using notable libraries, such as "scotty" for routings, "digestive-functor" for input validation, and "postgresql-simple" for interacting with databases.
In the later chapters, you'll learn how all of these libraries can be used together by working on a fully functioning project deployed on Heroku.
What You'll Learn
• Set up a productive Haskell development environment
• Review basic tasks that are encountered when building web applications.
• Explore how to interact with external systems, such as databases, queues, and RESTful APIs.
• Build a RESTful API, website, building views and form validation.
Who This Book Is For
Software developers familiar Haskell and would like to apply the knowledge on real world applications and software developers new to Haskell.
Author(s): Ecky Putrady
Edition: 1
Publisher: Apress
Year: 2018
Language: English
Commentary: True PDF
Pages: 278
Tags: Databases; Web Applications; Functional Programming; Relational Databases; NoSQL; PostgreSQL; Logging; Deployment; Redis; Testing; REST API; Haskell
Front Matter ....Pages i-xxi
Getting Started (Ecky Putrady)....Pages 1-8
Practical Haskell (Ecky Putrady)....Pages 9-33
Domain Modeling (Ecky Putrady)....Pages 35-67
Logging (Ecky Putrady)....Pages 69-83
Databases (Ecky Putrady)....Pages 85-112
Queues (Ecky Putrady)....Pages 113-134
RESTful APIs (Ecky Putrady)....Pages 135-164
Web Programming (Ecky Putrady)....Pages 165-187
HTTP Client (Ecky Putrady)....Pages 189-208
Configuration (Ecky Putrady)....Pages 209-217
Testing (Ecky Putrady)....Pages 219-260
Deployment (Ecky Putrady)....Pages 261-272
Back Matter ....Pages 273-278