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

新闻 total.js 2.2.0 发布,Node.js 的 MVC 框架 下载

本帖由 漂亮的石头2016-10-30 发布。版面名称:软件资讯

  1. 漂亮的石头

    漂亮的石头 版主 管理成员

    注册:
    2012-02-10
    帖子:
    487,979
    赞:
    47
    total.js 2.2.0 发布了。

    total.js 是个 web 应用框架,使用 JavaScript,HTML,CSS 和 Node.js(MVC) web 应用框架来构建 web 网站和 web 应用。

    更新内容:


    新增:


    • added: controller.proxy2(url, [callback], [headers], [timeout]) creates a proxy between current request and new URL


    • added: Image.watermark(filename, [x], [y], [width], [height]) creates a watermark


    • added: hidden hack res.noCompress = true disables compilation of .js or .css


    • added: RESTBuilder for creating REST requests (more in docs)


    • added: new config item allow-cache-snapshot - to prevent cache when the framework is restarted

    更新:


    • updated: SINGLETON(name, [def = {}]) about def argument


    • updated: debug.js adds timestamps


    • updated: F.redirect() can contain a relative URL of file


    • updated: NoSQL embedded parser, dates are parsed as date object


    • updated: Pagination.next(), Pagination.prev(), Pagination.last() and Pagination.first() supports new arguments .html([link_inner_html], [class_name])


    • updated: F.worker() supports packages F.worker('@eshop/myworker-script')


    • update: FrameworkImage when the instance contains no command then .minify() method is performed automatically for preventing of empty response

    提升:


    • improved: @{href(key, value)} performance


    • improved: Total Package Manager $ tpm --help


    • improved: FrameworkImage command building

    修复:


    • fixed: (critical) NoSQL nosql.modify() and problem with updating undefined values


    • fixed: (critical) security with GM and IM --> 10000x thanks for Luis Figueiredo luisf@hexasoftware.com

    重命名:


    • renamed: F.onLocate renamed to F.onLocale
    下载地址:

    total.js 2.2.0 发布,Node.js 的 MVC 框架下载地址
     
正在加载...