NodeJs开发之三: package.json和Package_lock.json ...
分类:
Web程序 时间:
2020-07-16 12:18:18
阅读次数:
86
首先创建java文件 HelloWorld.java public class HelloWorld { public static void main(String[] args) { String s = "Hollo World"; } } 编译 javac HelloWorld.java 生 ...
分类:
编程语言 时间:
2020-07-15 23:16:19
阅读次数:
110
Node js with microservices Tech Node.js/ Express.js / Mongo DB/ Mongoose(ODM) /postman / bodypaser: to receive data from requirest 创建3个services , stud ...
分类:
Web程序 时间:
2020-07-15 13:08:55
阅读次数:
102
import { service } from '@/utils/request' const myMix = { created () { this.helloWorld() this.getTypeList() }, methods: { helloWorld(){ console.log('h ...
分类:
其他好文 时间:
2020-07-14 18:16:57
阅读次数:
66
Node.js 安装 1.安装node.js(http://www.runoob.com/nodejs/nodejs-install-setup.html) 2.基于node.js,利用淘宝npm镜像安装相关依赖 在cmd里直接输入:cnpm install -g cnpm --registry=h ...
分类:
其他好文 时间:
2020-07-14 13:13:52
阅读次数:
55
nodejs node.js是一个基于Chrome v8引擎的javascript 运行环境。Node.js使用了一个事件驱动、非阻塞式 I/O的模型,使其轻量又高效。(由c++语言编写的)Node.js的包管理器npm,成为世界上最大的开放源代码的生态系统。 简单说:编写高性能网络服务器的java ...
分类:
Web程序 时间:
2020-07-13 21:47:27
阅读次数:
82
String str3 = "helloworld"; System.out.println(str3.substring(3)); System.out.println(str3.substring(2, 8)); String[] arr = str3.split("ow"); for (Str ...
分类:
其他好文 时间:
2020-07-13 18:43:15
阅读次数:
62
String str3 = "helloworld"; System.out.println(str3.substring(3)); System.out.println(str3.substring(2, 8)); String[] arr = str3.split("ow"); for (Str ...
分类:
其他好文 时间:
2020-07-13 18:37:24
阅读次数:
81
NodeJS适合运用在高并发、I/O密集、少量业务逻辑的场景。 node.js 为异步而生,这一点毫无疑问,但是在 CPU 和内存发面,要远远落后于 C/C++ 和 Java。特别是对于海量请求的场景,CPU 飙高,内存 GC 缓慢居高不下 来源:https://www.zhihu.com/ques ...
分类:
Web程序 时间:
2020-07-13 13:29:37
阅读次数:
88
场景 Node的Web应用框架Express的简介与搭建HelloWorld: https://mp.csdn.net/console/editor/html/106650798 Express的基本路由实现对get和post等的请求和响应: https://blog.csdn.net/BADAO_ ...
分类:
Web程序 时间:
2020-07-12 20:34:25
阅读次数:
79