Lift (web framework)
Original author(s) | David Pollak[1] |
---|---|
Developer(s) | Lift Team |
Initial release | 2007 |
Stable release | 3.4.3
/ 28 November 2020[2] |
Repository | |
Written in | Scala |
Operating system | Cross-platform |
Type | Web framework |
License | Apache License 2.0 |
Website | liftweb |
Lift is a free and open-source web 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.[3] Lift was launched as an open source project on 26 February 2007 under the Apache License 2.0. A commercially popular web platform often cited as being developed using Lift is Foursquare.[4]
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.
History
The stable version 1.0 of Lift was released on 26 February 2009 (two years after initiation of the project).[5] Lift 2.0 was released in June 2010.[6] David Pollak, the original creator of Lift, discussed the release of Lift 2.0 on the popular FLOSS weekly podcast.[7]
Lift reached five years of continuous development on 26 February 2012.[8]
References
- ^ "Lift :: Team". Retrieved 8 August 2015.
- ^ "Releases · lift/framework". github.com. Retrieved 2021-04-14.
- ^ "David Pollak on lift and Scala". InfoQ. Retrieved 8 August 2015.
- ^ "Foursquare move to Scala/Lift". Retrieved 8 August 2015.
- ^ "Home". Archived from the original on 11 December 2010. Retrieved 8 August 2015.
- ^ "Lift :: 2.0 GA". Retrieved 8 August 2015.
- ^ "FLOSS Weekly 125". TWiT.tv. Retrieved 8 August 2015.
- ^ "Lift :: Happy 5th Birthday". Retrieved 8 August 2015.
Further reading
- Chen-Becker, Derek; Weir, Tyler; Danciu, Marius (25 May 2009), The Definitive Guide to Lift: A Scala-based Web Framework (1st ed.), Apress, pp. 200, ISBN 978-1-4302-2421-1
- Uhlmann, Torsten (January 2013), Instant Lift Web Applications How-to (1st ed.), Packt, p. 96, ISBN 978-1849519786
- 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
- Garcia Jr., Gilberto T. (September 2013), Lift Application Development Cookbook (1st ed.), Packt, p. 254, ISBN 9781849515887
- Pollak, David, Simply Lift (Online Early Access ed.)