Lift (web framework)
|Original author(s)||David Pollak|
|Stable release||2.6 / January 11, 2015|
|Preview release||2.6-RC2 / November 23, 2014|
|Type||Web application framework|
|License||Apache 2.0 License|
Lift is a free web application framework that is designed for the Scala programming language. It was originally created by David Pollak who was dissatisfied with certain aspects of the Ruby on Rails framework. Lift was launched as an open source project on February 26, 2007 under the Apache 2.0 license. A commercially popular web platform often cited as being developed using Lift is Foursquare.
Design goals and overview
Lift is an expressive framework for writing web applications. It draws upon concepts from peer frameworks such as Grails, Ruby on Rails, Seaside, Wicket and Django. It favors convention over configuration in the style of Ruby on Rails, although it does not prescribe the model–view–controller (MVC) architectural pattern. Rather, Lift is chiefly modeled upon the so-called "View First" (designer friendly) approach to web page development inspired by the Wicket framework. Lift is also designed to be a high-performance, scalable web framework by leveraging Scala actors to support more concurrent requests than is possible with a thread-per-request server.
As Scala program code executes within the Java virtual machine (JVM), any existing Java library and web container can be used in running Lift applications. Lift web applications are thus packaged as WAR files and deployed on any servlet 2.4 engine (for example, Tomcat 5.5.xx, Jetty 6.0, etc.). Lift programmers may use the standard Scala/Java development toolchain including IDEs such as Eclipse, NetBeans and IDEA. Dynamic web content is authored via templates using standard HTML5 or XHTML editors. Lift applications also benefit from native support for advanced web development techniques such as Comet and Ajax.
The main characteristics of Lift applications are:
- Resistant to common vulnerabilities including many of the OWASP.
- Fast to build, concise and easy to maintain.
- High performance and scale in the real world to handle big traffic levels.
- Interactive like a desktop application.
The stable version 1.0 of Lift was released on February 26, 2009 (two years after initiation of the project). Lift 2.0 was released in June 2010. David Pollak, the original creator of Lift, discussed the release of Lift 2.0 on the popular FLOSS weekly podcast.
Lift reached five years of continuous development on February 26, 2012.
- Chen-Becker, Derek; Weir, Tyler; Danciu, Marius (May 25, 2009), The Definitive Guide to Lift: A Scala-based Web Framework (1st ed.), Apress, p. 200, ISBN 1-4302-2421-5
- Dallaway, Richard (June 2013), Lift Cookbook: Recipes from the Community for Building Web Applications with Scala (1st ed.), O'Reilly Media, p. 256, ISBN 978-1-4493-6268-3