Scalatra
≈ 2 min read
Names in other languages
No names in other languages are held for this entry yet.
Article bodies are English and are not machine-translated. A name in another language is not a translation of the article.
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.
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.
Software built with Scalatra
LinkedIn used Scalatra to power its now-defunct Signal API. Parts of The Guardians API services are built in Scalatra. http://gov.uk has built its API systems using Scalatra.
References
External links
Scalatra's GitHub repository InfoQ article on Scalatra
Text derived from https://en.wikipedia.org/w/index.php?oldid=1356814449 under CC BY-SA 4.0; modifications have been made.