Have a personal or library account? Click to login
Scala Programming Projects Cover

Scala Programming Projects

Build real-world projects using popular Scala frameworks such as Play, Akka, and Spark

Paid access
|Oct 2018
Product purchase options

Discover the unique features and powerful capabilities of Scala Programming as you build projects in a wide range of domains

Key Features

  • Develop Scala projects on topics ranging from web applications to big data analysis
  • Unleash the full power of modern web programming using Play Framework
  • Build real-time data pipelines in Scala with a Bitcoin transaction analysis app

Book Description

Scala Programming Projects is a comprehensive project-based introduction for those who are new to Scala. Complete with step-by-step instructions and easy-to-follow tutorials that demonstrate best practices when building applications, this Scala book will have you building real-world projects in no time.
Starting with the fundamentals of software development, you’ll begin with simple projects, such as developing a financial independence calculator, and then advance to more complex projects, such as a building a shopping application and a Bitcoin transaction analyzer. You’ll explore a variety of Scala features, including its OOP and FP capabilities, and learn how to write concise, reactive, and concurrent applications in a type-safe manner. You’ll also understand how to use libraries such as Akka and Play. Furthermore, you’ll be able to integrate your Scala apps with Kafka, Spark, and Zeppelin, along with deploying applications on a cloud platform.
By the end of the book, you’ll have a firm foundation in Java programming that’ll enable you to solve a variety of real-world problems, and you’ll have built impressive projects to add to your professional portfolio.

What you will learn

  • Build, test, and package code using sbt (Scala Build Tool)
  • Decompose code into functions, classes, and packages for maintainability
  • Implement the functional programming capabilities of Scala
  • Develop a simple CRUD REST API using Play Framework
  • Access a relational database using Slick
  • Develop a dynamic web UI using Scala.js
  • Source streaming data using Spark Streaming and write a Kafka producer
  • Use Spark and Zeppelin to analyze data

Who this book is for

If you’re new to programming and want to learn how to use Scala, this book is for you. Though not necessary, some knowledge of Java will help you understand the concepts covered in this book.

Table of Contents

  1. Writing your first program
  2. Developing a Retirement Calculator
  3. Handling errors
  4. Advanced features
  5. Type Classes
  6. Online Shopping - Persistence
  7. Online Shopping - REST API
  8. Online Shopping - User Interface
  9. Interactive browser
  10. Fetching and persisting Bitcoin market data
  11. Batch and Streaming analytics
https://github.com/packtpublishing/scala-programming-projects
PDF ISBN: 978-1-78839-534-2
Publisher: Packt Publishing Limited
Copyright owner: © 2018 Packt Publishing Limited
Publication date: 2018
Language: English
Pages: 398