Ce diaporama a bien été signalé.
Le téléchargement de votre SlideShare est en cours. ×

Introduction to Slick

Publicité
Publicité
Publicité
Publicité
Publicité
Publicité
Publicité
Publicité
Publicité
Publicité
Publicité
Publicité
Prochain SlideShare
Deep Dive into Slick
Deep Dive into Slick
Chargement dans…3
×

Consultez-les par la suite

1 sur 10 Publicité

Plus De Contenu Connexe

Similaire à Introduction to Slick (20)

Plus par Knoldus Inc. (20)

Publicité

Plus récents (20)

Introduction to Slick

  1. 1. Presented By: Jagdish Singh Introduction to Slick
  2. 2. Lack of etiquette and manners is a huge turn off. KnolX Etiquettes Punctuality Join the session 5 minutes prior to the session start time. We start on time and conclude on time! Feedback Make sure to submit a constructive feedback for all sessions as it is very helpful for the presenter. Silent Mode Keep your mobile devices in silent mode, feel free to move out of session in case you need to attend an urgent call. Avoid Disturbance Avoid unwanted chit chat during the session.
  3. 3. Our Agenda 01 What is Slick? 02 Features of Slick 03 How Slick works? 04 Setup 05 Demo
  4. 4. What is Slick? ● Slick is a library for type safe database queries. ● Unified session management. ● Fetch results without trouble. ● Requires Scala 2.10
  5. 5. Features of Slick ● Uses Scala Syntax ● No SQL injections ● Compile time safety ● Supports SQL queries ● Simple setup ● Handy just like Scala collections
  6. 6. Supported Databases ● PostgreSQL ● MySQL ● SQLServer ● Oracle ● DB2 ● Derby/JavaDB ● H2 ● HSQLDB/HyperSQL ● SQLite
  7. 7. How Slick works? ● Type-safe query feature is implemented with Scala-to-SQL compiler. ● It can be very useful to run the compiler only once per defined query. ● Compiled queries allow you to cache the generated SQL for re-use.
  8. 8. How to setup Slick? ● Add dependency for database and Slick. ● Add database configuration ● Implement mapping for database table ● Querying
  9. 9. DEMO
  10. 10. Thank You ! Get in touch with us: jagdish.singh@knoldus.com

×