Tag:node.js

  • Compare node JS and DeNO

    Time:2022-6-18

    catalogue preface What is DeNO? And node JS comparison Architecture Es module Dependency management Typescript and other features API security So what does that mean? baseline preface If you have been focusing on the web development field, you may have heard a lot about DeNO recently – a new JavaScript runtime, which may also be […]

  • node. JS how to make full use of multi-core CPU

    Time:2022-5-26

    catalogue summary node. JS method of making full use of multi-core CPU Four ways for node to create child processes summary Nodejs is built based on the V8 engine of Chrome browser, which shows that its model is similar to the browser. Our JavaScript will run on a single thread of a single process. However, […]

  • Why node JS is not suitable for large projects

    Time:2022-5-25

    catalogue preface 1. Composition of application 2. Types of applications 3. Application service process 4. Application bottleneck 5. Distributed application 6. Multi process node js preface First of all, we should clarify what is large-scale application. In fact, it is a matter of different opinions, and it is a philosophical problem, not a technical problem. […]

  • node. JS deploy Vue code

    Time:2022-5-3

    Technology: node JS + Express framework preface After the Vue code is packaged, the dist file is generated, and the index.exe in it is opened directly HTML, the page cannot be displayed normally So you need to deploy them with the server. Follow me to use node JS rapid deployment! Note: Vue packaging commandnpm run […]

  • Wvppro + zlmedia Kit + Dahua camera streaming + Android analog gb28181 device streaming

    Time:2022-4-28

    1. Project source code WVP Pro GitHubWVP is a gb28181 platform ZLMediaKit GitHub Installation reference tutorial Introduction to national standard gb28181_ Embedded in Peng YuYan’s blog – blog_ twenty-eight thousand one hundred and eighty-one 2. Deploy WVP Pro project (1) Download WVP Pro source code git clone https://gitee.com/pan648540858/wvp-GB28181-pro.git ♫)application. YML specifies that the configuration file […]

  • C # and MySQL connection

    Time:2022-4-27

    C # and MySQL connection Dynamic link library of MySQL and c# connection. This article is based on the premise that MySQL database has been installed. It is recommended to select connector during installation Net 6.9, which contains the dynamic link library of MySQL and c# connection. If the version is not net6 9. In […]

  • ERESOLVE unable to resolve dependency tree

    Time:2022-4-23

    Reprinted from:Maple13 blogArticlesERESOLVE unable to resolve dependency tree Error reporting npm ERR! code ERESOLVE npm ERR! ERESOLVE unable to resolve dependency tree npm ERR! npm ERR! While resolving: [email protected] npm ERR! Found: [email protected] npm ERR! node_modules/react npm ERR! [email protected]”^16.8.6″ from the root project npm ERR! npm ERR! Could not resolve dependency: npm ERR! peer [email protected]”^15.0.0″ […]

  • Node. JS connection redis display clientclosedererror error solution

    Time:2022-4-22

    problem: call the lpush function of redis to display lpush is not a function The code is as follows: const redis = require(‘redis’); const db = redis.createClient(); class Entry { … save(cb) { const entryJSON = JSON.stringify(this); db.lpush( ‘entries’, entryJSON, (err) => { if (err) return cb(err); cb(); } ); } … } module.exports = […]

  • [front end architecture] front end architecture

    Time:2022-4-17

    Article catalog 1. Front end architecture responsibilities 2. Understanding of the three swordsmen from the perspective of Architecture html: CSS: JS: 3. Significance of technical specifications Technology selection resource management 4. Front end safety Cross site scripting attack 5. Performance optimization Performance bottleneck Browser request concurrency limit Code layer and optimization [DOM level optimization] [link […]

  • [front end architecture] front end architecture

    Time:2022-4-17

    Article catalog 1. Front end architecture responsibilities 2. Understanding of the three swordsmen from the perspective of Architecture html: CSS: JS: 3. Significance of technical specifications Technology selection resource management 4. Front end safety Cross site scripting attack 5. Performance optimization Performance bottleneck Browser request concurrency limit Code layer and optimization [DOM level optimization] [link […]

  • The first intimate contact of electron — the past and present life of a data extraction tool (2)

    Time:2022-4-13

    Continue to talk about my programming process last time. Near August 2021, I first came into contact with JavaScript. To be exact, I should be exposed to HTML, which contains various elements. For a moment, I had the feeling of dreaming back to VB GUI, and the interface was changed. The features that run on […]

  • Note: Javascript compilation and execution

    Time:2022-4-11

    1. JS compilation and execution, event loop Single threaded language JavaScript is a single threaded language, i.eIn the browser, there is only one thread executing JS code on a page。 Processes and threads Suppose we have a factory (process), thenThe independent resources owned by the factory are equivalent to the memory allocated to us by […]