This talk presents Slick, Typesafe's library for accessing databases, the successor of the popular ScalaQuery library. With Slick, database queries can be expressed using Scala code, which is composable, more convenient than Java APIs like JPA and safer than string-based query languages like SQL.
Slick queries use the familiar for-comprehension construct and a collection-like API. They are type-safe and checked by the Scala compiler. It is possible to call custom stored procedures and even fall back to SQL if required. Slick currently supports MySQL, Microsoft SQL Server, SQLite, PostgreSQL, Derby/JavaDB, H2, HSQLDB/HyperSQL, and Microsoft Access. Other databases are coming up.
The Slick team is working on making Slick extensible to custom data sources e.g. NoSQL databases. We are also developing an even easier API and the ability to schedule queries over multiple backends.
The presentation will feature live-demos of user-code and a look behind the scenes.
As usual, the schedule for the event is:
6:30 - networking, food
7:00 - announcements
7:15 - presentation
8:30 - Q&A, more networking afterward
We will give away two copies of IntelliJ IDEA 11 for personal use, and two copies of JRebel. Two e-copies of "Monadic Design Patterns", published by Artima will also be given away. If you did not register with your full name you will not be eligible to win anything. You can edit your name by going to Members / My Profile / Edit Profile.
This event will be recorded but not streamed. Tweets will be tagged with #scalasv.
Jan Christopher Vogt is a software engineer in the Scala team at EPFL Lausanne, Switzerland. He is mainly working on project Slick in close cooperation with Typesafe and is also involved in the development of Scala 2.10's reflection and macros. His main focus is the new macro-based "direct embedding" of queries into Scala. Earlier, Christopher developed "Scala Integrated Query", a research prototype, which was presented during Scala Days 2011 at Stanford. In the past, he worked for AstraZeneca and as an independent, web-related software developer with Python. Christopher enjoys traveling, skiing, sailing and Scouting.