Lesson plan

Scalatra

Scalatra is a free and open source web application framework written in Scala. It is a port of the Sinatra framework written in Ruby. Scalatra is an alternative to the Lift, Play!, and Unfiltered frameworks. Scalatra is an example of a microframework, a web software development framework which attempts to be as minimal as possible. A full Scalatra application can be written in very few lines of code: package org.example.app import org.scalatra._ class MyScalatraFilter extends ScalatraFilter { get("/hello/:name") { Hello, {params("name")} } } From this tiny domain-specific language, Scalatra can be expanded into a minimal but full-featured model-view-controller web framework. For example, additional libraries can be attached in order to provide templating, object-relational mapping, and unit testing or behaviour driven development support.

Back to article

Article summary

Scalatra is a free and open source web application framework written in Scala. It is a port of the Sinatra framework written in Ruby. Scalatra is an alternative to the Lift, Play!, and Unfiltered frameworks. Scalatra is an example of a microframework, a web software development framework which attempts to be as minimal as possible. A full Scalatra application can be written in very few lines of code: package org.example.app import org.scalatra._ class MyScalatraFilter extends ScalatraFilter { get("/hello/:name") { Hello, {params("name")} } } From this tiny domain-specific language, Scalatra can be expanded into a minimal but full-featured model-view-controller web framework. For example, additional libraries can be attached in order to provide templating, object-relational mapping, and unit testing or behaviour driven development support.

Key claims

No claims recorded.

Discussion questions

  1. Summarise the article in your own words. Which single claim would you verify first, and why?
  2. Which claim in this article is most likely to be revised as the sources update? How would you check its current status?
  3. If two sources disagreed about one of these facts, what would you need in order to trust one over the other?

Bibliography

No sources recorded.

Key claims and bibliography are generated from the same tracked claims and sources as the article page.