Jump to content

Scalatra

From Wikipedia, the free encyclopedia

This is an old revision of this page, as edited by Tom.Bot (talk | contribs) at 20:17, 5 April 2018 (Task 4: fix Category:Pages using deprecated image syntax; WP:GenFixes on, using AWB). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

Scalatra
Original author(s)Scalatra contributors
Initial releaseApril 11, 2009 (2009-04-11)
Stable release
2.5.1 / June 1, 2017 (2017-06-01)[1]
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. ^ http://scalatra.org/2017/06/01/2017-06-01-scalatra-2-5-1-released.html
  2. ^ Synodinos, Dionysios G. (2010-10-07). "Scalatra: A Sinatra-like Web Framework for Scala". InfoQ.
  3. ^ "LinkedIn Signal - No Longer Supported". 2013-08-22.
  4. ^ Synodinos, Dionysios G. (2010-10-11). "LinkedIn Signal: A Case Study for Scala, JRuby and Voldemort". InfoQ.
  5. ^ "Github Scalatra OpenID Consumer code".
  6. ^ "With GOV.UK, British government redefines the online government platform". O'Reilly. 2012-01-31. Retrieved 13 March 2012.