Tu banner alternativo

Scalatra

The topic of Scalatra has been the subject of interest and debate for a long time. Over the years, Scalatra has captured the attention of experts and enthusiasts alike, generating a wide spectrum of opinions and perspectives. From its origins to its relevance today, Scalatra has played a significant role in various fields, affecting the lives of millions of people around the world. In this article, we will explore in depth the history, impact and future implications of Scalatra, providing a comprehensive and insightful look at this crucial topic.

Tu banner alternativo

Scalatra
Original authorScalatra contributors
Initial releaseApril 11, 2009 (2009-04-11)
Stable release
2.8.1 / September 25, 2021 (2021-09-25)[1]
RepositoryScalatra Repository
Operating systemCross-platform
Available inScala
TypeWeb application framework
LicenseBSD
Websitescalatra.org

Scalatra is a free and open source web application framework written in Scala.[2] 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") {
    <h1>Hello, {params("name")}</h1>
  }
}

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

References

  1. ^ "Scalatra 2.8.1 is out". Retrieved 28 October 2021.
  2. ^ Synodinos, Dionysios G. (7 October 2010). "Scalatra: A Sinatra-like Web Framework for Scala". InfoQ.
  3. ^ "LinkedIn Signal - No Longer Supported". 22 August 2013.
  4. ^ Synodinos, Dionysios G. (11 October 2010). "LinkedIn Signal: A Case Study for Scala, JRuby and Voldemort". InfoQ.
  5. ^ "Github Scalatra OpenID Consumer code". GitHub. 9 May 2022.
  6. ^ "With GOV.UK, British government redefines the online government platform". O'Reilly. 31 January 2012. Retrieved 13 March 2012.