This chapter covers
As an introduction to building applications with Scalatra, let’s start with a basic page-retrieval system and then move on to more-advanced functionality. Because it’s your first app, we’ll keep the initial requirements fairly simple. You want to be able to visit URLs in the browser, retrieve data from a data store, format the data into styled HTML, and display the page. These are the sorts of common tasks that can be accomplished by pretty much any web framework. In this case, you’ll build a site that displays food-related text.