slick-integration icon indicating copy to clipboard operation
slick-integration copied to clipboard

(Non-anemic) data access abstraction layer for Slick

Slick Integration

Build Status

helps you to implement a data access layer in your application using Slick.

Key Features

  • Designed to be the foundation of non-anemic domain models
  • Providing a thin abstraction layer to reduce boilerplate
  • Integrating with Play Framework

Installation

Add "net.danieldietrich" %% "slick-integration" % "1.0-SNAPSHOT" to your dependencies (project/Build.scala).

You can use the following resolvers:

  • "http://danieldietrich.net/repository/releases" (currently none, pending until Scala 2.10 final is released)
  • "http://danieldietrich.net/repository/snapshots"

Contribution

Checkout the project via git:

$ git clone [email protected]:danieldietrich/slick-integration.git

Create Eclipse project files via sbt:

$ sbt eclipse

There are a few more helpful sbt commands:

  • compile compiles the project
  • test runs the specs2 tests located in src/test/scala
  • publish publishes the project to the local Maven repository (~/.m2/repository)

Development versions of slick-integration can be used in your App by setting resolvers += Resolver.mavenLocal (project/Build.scala), which loads the dependency you pblished to your local Maven repository ~/.m2/repository.