发布于 2016-01-02 00:58:29 | 331 次阅读 | 评论: 0 | 来源: 网友投递

return Stringadded: F.onTheme delegateadded: controller.theme(theme_name) --> select theme;added: config['default-theme']added: U.keywords(content, [forS

-->

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

total.js Node.js 的MVC框架

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


total.js 1.9.5 发布,因为 NPM 问题跳过了 1.9.4 版本,此版本主要改进:

新特性

  • added: (IMPORTANT) new feature: THEMES

  • added: @{theme} --> return String

  • added: F.onTheme delegate

  • added: controller.theme(theme_name) --> select theme;

  • added: config['default-theme']

  • added: U.keywords(content, [forSearch], [alternative(true|false|soundex)], [max_count(200)], [max_length(20)], [min_length(2)]);

  • added: String.prototype.keywords([forSearch], [alternative(true|false|soundex)], [max_count(200)], [max_length(20)], [min_length(2)])

  • added: String.prototype.soundex()

  • added: F.wait(name, [enable]) the server waits for pending task and it responds via 503 status code

  • added: U.parseQuery() and String.parseQuery()

  • added: U.join(path1, path2, path3)

  • added: U.getName(path)

  • added: F.on('error400')

  • added: F.on('error401')

  • added: F.on('error403')

  • added: F.on('error404')

  • added: F.on('error408')

  • added: F.on('error431')

更新

  • updated: (IMPORTANT) F.onAuthorization() was renamed to F.onAuthorize()

  • updated: Date.format() supports w and ww for week number

  • updated: Date.add() supports w, ww, week, weeks

  • updated: MailMessage supports display name mail.from('Name <vali@demail>');

  • updated: MailMessage supports display name mail.to('Name <vali@demail>');

  • updated: MailMessage supports display name mail.to(email, [name], [clear]);

  • updated: MailMessage supports display name mail.cc('Name <vali@demail>');

  • updated: MailMessage supports display name mail.cc(email, [name], [clear]);

  • updated: U.resolve(url, [callback]) --> callback is optional

Bug 修复

  • fixed: HTTP cache for HTML 5 offline manifest files

  • fixed: async() error handling

  • fixed: NoSQL embedded paths

  • fixed: problem with empty SMTP options

  • fixed: ErrorBuilder default transformation to JSON

  • fixed: Error handling

  • fixed: SchemaBuilder request auto-validation

  • fixed: String.isJSON()

  • fixed: F.responsePipe() --> problem with transmitted headers

  • fixed: evaluating of @{helpers.helper_name()}

  • fixed: HTML minification of UTF8 characters

  • fixed: U.isEqual()

  • fixed: FrameworkImage.save() in Windows by LiaoTzukai

  • fixed: SchemaBuilder prefix by Dušan Dragula

改进

  • improved performance of the response

  • improved total performance

  • improved view engine performance

下载:



历史版本 :
Total.js v2.9.1 发布,Node.js 的 MVC 框架
Total.js v2.9.0 发布,Node.js 的 MVC 框架
Total.js v2.8.0 发布,Node.js 的 MVC 框架
Total.js 2.7.0 发布,Node.js 的 MVC 框架
total.js 2.6.2 发布,Node.js 的 MVC 框架
Total.js 框架 v2.6.0 发布,Node.js 的 MVC 框架
total.js 2.4.0 发布,Node.js 的 MVC 框架
total.js v2.3.0 发布,Node.js 的 MVC 框架
total.js 2.2.0 发布,Node.js 的 MVC 框架
total.js 2.1.0 发布,Node.js 的 MVC 框架
total.js 1.9.5 发布,Node.js 的 MVC 框架
最新网友评论  共有(0)条评论 发布评论 返回顶部

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