Home / Companies / ScyllaDB / Blog / Post Details
Content Deep Dive

ScyllaDB University: Coding with Scala, Part 1

Blog post from ScyllaDB

Post Details
Company
Date Published
Author
Guy Shtub
Word Count
1,214
Language
English
Hacker News Points
-
Summary

A blog post from ScyllaDB University introduces a lesson focused on connecting a Scala application to a ScyllaDB cluster using the Phantom library, which is a Scala-idiomatic wrapper over the standard Java driver. The lesson demonstrates coding a sample application that interacts with a database, specifically the Mutant Catalog table in ScyllaDB, showcasing operations such as displaying, inserting, and deleting data while emphasizing the use of strongly-typed domain objects for maintainability and compile-time query verification. The process involves setting up a ScyllaDB cluster, creating a keyspace and table, and running the application within a Docker container. This lesson is part of a series aimed at educating developers on NoSQL database development and administration with Scala, with future lessons promising to delve deeper into application structure using the Phantom library.