Typesafe Activator

Play Slick with Typesafe IDs

Play Slick with Typesafe IDs

December 28, 2013

Slick (the Scala Language-Integrated Connection Kit) is a framework for type safe, composable data access in Scala. This template combines Play Framework with Slick and adds tools to use type-safe IDs for your classes so you can no longer join on bad id field or mess up order of fields in mappings. It also provides way to create service with methods (like querying all, querying by id, saving or deleting), for all classes with such IDs in just 4 lines of code.

Already have Typesafe Activator? Search for play-slick-advanced in the new application template catalog and create a new app.

Or grab the Activator Template Bundle:

  1. Download the Template Bundle
  2. Extract the downloaded zip file to your system
  3. Start Typesafe Activator's UI:

    In your File Explorer, navigate into the directory that the template was extracted to, right-click on the file named "activator.bat", then select "Open", and if prompted with a warning, click to continue:

    Or from a command line:

     C:\Users\typesafe\play-slick-advanced> activator ui 
    This will start Typesafe Activator and open this template in your browser.
comments powered by Disqus