Lift (Web應用框架)
![]() | |
原作者 | David Pollak[1] |
---|---|
開發者 | Lift Team |
首次发布 | 2007 |
当前版本 | 2.4[2](2012年1月12日 ) |
预览版本 | 2.5M3[3](2012年11月12日 ) |
源代码库 | |
编程语言 | Scala |
操作系统 | 跨平台 |
类型 | Web应用框架 |
许可协议 | Apache 2.0 License |
网站 | liftweb.net |
Lift 是一個为 Scala 语言设计的自由的Web应用框架。它是由 David Pollak 因为不满意 Ruby on Rails 的某些功能而创立。[4] Lift 是一个开源项目,在2007年2月26日创立,发布于 Apache 2.0 许可证下。一个常被提到的著名的使用 Lift 框架的商业网站的例子是 Foursquare。[5]
设计目标及概览
Lift is an expressive framework for writing web applications. It draws upon concepts from peer frameworks such as 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.
历史
Lift 1.0 稳定版发布于 2009年2月26日 (项目开始两年之后)。[6] Lift 2.0 发布于 2010年6月。[7] David Pollak, Lift 的原作者,在著名的 FLOSS weekly 播客讨论 Lift 2.0 发布.[8]
到 February 26, 2012,Lift 开发五周年 [9]