守望者--AIR技术交流

 找回密码
 立即注册

QQ登录

只需一步,快速开始

扫一扫,访问微社区

搜索
热搜: ANE FlasCC 炼金术
查看: 2918|回复: 0
打印 上一主题 下一主题

[开源资讯] total.js 2.2.0 发布,Node.js 的 MVC 框架

[复制链接]
  • TA的每日心情
    擦汗
    2018-4-10 15:18
  • 签到天数: 447 天

    [LV.9]以坛为家II

    1742

    主题

    2094

    帖子

    13万

    积分

    超级版主

    Rank: 18Rank: 18Rank: 18Rank: 18Rank: 18

    威望
    562
    贡献
    29
    金币
    52694
    钢镚
    1422

    开源英雄守望者

    跳转到指定楼层
    楼主
    发表于 2016-11-1 13:26: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

    下载地址:

    分享到:  QQ好友和群QQ好友和群 QQ空间QQ空间 腾讯微博腾讯微博 腾讯朋友腾讯朋友 微信微信
    收藏收藏 分享分享 支持支持 反对反对 微信
    守望者AIR技术交流社区(www.airmyth.com)
    回复

    使用道具 举报

    您需要登录后才可以回帖 登录 | 立即注册

    本版积分规则

    
    关闭

    站长推荐上一条 /4 下一条

    QQ|手机版|Archiver|网站地图|小黑屋|守望者 ( 京ICP备14061876号

    GMT+8, 2024-4-20 10:21 , Processed in 0.043256 second(s), 32 queries .

    守望者AIR

    守望者AIR技术交流社区

    本站成立于 2014年12月31日

    快速回复 返回顶部 返回列表