Lua 的 Web 工具包 LWT
fmms 13年前
LWT (Lua Web Tools) 可让你使用 Lua 开发 Web 应用,并可直接在 Apache 上运行。LWT 的核心功能通过一个 Apache 的模块(mod_lwt)来提供。另外 LWT 提供可选的 Lua 模块用来访问数据库和缓存。 <br /> <h3>功能特性:</h3> <ul> <li><strong>Apache module</strong>. LWT provides an Apache HTTP server module that handles requests by invoking Lua scripts. The module provides the core functionality for creating web applications. </li> <li><strong>Template engine.</strong> LWT provides a template engine that blends Lua with HTML/XML. The engine supports substitutions and logic in a way that is natural to both Lua and HTML/XML. This makes it easy to develop web applications with a clean separation of UI logic in Lua and layout in HTML. </li> <li><strong>Full request control.</strong> LWT provides full control over web requests, including request status, content type, input and output. This faciliates the creation of JSON web services, and other uses of HTTP. </li> <li><strong>File uploads.</strong> LWT supports HTTP file uploads from a web browser. </li> <li><strong>WSAPI.</strong> LWT supports the WSAPI standard, and can be used to run WSAPI applications directly in the Apache HTTP server. </li> <li><strong>Databases.</strong> The IS module supports the access to information system in an SQL injection safe way. Currently, the module supports MySQL, Sybase, SQL Server and SQLite. </li> <li><strong>Caching.</strong> The cache module supports the use of caches, currently memcached. </li> </ul> <br /> 项目地址: <a href="/misc/goto?guid=4958199167599240195" target="_blank">http://code.google.com/p/lua-web-tools/</a>