Mapper and Record

In our experience, most web applications want to store user data somewhere. Once you start working with user data, though, you start dealing with issues like coding input forms, and validation and persistence to handle the data. That’s where the Mapper and Record frameworks come in. These frameworks provide scaffolding for all of your data-manipulation needs. Mapper is the original Lift persistence framework and is closely tied to JDBC for its storage. Record is a new refactorization of Mapper that is backing-store agnostic at its core, so it doesn’t matter whether you want to save your data to JDBC, Java Persistence API (JPA), or even something like XML. With Record, selecting the proper driver will be as simple as hooking the proper traits into your class.