O'Reilly logo

Building a Recommendation Engine with Scala by Saleem Ansari

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Creating a web app with user/product pages

Now that we have our data ready, let's create a simple UI to display it to the user. In this section, we will be creating a web application using the Play Scala framework. Check out a Play Scala tutorial at https://www.typesafe.com/activator/template/play-scala-intro before you continue.

Creating a Play framework application

From a Scala developer, who knows how to use SBT, a Play framework application is no different than a normal SBT project. Essentially either you can use SBT or you can use Activator (for recent Play projects).

We have already prepared the application for you, located in the webapp-recommender folder in this book's source code. Let's go to that folder and see what we have in the project: ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required