Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Learn Scala Programming

You're reading from   Learn Scala Programming A comprehensive guide covering functional and reactive programming with Scala 2.13, Akka, and Lagom

Arrow left icon
Product type Paperback
Published in Oct 2018
Publisher Packt
ISBN-13 9781788836302
Length 498 pages
Edition 1st Edition
Languages
Tools
Arrow right icon
Author (1):
Arrow left icon
Slava Schmidt Slava Schmidt
Author Profile Icon Slava Schmidt
Slava Schmidt
Arrow right icon
View More author details
Toc

Table of Contents (19) Chapters Close

Preface 1. An Introduction to Scala 2.13 FREE CHAPTER 2. Understanding Types in Scala 3. Deep Dive into Functions 4. Getting to Know Implicits and Type Classes 5. Property-Based Testing in Scala 6. Exploring Built-In Effects 7. Understanding Algebraic Structures 8. Dealing with Effects 9. Familiarizing Yourself with Basic Monads 10. A Look at Monad Transformers and Free Monad 11. An Introduction to the Akka and Actor Models 12. Building Reactive Applications with Akka Typed 13. Basics of Akka Streams 14. Project 1 - Building Microservices with Scala 15. Project 2 - Building Microservices with Lagom 16. Preparing the Environment and Running Code Samples 17. Assessments 18. Other Books You May Enjoy

Preface

Today's Scala is quite different from its earlier versions.

The second version of the language is more than twelve years old, and underwent multiple changes related to supported features and library implementation. Many features then considered crucial, such as support for XML literals, Swing, and Actors, were moved from the language core to the external libraries or replaced by open source alternatives. Another functionality that makes Scala the programming language as we know it today were added directly, or by including yet another open source library in the distribution. The most notable example is adopting Akka in version 2.10.

Scala 2.13, with its focus on modularizing standard libraries and simplifying collections, entails a further change. The changes, however, do not only affect the technical side of Scala. Years of using it to solve real problems have helped us to collect more knowledge about structuring functional programs and using object-oriented features in new ways to our advantage. The same way as it was customary to use earlier versions of Scala as "Java without semicolons," it is now routine to build programs using monad transformers and type-level programming techniques.

This book addresses both technical and architectural changes by providing a comprehensive guide to the redesigned standard library and collections, as well as covering type systems and first-level support for functions in depth. It discusses implicits as a primary mechanism for building type classes and looks at different ways of testing Scala code. It covers in detail abstract building blocks used in functional programming, affording sufficient knowledge to pick up and use any existing functional programming library out there. It explores reactive programming by covering the Akka framework and reactive streams. Finally, it talks about microservices and how to implement them with Scala and the Lagom framework.

lock icon The rest of the chapter is locked
Next Section arrow right
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime
Banner background image