CHAPTER 11

image

Safe Database Access

In the previous two chapters you have seen how to access the file system to read and save information in a durable way. You’ve been given all the tools for dealing either with a custom file format or a treelike information representation such as JSON.

However, in most production systems applications you aren’t working with files. Instead, a database management system (or DBMS for short) is used to store the application’s information and keep it safe. Furthermore, most DBMSs provide functionalities such as transactions, logging, and recovery and replication, which are quite useful for maintenance, protection against ...

Get Beginning Haskell: A Project-Based Approach now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.