node.js link database
node.js link database
1. Premise
The computer has node installed. You can use the win+R key, enter cmd, and then enter node -v to check the version; Then enter npm -V to check the installed version of npm After all the above, create an empty folder named projects, which creates three empty folders: JQ, HTML and API In the jq folder, impo ...
Posted by jibosh on Tue, 08 Mar 2022 13:55:17 +0100
7hutool actual FileUtil file tool class (common operation methods for more than 100 files)
Technical work should be rewarded
follow+Click three times (like, comment, collect) and watch again to form a good habit
hutool actual combat (take you to master various tools inside) directory
Purpose: File tool class (common operation of files)
Usage scenario
Provide common operation methods for more than 100 files, including but not li ...
Posted by webing on Tue, 08 Mar 2022 01:29:07 +0100
Using Cloud DB to build APP quick start - Web
summary
The data of the Web application will be stored on the cloud side, and the data will not be cached locally. During data management, you will directly operate cloud side data. The Web SDK will guarantee the communication and communication security between your application and cloud database.
This sample application demonstrates how to q ...
Posted by RClapham on Sat, 05 Mar 2022 20:55:11 +0100
JS advanced part
JS advanced part
judgeObject reference typeResearch on undefined and nullDistinguish between variable types and data typesData, variables and memoryjs function parameters are passed as valuesHow does JS engine manage memoryJS object
When to use ['attribute name'] and when to use it JS function object
The difference between call and apply ...
Posted by Runnion on Thu, 03 Mar 2022 08:36:51 +0100
Sorting out javascript object knowledge points
Article reference
https://www.w3school.com.cn/js/js_object_definition.asp
JavaScript object definition
In js, almost everything is an object: Booleans are objects (if defined with the new keyword) Numbers are objects (if defined with the new keyword) A string is an object (if defined with the new keyword) Dates are always objects Arithm ...
Posted by simshaun on Thu, 03 Mar 2022 08:25:11 +0100
Use vue to jump between registration page, login page and home page and maintain login status [complete code]
Article catalogue
preface1, Simple implementation of page
1. Login page2. Registration page3. Home page (display personal information) 2, Logical implementation
1. Use of localstorage2. Function realization
Sign inregisterhomepageRouting profile summary
preface
This article mainly explains how to use vue to realize the j ...
Posted by PHPHorizons on Wed, 02 Mar 2022 06:18:38 +0100
Build component library from 0 to 1
brief introductionFrom implementing the basic architecture of the project - > supporting multi specification packaging - > implementing on-demand loading - > publishing npm packages, take you to build component libraries from 0 to 1.Construction projectInitialize project directorymkdir lyn-comp-lib && cd lyn-comp-lib && ...
Posted by Gokul on Tue, 08 Feb 2022 05:50:32 +0100
Release your own front-end package with vite+lerna and verdaccio
preface
Years ago, I made a project similar to user portrait, which has independent functions and may be embedded by many projects as a functional module, so I naturally thought of making this project into a component output. Vue cli provides Library packaging mode Therefore, I only need to copy the packaged files to other projects after each d ...
Posted by vcv on Tue, 01 Feb 2022 13:45:35 +0100
npm common commands and configurations
1, Official website
https://www.npmjs.com/
The software package can be found here. If you want to download a software package, you can first search on the official website, then copy the name and install
2, Common commands
1,npm init -y
xinxizhongxin-lijin:npm-study lijin$ npm init -y
Wrote to /Users/lijin/Desktop/npm-study/package.json: ...
Posted by Wynder on Tue, 01 Feb 2022 00:16:54 +0100
Generate Excel spreadsheet from the server (Node.js+SpreadJS)
Node.js is a JavaScript running environment based on Chrome V8 engine, which is usually used to create web applications. It can handle multiple connections simultaneously and is not thread dependent like most other models.
For Web developers, the scenario of obtaining data from a database or Web server and then outputting it to an Excel file f ...
Posted by shadow1200 on Wed, 26 Jan 2022 14:24:17 +0100