发布于 2015-12-03 06:54:52 | 296 次阅读 | 评论: 0 | 来源: 网友投递

这里有新鲜出炉的精品教程,程序狗速度看过来!

Sailor Lua 的 MVC 框架

Sailor 是一个 Lua 语言的 MVC 编程框架。支持跨平台,兼容 mod_lua 或者 mod_pLua, Nginx 的 ngx_lua, 或者任何支持 CGI 的 Web 服务器,如 Civetweb 或者 Mongoose, 前提是必须有 CGILua


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 开发框架
Sailor 0.4 发布,Lua 的 Web 开发框架
最新网友评论  共有(0)条评论 发布评论 返回顶部

Copyright © 2007-2017 PHPERZ.COM All Rights Reserved   冀ICP备14009818号  版权声明  广告服务