Skip to content

Latest commit

 

History

History
23 lines (12 loc) · 2.24 KB

long-sullivan-john-longevity-a-persistence-framework-for-scala-and-nosql.md

File metadata and controls

23 lines (12 loc) · 2.24 KB

#Longevity: A Persistence Framework for Scala and NoSQL

John Sullivan (JohnnyLongevity)

http://longevityframework.org/

Longevity By Design

Abstract

Come see a demo of longevity: a Persistence Framework for Scala and NoSQL. You won't believe how easy it is to get started with your database application. Longevity puts the focus on the domain model, freeing you from building and maintaining a translation layer between your domain and the database.

Description

Longevity - a persistence framework for Scala and NoSQL - has been built from day one to isolate persistence concerns behind a clear, consistent, and easy to use API. You build your domain model using standard Scala idioms such as case classes, companion objects, options, and immutable collections. We persist your domain objects as JSON, adding whatever database constructs necessary for performance. We currently support Cassandra, MongoDB, and SQLite back ends.

Longevity provides you with a wide range of persistence infrastructure that you typically have to build yourself, including optimistic locking, test data generation, pre-built integration tests that exercise your repositories against a real database, and fully featured in-memory repositories for use in other integration testing. We look forward to adding support for domain model migrations (i.e., schema migrations) soon.

In this talk, we’ll talk briefly about what longevity is, and how it works. Then we’ll switch over quickly into a live demo, demonstrating how to use the library.

Bio

John Sullivan is an 20-year Java veteran who has been happily programming in Scala for over 6 years. He is the creator of longevity, a persistence framework for Scala and NoSQL. A seasoned software engineer with a focus on back-end development and database integration, he is a strong advocate of the Domain Driven Design approach to software development. John has a Master of Science in Computer Science from UMass Boston. He is currently a software consultant at Longevity By Design.