ThinkJS 3.0 中文文档# ThinkJS 3.0 Documentation ## 快速入门 ## 介绍 ThinkJS 是一款面向未来的 Node.js 开发框架,整合了很多最佳实践,让企业级开发变得更加简单、高效。从 3.0 开始,ThinkJS 基于 koa 2.x,完全兼容 koa 里的 middleware 等插件。 同时,ThinkJS 支持 Extend 和 Adapter 等方式,方便扩展框架里的各种功能。 快速入门 借助 ThinkJS 提供的脚手架,可以快速的创建一个项目。为了可以使用更多的 ES6 特性,框架要求 Node.js 的版本至少是 6.x,建议使用 LTS 版本。 ## 安装 ThinkJS 命令 $ npm install -g think-cli 安装完成后,系统中会有 $ \text{thinkjs} $ 命令(可以通过 $ \text{thinkjs} -v $ 查看版本号)。如果找不到这个命令,请确认环境变量是否正确。 如果是从 2.x 升级,需要将之前的命令删除,然后重新安装。 ## 创建项目 执行 $ \text{thinkjs new [project\_name]} $ 来创建项目,如: $ thinkjs new demo; $ cd demo; $ npm install; $ npm start; 执行完成后,控制台下会看到类似下面的日志: [2017-06-250 码力 | 129 页 | 2.12 MB | 2 年前3
ThinkJS 2.1 Documentation# ThinkJS 2.1 Documentation ## Getting Started ## I ntroduction ThinkJS is the first Node.js MVC framework that supports using full ES6/7 features to develop Node.js application. By using `async/await` `async/await` in ES7 or `*/yield` in ES6, ThinkJS totally resolves the hard problem of asynchronous callbacks nesting hell. It absorbs the design and ideas of lots of other frameworks around the world, and makes superset of JavaScript that it has some useful function in large project such as optional static type. ThinkJS 2.1 has supported TypeScript, the code will be auto compiled and updated during the development process0 码力 | 148 页 | 1.69 MB | 2 年前3
ThinkJS 2.2 Documentation### ThinkJS 2.2 Documentation ## Getting Started ## I ntroduction ThinkJS is the first Node.js MVC framework that supports using full ES6/7 features to develop Node.js application. By using `async/await` `async/await` in ES7 or `*/yield` in ES6, ThinkJS totally resolves the hard problem of asynchronous callbacks nesting hell. It absorbs the design and ideas of lots of other frameworks around the world, and makes superset of JavaScript that it has some useful function in large project such as optional static type. ThinkJS 2.1 has supported TypeScript, the code will be auto compiled and updated during the development process0 码力 | 156 页 | 2.62 MB | 2 年前3
ThinkJS 2.0 Documentation### ThinkJS 2.0 Documentation ## Getting Started ## I ntroduction ThinkJS is the first Node.js MVC framework that supports using full ES6/7 features to develop Node.js application. By using `async/await` `async/await` in ES7 or `*/yield` in ES6, ThinkJS totally resolves the hard problem of asynchronous callbacks nesting hell. It absorbs the design and ideas of lots of other frameworks around the world, and makes stably after Babel compiling. ## Supports variant project structures and environments When using ThinkJS, you can apply single module mode, general mode or multiple modules mode, and to develop projects0 码力 | 141 页 | 1.61 MB | 2 年前3
ThinkJS 2.0 中文文档# ThinkJS 2.0 Documentation # 快速入门 ## 介绍 ThinkJS 是一款使用 ES6/7 特性全新开发的 Node.js MVC 框架,使用 ES7 中 async/await,或者 ES6 中的 */yield 特性彻底解决了 Node.js 中异步嵌套的问题。同时吸收了国内外众多框架的设计理念和思想,让开发 Node.js 项目更加简单、高效。 使用 ES6/7 配置需求,同时还可以基于项目需要进行扩展。 ## 支持丰富的数据库 ThinkJS 支持 mysql,mongodb,sqlite 等常见的数据库,并且封装了很多操作数据库的接口,无需手动拼接 SQL 语句,还可以自动防止 SQL 注入等安全漏洞。同时支持事务、关联模型等高级功能。 ## 代码自动更新 ThinkJS 内置了一套代码自动更新的机制,文件修改后立即生效,不用重启 Node.js js 服务,也不用借助第三方模块。 ## 自动创建 REST 接口 使用 thinkjs 命令可以自动创建 REST 接口,不用写任何的代码即可完成 REST API 的开发。如果想在 REST 接口中过滤字段或者进行权限校验,也很方便处理。 ## 支持多种 WebSocket 库 ThinkJS 支持 socket.io,sockjs 等常见的 WebSocket 库,并且对这些库进行包装,0 码力 | 238 页 | 1.87 MB | 2 年前3
ThinkJS 1.2 中文文档# ThinkJS 1.2 Documentation # 快速入门 ## 介绍 ThinkJS 是一款高效、简单易用的 Node.js MVC 框架。基于 ES6 Promise 开发,让异步编程更加简单、方便。 ## 特性 • 自动启动服务 - 支持 Http、命令行、WebSocket、Restful等多种方式调用 • CBD 架构,MVC 模式 - 基于 Promise,异步编程更加简单 ## 安装、创建项目 ThinkJS 需要 Node.js 的版本 $ \geq0.10.x $ ,可以通过 node -v 命令查看当前 node 的版本。如果未安装 node 或者版本过低,请到 Node.js 官网进行安装或升级。 使用 ThinkJS 时,假设你已经有了 Node.js 开发相关的经验。 ## 安装 ThinkJS 安装 ThinkJS 非常简单,通过如下的命令即可安装: install -g thinkjs-cmd Bash 如果安装失败,可能是 npm 服务异常或者是被墙了,可以使用国内的 cnpm 服务进行安装。如: npm install -g thinkjs-cmd --registry=http://r.cnpmjs.org Bash 安装完成后,可以通过下面的命令查看 ThinkJS 的版本号: JavaScript thinkjs -v 如果能看到下面的字符,说明已经安装成功了。0 码力 | 104 页 | 1.29 MB | 2 年前3
ThinkJS 2.2 中文文档# ThinkJS 2.2 Documentation ## 快速入门 ## 介绍 ThinkJS 是一款使用 ES6/7 特性全新开发的 Node.js MVC 框架,使用 ES7 中 async/await,或者 ES6 中的 */yield 特性彻底解决了 Node.js 中异步嵌套的问题。同时吸收了国内外众多框架的设计理念和思想,让开发 Node.js 项目更加简单、高效。 使用 ES6/7 是一种由微软开发的自由和开源的编程语言。它是 JavaScript 的一个超集,向这个语言添加了可选的静态类型,在大型项目里非常有用。 ThinkJS 2.1 开始支持了创建 TypeScript 类型的项目,并且开发时会自动编译、自动更新,无需手工编译等复杂的操作。具体请见这里。 ## 断点调试 从 ThinkJS 2.2.0 版本开始,支持对 ES2015+ 和 TypeScript 项目的断点调试,并且报错信息也会定 置需求,同时还可以基于项目需要进行扩展。 ## 支持丰富的数据库 ThinkJS 支持 mysql, mongodb, sqlite 等常见的数据库,并且封装了很多操作数据库的接口,无需手动拼接 SQL 语句,还可以自动防止 SQL 注入等安全漏洞。同时支持事务、关联模型等高级功能。 ## 代码自动更新 ThinkJS 内置了一套代码自动更新的机制,文件修改后立即生效,不用重启 Node.js0 码力 | 277 页 | 3.61 MB | 2 年前3
Zabbix 3.0 Manual### Documentation 3.0 #### ZABBIX 25.01.2024 ## Contents Zabbix Manual Copyright notice 5 1. Introduction 5 1 Manual structure 5 2 What is Zabbix 6 3 Zabbix features 6 4 Zabbix overview Appendix 1. Reference commentary ..... 954 Appendix 2. Changes from 2.4 to 3.0 ..... 959 Zabbix API changes in 3.0 ..... 962 19. Appendixes ..... 965 1 Frequently asked questions / Troubleshooting 1074 AUTHOR ..... 1074 Index ..... 1074 ## Zabbix Manual Welcome to the user manual for Zabbix 3.0 software. These pages are created to help users successfully manage their monitoring tasks with Zabbix0 码力 | 1074 页 | 12.04 MB | 2 年前3
Celery 3.0 Documentationolder version of Celery: - Python 2.6: Celery series 3.1 or earlier. - Python 2.5: Celery series 3.0 or earlier. - Python 2.4 was Celery series 2.2 or earlier. Celery is a project with minimal funding kwargs={'debug': True}) proj.tasks.add(4, 2, debug=True) ``` ## Immutability New in version 3.0. Partials are meant to be used with callbacks, any tasks linked, or chord callbacks will be applied >>> # is the same as >>> sig.delay().get() ``` ## Callbacks New in version 3.0. Callbacks can be added to any task using the link argument to apply_async: add.apply_async((2, 2)0 码力 | 2110 页 | 2.23 MB | 2 年前3
Celery 3.0 Documentationolder version of Celery: • Python 2.6: Celery series 3.1 or earlier. • Python 2.5: Celery series 3.0 or earlier. • Python 2.4 was Celery series 2.2 or earlier. Celery is a project with minimal funding kwargs='debug': True) proj.tasks.add(4, 2, debug=True) ## I mmutability New in version 3.0. Partials are meant to be used with callbacks, any tasks linked, or chord callbacks will be applied >>> ~sig >>> # is the same as >>> sig.delay().get() ## 原生服务 New in version 3.0. Callbacks can be added to any task using the link argument to apply_async: add.apply_async((2, 2)0 码力 | 703 页 | 2.60 MB | 2 年前3
共 1000 条
- 1
- 2
- 3
- 4
- 5
- 6
- 100













