Book Image

Building Applications with Scala

By : Diego Pacheco
Book Image

Building Applications with Scala

By: Diego Pacheco

Overview of this book

<p>Scala is known for incorporating both object-oriented and functional programming into a concise and extremely powerful package. However, creating an app in Scala can get a little tricky because of the complexity the language has. This book will help you dive straight into app development by creating a real, reactive, and functional application. We will provide you with practical examples and instructions using a hands-on approach that will give you a firm grounding in reactive functional principles.</p> <p>The book will take you through all the fundamentals of app development within Scala as you build an application piece by piece. We’ve made sure to incorporate everything you need from setting up to building reports and scaling architecture. This book also covers the most useful tools available in the Scala ecosystem, such as Slick, Play, and Akka, and a whole lot more. It will help you unlock the secrets of building your own up-to-date Scala application while maximizing performance and scalability.</p>
Table of Contents (17 chapters)
Building Applications with Scala
Credits
About the Author
Acknowledgments
About the Reviewer
www.PacktPub.com
Preface

Introducing SBT


SBT is the ultimate Scala solution for building and packing Scala applications. SBT has lots of plugins, such as Eclipse and IntelliJ IDEA projects generation, which help a great deal when we are doing Scala development. SBT is built in Scala in order to help you build your Scala applications. However, SBT can still be used to build Java applications if you wish.

The core features of SBT are as follows:

  • Scala-based build definition

  • Incremental compilation

  • Continuous compilation and testing

  • Great support for testing libraries such as ScalaCheck, Specs, ScalaTest, and JUnit

  • REPL integration

  • Parallel Task execution

We will use SBT with the Typesafe Activator to Bootstrap our application later in this very chapter. Before doing so, we will play with SBT to learn the key concepts of setting up a build project for a Scala application. In this book, we will be using SBT version 0.13.11.