Building a Persistence Layer

"Database schemas are notoriously volatile, extremely concrete, and highly depended on. This is one reason why the interface between OO applications and databases is so difficult to manage, and why schema updates are generally painful."
- Robert C. Martin [14]

In this chapter, we will focus our attention on designing and implementing the data access layers for two of the Links 'R' Us components: the link graph and the text indexer. More specifically, in the pages that follow, we will do the following:

  • Discuss and compare the different types of database technologies
  • Identify and understand the main reasons that necessitate the creation of a data access layer as an abstraction over the underlying database layer ...

Get Hands-On Software Engineering with Golang 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.