© Ecky Putrady 2018
Ecky PutradyPractical Web Development with Haskellhttps://doi.org/10.1007/978-1-4842-3739-7_3

3. Domain Modeling

Ecky Putrady1 
(1)
Singapore, Singapore, Singapore
 

In this chapter, we will start writing pieces of code that are truly related to our project. At the end of this chapter, we will have a working authentication feature backed by an in-memory database.

Port and Adapter Architecture

Before writing any code, it’s worthwile to think through the architecture first. It helps to give us a big picture of how the application will be laid out. It guides us to structure the interaction between components so that we can make sense of the application as a whole.

The architecture pattern that we want to follow is Port and Adapter Architecture ...

Get Practical Web Development with Haskell: Master the Essential Skills to Build Fast and Scalable Web Applications now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.