NodeJS 中文文档 V0.2.3最新版文档:wiki.grati.org QQ 群:53090214 共同学习 NodeJS,欢迎加入。 1 NodeJS NodeJS NodeJS NodeJS 中文文档 V0.2.3 V0.2.3 V0.2.3 V0.2.3 感谢老狗、Tytsim、Zarknight、Zbm2001、LemonHall、利奥、元元、Seasontop、Frank、魔力鸟以及更多没有留 下姓名的同志们。 下姓名的同志们。 最新版文档:wiki.grati.org QQ 群:53090214 共同学习 NodeJS,欢迎加入。 2 NodeJS 中文文档 V0.2.3........................................................................................................................... .................................................... 62 最新版文档:wiki.grati.org QQ 群:53090214 共同学习 NodeJS,欢迎加入。 3 Synopsis Synopsis Synopsis Synopsis 总述 总述 总述 总述 使用 node 实现的 web 服务器示例,它返回'Hello World':0 码力 | 62 页 | 542.14 KB | 1 年前3
FISCO BCOS 1.3 中文文档HelloWorldcontract address 0xa807685dd3cf6374ee56963d3d95065f6f056372 HelloWorld deploy success! 调用合约 编写合约调用程序 用nodejs实现,具体实现方法请直接看demoHelloWorld.js源码。 # 进入合约所在目录 cd /mydata/FISCO-BCOS/FISCO-BCOS/tools/contract vim 'dist/conf' } } } 总结 SDK应用开发步骤总结 根据以上描述,使用web3sdk开发区块链应用主要包括如下过程: 1. 根据应用功能设计合约数据结构和接口; 2. 编写智能合约,可先用Nodejs简单验证合约代码逻辑是否正确,验证 通过后,将合约代码转换成java代码 3. 编写java应用,调用合约java接口完成合约部署和调用功能 4. 配置并编译java应用 5. 应用功能测试 #节点0的目录 ├── node1 #节点1的目录 ├── nodejs #nodejs相关安装目录 ├── node_manager.sh #节点管理脚本 ├── node.sh #nodejs相关环境变量 ├── register.sh #注册节点入网脚本, 扩容使用 ├── start.sh0 码力 | 491 页 | 5.72 MB | 1 年前3
The Idris Tutorial Version 0.9.18Target Idris is capable of producing JavaScript code that can be run in a browser as well as in the NodeJS environment or alike. One can use the FFI to communicate with the JavaScript ecosystem. 13.7.1 Code resulting file can be embedded into your HTML just like any other JavaScript code. Generating code for NodeJS is slightly different. Idris outputs a JavaScript file that can be directly executed via node. $ will automatically add a newline to the end of each string. This behaviour does not show up in the NodeJS code generator. 13.7.2 Using the FFI To write a useful application we need to communicate with0 码力 | 69 页 | 316.20 KB | 1 年前3
Node.js - the coreOverview ... “Node's goal is to provide an easy way to build scalable network programs.” http://nodejs.org/#about A full programming environment, not just for building “servers” “The official name of Global, JSON, Math, Number, Object, RegExp, String 2. Core Modules included with Node http://nodejs.org/docs/latest/api/ view source at https://github.com/joyent/node JavaScript is in lib directory specified name, then tries these file extensions: .js, .json, .node for more detail, see http://nodejs.org/ docs/latest/api/modules.html Node.js console Methods similar to methods supported in browsers0 码力 | 124 页 | 7.87 MB | 1 年前3
The Idris Tutorial Version 0.11Target Idris is capable of producing JavaScript code that can be run in a browser as well as in the NodeJS environment or alike. One can use the FFI to communicate with the JavaScript ecosystem. 14.7.1 Code resulting file can be embedded into your HTML just like any other JavaScript code. Generating code for NodeJS is slightly different. Idris outputs a JavaScript file that can be directly executed via node. $ will automatically add a newline to the end of each string. This behaviour does not show up in the NodeJS code generator. 14.7.2 Using the FFI To write a useful application we need to communicate with0 码力 | 71 页 | 314.20 KB | 1 年前3
The Idris Tutorial Version 0.9.20.1Target Idris is capable of producing JavaScript code that can be run in a browser as well as in the NodeJS environment or alike. One can use the FFI to communicate with the JavaScript ecosystem. 14.7.1 Code resulting file can be embedded into your HTML just like any other JavaScript code. Generating code for NodeJS is slightly different. Idris outputs a JavaScript file that can be directly executed via node. $ will automatically add a newline to the end of each string. This behaviour does not show up in the NodeJS code generator. 14.7.2 Using the FFI To write a useful application we need to communicate with0 码力 | 71 页 | 316.18 KB | 1 年前3
3 在AWS部署与发布你面向全球的Python Serverless应用 谢洪恩Runtime Folders Python python python/lib/python3.7/site-packages (site directories) Node.js nodejs/node_modules nodejs/node8/node_modules (NODE_PATH) Java java/lib (CLASSPATH) Ruby ruby/gems/2.5.0 (GEM_PATH) (LD_LIBRARY_PATH) • AWS Lambda was released in 2014(almost 5 years) • Support Python 3.7/3.6/2.7, Java 8, NodeJS 10/8.10 .NET Core 2.1(C# and PowerShell) , Go 1.x, Ruby 2.5 • Cloud9 IDE Integration • Environment Runtime Folders Python python python/lib/python3.7/site-packages (site directories) Node.js nodejs/node_modules nodejs/node8/node_modules (NODE_PATH) Java java/lib (CLASSPATH) Ruby ruby/gems/2.5.0 (GEM_PATH)0 码力 | 53 页 | 24.15 MB | 1 年前3
The Node.js Handbook
convenient ones. Official packages for all the major platforms are available at https://nodejs.org/en/download/. There you can choose to download an LTS version (LTS stands for Long Term Support) brew install node Other package managers for Linux and Windows are listed in https://nodejs.org/en/download/package-manager/ nvm is a popular way to run Node. It allows you to easily switch in the browser we use ES Modules, a standard that's recently landed in Node.js as well (https://nodejs.org/api/esm.html) Going forward ES Modules ( import ) are the way to load modules across all JavaScript0 码力 | 161 页 | 1.66 MB | 1 年前3
02. Service Mesh落地之后_为sidecar注入灵魂 - 周群力进程通信 熔断限流 负载均衡 Service Mesh 落地实践 7 基础设施 MOSN RPC MQ Actuator Cache Config 鉴权 配置 Java/NodeJS/C++/… App P a a S 降级限流 流量镜像 … 消息 缓存 8 事情没有那么 简单 新的挑战 1:应用跟基础设施强绑定 9 MOSN App 业务逻辑 RPC 基础设施 RPC Cache MQ Config 新的挑战 2:异构语言接入成本高 11 MOSN NodeJS 业务逻辑 RPC SDK 通信序列化协议 RPC SOFA-RPC 基础设施 新的挑战 2:异构语言接入成本高 12 MOSN NodeJS 业务逻辑 RPC SDK 通信序列化协议 RPC Cache MQ Config SOFA-RPC Redis Redis SOFA-MQ SOFA- config 基础设施 X SDK 通信序列化协议 新的挑战 2:异构语言接入成本高 13 MOSN NodeJS 业务逻辑 X SDK 通信序列化协议 RPC Cache MQ Config python 业务逻辑 X SDK 通信序列化协议 go 业务逻辑 X SDK 通信序列化协议 C++ 业务逻辑 X SDK0 码力 | 63 页 | 880.85 KB | 1 年前3
《Slides Dev Web》 05. JavaScript & DOM
26https://developer.mozilla.org/en/docs/Web/Events/DOMContentLoaded 27https://nodejs.org 28https://www.reddit.com/r/node/comments/nx9qqr/deno_vs_nodejs_a_comparison_you_need_to_know/ 29https://www.npmjs.com 30https://colorlib Document • Trouver ou modifier des éléments • Méthodes de Document 31https://www.tutorialspoint.com/nodejs/index.htm 32https://runkit.com 6 Figure 1: DOM tree 7 querySelector(), querySelectorAll(), getElementById()0 码力 | 10 页 | 91.95 KB | 1 年前3
共 309 条
- 1
- 2
- 3
- 4
- 5
- 6
- 31













