Scalatra
   HOME

TheInfoList



OR:

Scalatra is a free and open source
web application framework A web framework (WF) or web application framework (WAF) is a software framework that is designed to support the development of web applications including web services, web resources, and web APIs. Web frameworks provide a standard way to build an ...
written in Scala. It is a port of the
Sinatra Francis Albert Sinatra (; December 12, 1915 – May 14, 1998) was an American singer and actor. Nicknamed the "Chairman of the Board" and later called "Ol' Blue Eyes", Sinatra was one of the most popular entertainers of the 1940s, 1950s, and ...
framework written in
Ruby A ruby is a pinkish red to blood-red colored gemstone, a variety of the mineral corundum ( aluminium oxide). Ruby is one of the most popular traditional jewelry gems and is very durable. Other varieties of gem-quality corundum are called sa ...
. Scalatra is an alternative to the
Lift Lift or LIFT may refer to: Physical devices * Elevator, or lift, a device used for raising and lowering people or goods ** Paternoster lift, a type of lift using a continuous chain of cars which do not stop ** Patient lift, or Hoyer lift, mobil ...
,
Play! Play! is a pavilion, which was scheduled to open at Epcot by the spring of 2023. It will be built in the former Wonders of Life pavilion and will be themed like an interactive city in which guests will be able to interact with their favorite Disn ...
, 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 From this tiny
domain-specific language A domain-specific language (DSL) is a computer language specialized to a particular application domain. This is in contrast to a general-purpose language (GPL), which is broadly applicable across domains. There are a wide variety of DSLs, ranging f ...
, 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 In computer programming, unit testing is a software testing method by which individual units of source code—sets of one or more computer program modules together with associated control data, usage procedures, and operating procedures&md ...
or behaviour driven development support.


Software built with Scalatra

*
LinkedIn LinkedIn () is an American business and employment-oriented online service that operates via websites and mobile apps. Launched on May 5, 2003, the platform is primarily used for professional networking and career development, and allows job se ...
used Scalatra to power its now-defunct Signal
API An application programming interface (API) is a way for two or more computer programs to communicate with each other. It is a type of software interface, offering a service to other pieces of software. A document or standard that describes how ...
. *Parts of ''
The Guardian ''The Guardian'' is a British daily newspaper. It was founded in 1821 as ''The Manchester Guardian'', and changed its name in 1959. Along with its sister papers ''The Observer'' and ''The Guardian Weekly'', ''The Guardian'' is part of the Gu ...
s API services are built in Scalatra. *http://gov.uk has built its API systems using Scalatra.


References


External links

*
Scalatra's GitHub repositoryInfoQ article on Scalatra
Java platform Free software programmed in Scala Software using the BSD license Web frameworks {{web-software-stub