O'Reilly logo

Lift in Action: The Simply Functional Web Framework for Scala by Timothy Perrett

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required