1. XenForo 1.5.14 中文版——支持中文搜索!现已发布!查看详情
  2. Xenforo 爱好者讨论群:215909318 XenForo专区

新闻 Sailor 0.5 发布,Lua 的 Web 开发框架 下载

本帖由 漂亮的石头2015-12-03 发布。版面名称:软件资讯

  1. 漂亮的石头

    漂亮的石头 版主 管理成员

    注册:
    2012-02-10
    帖子:
    487,347
    赞:
    47
    Sailor 0.5 发布,该版本更新如下:


    • 对 Sailor 更多测试,集成Travis CI


    • 主要数据库 (MySQL, PostgreSQL, SQLite3)事务


    • 集成多重 Lua->JS 虚拟机,便于在浏览器使用 Lua


    • 提升在浏览器使用 Lua o


      • Requiring of Lua modules


      • Accessing JS functions and passing callbacks


      • Better DOM manipulation


      • Accessing JS libraries (e.g. JQuery) and using them from Lua

    • 集成内置的 OpenResty's MySQL DB API


    • 在自动测试模拟 OpenResty 环境(Depends on OpenResty)


    • 提升 OpenResty 兼容


    • 提升 Lighttpd 兼容


    • bug 修复


      • Queries when using PostgreSQL and SQLite3


      • Route paths on Xavante and Apache webservers


      • Adds missing db.close on model:find_all

    • 重大更新


      • sailor is no longer on global namespace, if you are accessing sailor attributes now you need to require

    • 弃用


      • sailor.make_url has been copied to page:make_url and will be removed on next versions


      • sailor.model has been copied to a call metamethod on the model module and will be removed on next version

    更多内容请看: changelog.

    下载:0.5-alpha

    Sailor 是一个 Lua 语言的 MVC 编程框架。支持跨平台,兼容 mod_lua 或者 mod_pLua, Nginx 的 ngx_lua, 或者任何支持 CGI 的 Web 服务器,如 Civetweb 或者 Mongoose, 前提是必须有 CGILua
    Sailor 0.5 发布,Lua 的 Web 开发框架下载地址
     
正在加载...