本文实例为大家分享了Node.js实现用户登录注册的具体代码,供大家参考,具体内容如下 IDE:WebStorm 工程目录:  数据库表  Login.js: /** * Created by linziyu on 2017/7/8. */ /** * express接收html传递的参数 */ var express=require('express'); var app=express(); var mysql=require('mysql'); /** * 配置MySql */ var connection = mysql.createConnection({
2022-05-06 17:39:18 64KB js od pr
1
微信小程序demo:基于node:wechat app of girls scrapy spider via Node.js
2022-05-04 19:07:34 4.86MB 小程序 源码
如标题所示,遍历文件夹下的所有文件,主要功能如下: 传入一个路径,读取路径里面所有的文件 遍历读取的文件,判断当前文件是文件还是文件夹 当前目录为文件,打印出当前文件绝对路径 当前目录为文件夹,获取文件夹路径,继续读取路径下文件 遍历完目录中的所有文件为止 代码中用到的几个方法 path.resolve(path) 一个路径或路径片段解析成一个绝对路径,返回解析后的路径字符串 fs.readdir(path[,option],callback) 读取目录下面的文件,返回目录下的文件列表对象,如果传入的是个文件,返回这个文件 fs.stat(path,callback) 获取文件信息对象Stat
2022-05-02 19:12:26 35KB js od 递归
1
NULL 博文链接:https://yanwenjinhaha.iteye.com/blog/2043016
2022-05-02 10:45:30 967KB 源码 工具
1
英文原版,第二版,无水印。
2022-04-29 14:37:59 19.03MB Learning Node.js
1
Learning Node.js Development_Code 源码 本资源转载自网络,如有侵权,请联系上传者或csdn删除 查看此书详细信息请在美国亚马逊官网搜索此书
2022-04-29 14:28:12 249KB Learning Node.js
1
Packt.Learning.Node.js.Development.1788395549 True PDF Learning Node.js Development: Learn the fundamentals of Node.js, and deploy and test Node.js applications on the web A comprehensive, easy-to-follow guide to creating complete Node apps and understanding how to build, deploy, and test your own apps. Key Features Entirely project-based and practical Explains the "Why" of Node.js features, not just the "how", providing you with a deep understanding and enabling you to easily apply concepts in your own applications Covers the full range of technologies around Node.js - NPM, version control with Git, and much more Book Description Learning Node.js Development is a practical, project-based book that provides you with all you need to get started as a Node.js developer. Node is a ubiquitous technology on the modern web, and an essential part of any web developers' toolkit. If you are looking to create real-world Node applications, or you want to switch careers or launch a side project to generate some extra income, then you're in the right place. This book has been written around a single goal-turning you into a professional Node developer capable of developing, testing, and deploying real-world production applications. Learning Node.js Development is built from the ground up around the latest version of Node.js (version 9.x.x). You'll be learning all the cutting-edge features available only in the latest software versions. This book cuts through the mass of information available around Node and delivers the essential skills that you need to become a Node developer. It takes you through creating complete apps and understanding how to build, deploy, and test your own Node apps. It maps out everything in a comprehensive, easy-to-follow package designed to get you up and running quickly. What you will learn Learn the fundamentals of Node Build apps that respond to user input Master working with servers Learn how to test and debug applications Deploy and update your apps in the real world Create responsive asynchronous web applications Who This Book Is For This book targets anyone looking to launch their own Node applications, switch careers, or freelance as a Node developer. You should have a basic understanding of JavaScript in order to follow this course. Table of Contents Chapter 1 Getting Set Up Chapter 2 Node Fundamentals - Part 1 Chapter 3 Node Fundamentals - Part 2 Chapter 4 Node Fundamentals - Part 3 Chapter 5 Basics of Asynchronous Programming in Node.js Chapter 6 Callbacks in Asynchronous Programming Chapter 7 Promises in asynchronous programming Chapter 8 Web Servers in Node Chapter 9 Deploying Applications to Web Chapter 10 Testing the Node Application part 1 Chapter 11 Testing the Node Application part 2
2022-04-29 14:27:05 50.62MB Node.js
1
LearningNodeJS, 我的书附带的源代码,"Learning Node.JS" LearningNodeJS我的书附带的源代码,"学习 node.js,第二版"。 每一次,我将更新最新版本的node.js,并让每个人知道代码( 并将在源树中进行这些更改) 是否需要更改或者更新。第一版第一版源代码可以通过分支(
2022-04-29 14:21:47 3.64MB 开源
1
Android--›360全面插件化RePlugin框架交互通信使用概述
2022-04-29 12:11:11 258KB Android开发-插件机制
1
node.js websocket socket.io unity 同步 使用Node.js+socket.io制作服务端,unity+socket.io for unity 制作客户端 ,验证位置同步Demo (Javascript代码可使用Webstorm等IDE进行编写)
2022-04-28 20:15:13 309KB node.js websocket socket.io unity
1