current location:Home > Technical Articles > Backend Development
- Direction:
- All web3.0 Backend Development Web Front-end Database Operation and Maintenance Development Tools PHP Framework Daily Programming WeChat Applet Common Problem Other Tech CMS Tutorial Java System Tutorial Computer Tutorials Hardware Tutorial Mobile Tutorial Software Tutorial Mobile Game Tutorial
- Classify:
-
- What is the use of vue encapsulating axios?
- Vue encapsulating axios can improve code quality and make use more convenient. The API of axios is very friendly, and developers can easily use it directly in the project; however, as the project scale increases, every time an HTTP request is initiated, it is necessary to write operations such as setting timeout, setting request headers, error handling, etc. . This kind of duplication of work not only wastes time, but also makes the code redundant and difficult to maintain; in order to improve the quality of our code, we should encapsulate axios twice in the project before using it, which can make it more convenient to use.
- Front-end Q&A . nodejs 2397 2022-12-19 17:42:48
-
- Does grpc only support go language?
- grpc does not only support go language. grpc is a communication protocol based on HTTP/2 and supports multi-language RPC framework; currently provides C, Java and Go language versions, namely grpc, grpc-java, grpc-go; the C version supports C, C++, Node.js, Python, Ruby, Objective-C, PHP and C# supported.
- Golang . nodejs 5418 2022-12-16 15:51:29
-
- A brief analysis of 6 ways Node initiates HTTP requests
- How to initiate HTTP request in Node? This article will explore with you the 6 different ways Node initiates HTTP requests. I hope it will be helpful to you!
- JS Tutorial . nodejs 3781 2022-12-09 20:08:38
-
- A brief analysis of creating a simple HTTP server using Node
- How to create an HTTP server using NodeJS? The following article will introduce to you how to create a simple HTTP server using Node. I hope it will be helpful to you!
- JS Tutorial . nodejs 2202 2022-12-05 18:35:22
-
- Take you to master the formatting method in VSCode
- How to format the program in VSCode? This article will guide you step by step to understand and master the formatting method in VSCode. I hope it will be helpful to you!
- VSCode . nodejs 3760 2022-12-02 21:18:27
-
- Let's talk about how to use pkg to package Node.js projects into executable files.
- How to package nodejs executable file with pkg? The following article will introduce to you how to use pkg to package a Node project into an executable file. I hope it will be helpful to you!
- JS Tutorial . nodejs 4922 2022-12-02 21:06:11
-
- Let's talk about how to use axios in vue project in this article? Basic usage sharing
- This article explains in detail the examples of axios in the vue project. When using the Vue.js framework to develop front-end projects, ajax requests are often sent to the server interface. During the development process, axios needs to be further encapsulated to facilitate use in the project.
- Vue.js . nodejs 2973 2022-11-23 20:28:32
-
- What is modularity? Let's talk about Node modularity
- What is modularity? This article will give you an in-depth analysis of Node.js modularization. I hope it will be helpful to you!
- JS Tutorial . nodejs 1787 2022-11-23 20:17:35
-
- A brief analysis of how to use the Socket.IO module gracefully in node
- How to use the Socket.IO module in node? The following article will introduce to you how to use the Socket.IO module elegantly in node.js. I hope it will be helpful to you!
- JS Tutorial . nodejs 1465 2022-11-22 19:53:14
-
- Why does the mini program need to convert es6 to es5?
- For browser compatibility. As a new specification for JS, ES6 adds a lot of new syntax and API. However, modern browsers do not have high support for the new features of ES6, so ES6 code needs to be converted to ES5 code. In the WeChat web developer tools, babel is used by default to convert the developer's ES6 syntax code into ES5 code that is well supported by all three terminals, helping developers solve development problems caused by different environments; only in the project Just configure and check the "ES6 to ES5" option.
- Front-end Q&A . nodejs 2688 2022-11-21 18:15:46
-
- An article to talk about the fs file module and path module in Node (case analysis)
- This article uses the case of reading and writing files and processing paths to learn about the fs file module and path module in Node. I hope it will be helpful to everyone!
- JS Tutorial . nodejs 1738 2022-11-18 20:36:17
-
- An article to talk about processes and sub-processes in Node.js
- This article will give you an in-depth understanding of processes and sub-processes in Node.js. I hope it will be helpful to you!
- JS Tutorial . nodejs 2061 2022-11-17 20:39:52
-
- What is a callback function in jquery
- In jquery, a callback function is a function that is passed as a parameter. Function A is passed as a parameter (function reference) to another function B, and this function B executes function A, then function A is called a callback function; if there is no name (function expression), it is called an anonymous callback function. The use of callback functions can greatly improve the efficiency of programming, which makes it widely used in modern programming.
- Front-end Q&A . nodejs 1859 2023-03-15 20:03:50
-
- What to do if node is not compatible with gulp
- Solution to the incompatibility between node and gulp: 1. Create a new "npm-shrinkwrap.json" file in the same directory as the "package.json" file; 2. Execute the "npm install" command; 3. Execute on the command line Just "gulp build".
- Front-end Q&A . nodejs 1744 2022-11-08 16:24:57
-
- What should I do if node.js outputs Chinese garbled characters?
- Solution to node.js outputting Chinese garbled characters: 1. Use the writeHeader and write methods to write the format settings into the request header and html interface; 2. Use "resp.setHeader('Content-Type','text/html; charset=utf-8');" method to set the request header.
- Front-end Q&A . nodejs 2035 2022-11-08 16:13:57