Total.js 框架 v2.6.0 发布,Node.js 的 MVC 框架

栏目: Node.js · 发布时间: 8年前

内容简介:Total.js 框架 v2.6.0 发布,Node.js 的 MVC 框架

Total.js 框架 v2.6.0 发布了,Total.js 是一个 web 应用框架,使用 JavaScript,HTML,CSS 和 Node.js(MVC) web 应用框架来构建 web 网站和 web 应用。更新如下:

News:

  • added: F.config['default-errorbuilder-status'] a default HTTP status for all error builders default  200

  • added: F.config['default-listenpath'] starts a UNIX socket server listening for connections on the given path

  • added: F.listenpath contains  default-listenpath location

  • added: F.custom(mode, http, request_prototype, response_prototype, options) a new mode for overwriting default HTTP server

  • added: schema.inherit([group], name) can inherit all values from another schema

  • added: NoSQL synchronization for cluster (more in docs)

  • added: cache synchronization for cluster (more in docs)

  • added: F.cluster (more in docs)

  • added: Total.js debug script  require('total.js/debug') instead of  debug.js file

  • added: a support for async attribute when  <script async src=" tag is generating, e.g.  @{import('async default.js')}

Updates:

  • updated: F.http(type, options) supports  options.listenpath for HTTP server (a direct shortcut for  default-listenpath )

  • updated: F.script returns error if compilation fails

  • updated: debug.js supports  inspector

  • updated: NoSQL embedded database sorting (increased read performance about 30%)

  • updated: RESTBuilder parsers JSON date string as Date object

  • updated: favicon() generates  <link rel="icon" instead of  <link rel="shortcut icon"

Fixes:

  • fixed: controller.send() bad declaration of  connection.id for  id and  blacklist arguments

  • fixed: totaljs --translate problem with  node_modules and  .git directory

  • fixed: a waiting mode in GETSCHEMA()

  • fixed: cache instance.cache() in RESTBuilder

  • fixed: NoSQL filtering (critical)

  • fixed: a bug ImageMagick/GraphicsMagick when the path contains spaces (critical)

  • fixed: controller.memorize() didn't work (critical)

  • fixed: dynamic params when controller.transfer() is performed

下载地址

>>>【全民狂欢,评论有礼】5月15日-31日评论每日更新的“新闻资讯和软件更新资讯”,评论点赞数超过 20 的可登上每周更新的“源资讯”和“软件周刊”两大栏目,点赞数超过 50 的还将获得 5 活跃积分奖励和开源中国定制好礼。详情


以上就是本文的全部内容,希望本文的内容对大家的学习或者工作能带来一定的帮助,也希望大家多多支持 码农网

查看所有标签

猜你喜欢:

本站部分资源来源于网络,本站转载出于传递更多信息之目的,版权归原作者或者来源机构所有,如转载稿涉及版权问题,请联系我们

影响力

影响力

[美] 罗伯特·西奥迪尼 / 陈叙 / 中国人民大学出版社 / 2006-5 / 45.00元

政治家运用影响力来赢得选举,商人运用影响力来兜售商品,推销员运用影响力诱惑你乖乖地把金钱捧上。即使你的朋友和家人,不知不觉之间,也会把影响力用到你的身上。但到底是为什么,当一个要求用不同的方式提出来时,你的反应就会从负面抵抗变成积极合作呢? 在这本书中,心理学家罗伯特·B·西奥迪尼博士为我们解释了为什么有些人极具说服力,而我们总是容易上当受骗。隐藏在冲动地顺从他人行为背后的6大心理秘笈,正是......一起来看看 《影响力》 这本书的介绍吧!

JS 压缩/解压工具
JS 压缩/解压工具

在线压缩/解压 JS 代码

XML 在线格式化
XML 在线格式化

在线 XML 格式化压缩工具

UNIX 时间戳转换
UNIX 时间戳转换

UNIX 时间戳转换