My latest adventure in conference speaking was a two hour hands-on workshop at Scala Exchange 2015, entitled Essential Slick: Hands-On with Slick 3.
Slick is routinely difficult for new Scala developers to pick up. This workshop provides a broad overview of the main concepts in the library, with more in-depth information available in Richard and Jono’s new book.
Due to equipment difficulties we didn’t record the workshop at the conference, so I’ve included a complete screencast after the break.
Here’s what the video covers:
- 0:00 - Introduction. Housekeeping etc.
- 3:30 - Tables. Mapping Scala data types onto the database.
- 23:30 - Queries. Selecting data, query types, query combinators.
- 46:30 - Actions. Inserting/updating/deleting, sequencing actions, transactions.
- 1:17:30 - Joins. Selecting data from multiple tables.
- 1:34:50 - Profiles. Selecting profiles, Freeslick, writing database-generic code.