RESTAS - Common Lisp Web應用程序框架

openkk 12年前發布 | 31K 次閱讀 Lisp Web框架

RESTAS 是一個 Common Lisp Web 應用開發框架。它具有以下特性:

  • RESTAS was developed to simplify development of web applications following the REST architectural style.
  • RESTAS is based on the Hunchentoot HTTP server. Web application development with RESTAS is in many ways simpler than withHunchentoot, but some knowledge of Hunchentoot is required, at least about working with hunchentoot:request and hunchentoot:reply.
  • Request dispatch is based on a route system. The route system is the key concept of RESTAS and provides unique features not found in other web frameworks.
  • The other key RESTAS concept is its module system, which provides a simple and flexible mechanism for modularized code reuse.
  • Interactive development support. Any RESTAS code (such as the definition of a route, a module or a submodule) can be recompiled at any time when you work in SLIME and any changes you made can be immediately seen in the browser. No web server restart or other complicated actions are needed.
  • SLIME integration. The inner structure of a web application can be investigated with the standard "SLIME Inspector." For example, there is a "site map" and a simple code navigation with this map.
  • Easy to use, pure Lisp web application daemonization facility based onRESTAS and SBCL in Linux without the use of Screen or detachtty.
  • RESTAS is not an MVC framework, although it is not incompatible with the concept. From the MVC point of view, RESTAS provides the controller level. Nevertheless,RESTAS provides an effective and flexible way for separation of logic and representation, because it does not put any constraints on the structure of applications. Separation of model and controller can be effectively performed with Common Lisp facilities, and, hence, doesn't need any special support from the framework.
  • RESTAS does not come with a templating library. cl-closure-template and HTML-TEMPLATE are two good templating libraries that can be used with RESTAS.

項目主頁:http://www.baiduhome.net/lib/view/home/1339226108293

 本文由用戶 openkk 自行上傳分享,僅供網友學習交流。所有權歸原作者,若您的權利被侵害,請聯系管理員。
 轉載本站原創文章,請注明出處,并保留原始鏈接、圖片水印。
 本站是一個以用戶分享為主的開源技術平臺,歡迎各類分享!