Scalatra

Original author(s)| Scalatra contributors
Initial release| April 11, 2009 (2009-04-11)
Stable release|

2.8.1 / September 25, 2021; 4 years ago (2021-09-25)[1]

Repository| Scalatra Repository
Operating system| Cross-platform
Available in| Scala
Type| Web application framework
License| BSD
Website| scalatra.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

* LinkedIn used Scalatra to power its now-defunct[3] Signal API.[4]
* Parts of The Guardian 's API services are built in Scalatra.[5]
* http://gov.uk has built its API systems using Scalatra.[6]

## References

1. ↑ "Scalatra 2.8.1 is out". https://scalatra.org/2021/09/25/2021-09-25-scalatra-2-8-1-released.html.
2. ↑ Synodinos, Dionysios G. (2010-10-07). "Scalatra: A Sinatra-like Web Framework for Scala". InfoQ. http://www.infoq.com/news/2010/10/scalatra.
3. ↑ "LinkedIn Signal - No Longer Supported". 2013-08-22. http://help.linkedin.com/app/answers/detail/a_id/5028.
4. ↑ Synodinos, Dionysios G. (2010-10-11). "LinkedIn Signal: A Case Study for Scala, JRuby and Voldemort". InfoQ. http://www.infoq.com/articles/linkedin-scala-jruby-voldemort.
5. ↑ "Github Scalatra OpenID Consumer code". 9 May 2022. https://github.com/guardian/scalatra-openid-consumer.
6. ↑ "With GOV.UK, British government redefines the online government platform". O'Reilly. 2012-01-31. http://radar.oreilly.com/2012/01/with-govuk-british-government.html.

## External links

* Scalatra's GitHub repository
* InfoQ article on Scalatra

* v
* t
* e

Web frameworks

* Comparison

C++|

* CppCMS
* Wt

CLI|

* ASP.NET
* Core
* AJAX
* Dynamic Data
* MVC
* Razor
* Web Forms
* DNN
* BFC
* MonoRail
* OpenRasta
* Umbraco
* WebSharper

ColdFusion|

* CFWheels
* ColdBox Platform
* ColdSpring
* Fusebox
* Model-Glue

Common Lisp|

* Caveman2
* CL-HTTP
* Weblocks

Haskell|

* Yesod
* Snap

Java|

* AppFuse
* Flexive
* Grails
* GWT
* ICEfaces
* ItsNat
* JavaServer Faces
* JHipster
* Jspx
* JWt
* OpenXava
* Play
* Remote Application Platform
* RIFE
* Seam
* Sling
* Spring
* Stripes
* Struts
* Tapestry
* Vaadin
* Vert.x
* WebWork
* Wicket
* WaveMaker
* ZK

JavaScript|

* Angular/AngularJS
* Backbone.js
* Chaplin.js
* Closure
* Dojo Toolkit
* Ember.js
* Express.js
* Ext JS
* jQuery
* Knockout.js
* Meteor
* MooTools
* Node.js
* OpenUI5
* Prototype
* React
* Rico
* script.aculo.us
* Sencha Touch
* SproutCore
* Svelte
* Vue.js
* Wakanda

Perl|

* Catalyst
* Dancer
* Mason
* Maypole
* Mojolicious
* WebGUI

PHP|

* CakePHP
* CodeIgniter
* Drupal
* Fat-Free
* FuelPHP
* Flow
* Grav
* Gyroscope
* Horde
* Joomla
* Kohana
* Laravel
* Lithium
* Midgard
* MODX
* Nette
* Phalcon
* PHP-Fusion
* Pop PHP
* PRADO
* ProcessWire
* Qcodo
* Silex
* SilverStripe
* Symfony
* TYPO3
* WordPress
* XOOPS
* Yii
* Zend Framework

Python|

* BlueBream
* CherryPy
* Django
* Flask
* Grok
* Nevow
* Pyjs
* Pylons
* Pyramid
* Quixote
* TACTIC
* Tornado
* TurboGears
* web2py
* Webware
* Zope 2
* more...

Ruby|

* Camping
* Merb
* Padrino
* Ruby on Rails
* Sinatra

Scala|

* Lift
* Play
* Scalatra

Smalltalk|

* AIDA/Web
* Seaside

Other languages|

* Vibe.d (D)
* Application Express (PL/SQL)
* Grails (Groovy)
* Kepler (Lua)
* OpenACS (Tcl)
* Phoenix (Elixir)
* SproutCore (JavaScript-Ruby)
* Yaws (Erlang)

0.00

(0 votes)

Original source: https://en.wikipedia.org/wiki/Scalatra. Read more

|

Retrieved from "https://handwiki.org/wiki/index.php?title=Software:Scalatra&oldid=772216"
*[v]: View this template
*[t]: Discuss this template
*[e]: Edit this template