Home Computer Science Building Applications with Scala
Developing the UI with Play Framework
In this chapter, we will cover the following topics:
Let's have a look at the preview of Reactive Web Store—the application that we will build.
For now, we will build three simple operations-Create, Retrieve, Update, and Delete (CRUD) in order to manage products, product reviews, and product images. We will create models, controllers, views, and routes for each CRUD.
Let's get started. First of all, we need to define our models. The models need to be located at ReactiveWebStore/app/models. Models are the CORE of the system and they represent the entity. We will use this entity later to store and retrieve data from a database later on in chapter 6, Persistence with Slick. Our models should not have any UI logic, since we should use controllers for UI logic.
|< Prev||CONTENTS||Next >|