Chapter 11. Persistence with Record

 

 

The previous chapter discussed Mapper and how you can use it to define an active-record style of interaction with a relational database. Mapper is one of the oldest parts of the Lift framework, and some of the ideas that were born in Mapper eventually evolved into another persistence system called Record and Field, or Record for short.

Record builds upon the idea of having contextually rich fields in your data model, but allowing you to interact with any data storage mechanism. This data storage could be a relational database, a NoSQL solution such as MongoDB, or even something as primitive ...

Get Lift in Action 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.