일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | 6 | |
7 | 8 | 9 | 10 | 11 | 12 | 13 |
14 | 15 | 16 | 17 | 18 | 19 | 20 |
21 | 22 | 23 | 24 | 25 | 26 | 27 |
28 | 29 | 30 | 31 |
- concept
- bitcoin
- HTML
- CLASS
- web
- Redux
- middleware
- CSS
- express.js
- tailwindcss
- typeScript
- Props
- SSR
- JavaScript
- 삶
- built in object
- 기준
- API
- Ethereum
- blockchain
- graphQL
- evm
- Interface
- node.js
- nextJS
- hardhat
- REACT
- solidity
- error
- useState
- Today
- Total
목록전체 글 (369)
ReasonJun
![](http://i1.daumcdn.net/thumb/C150x150/?fname=https://blog.kakaocdn.net/dn/APB2Q/btss91CBn26/lZY8RYUiUqSiAJnTeGOBw0/img.png)
The MVC pattern in Express.js is a software design pattern that separates an application into three interconnected parts: the model, the view, and the controller. The model is responsible for storing and retrieving data. The view is responsible for presenting the data to the user. The controller is responsible for handling user requests and updating the model. The MVC pattern is a popular choice..
Middleware in Express.js is a function that is executed before the request is routed to a specific controller or action. Middleware can be used to perform any number of tasks, such as: Logging the request and response. Validating the request data. Encrypting or decrypting the request data. Caching the request data. Generating a response. And much more. Middleware functions are chained together, ..
The res.end() and res.send() methods in Express.js are both used to send data back to the client. However, there are some key differences between the two methods. res.end() only sends the data that is passed to it. It does not set any headers or end the response. res.send() sends the data that is passed to it, and it also sets the Content-Type header to the appropriate value. It also ends the re..
The res.json() and res.send() methods in Express.js are both used to send data back to the client. However, there are some key differences between the two methods. res.json() sends the data in JSON format. This is the preferred format for sending data between applications, as it is both human-readable and machine-readable. res.send() can send data in any format. This includes JSON, HTML, images,..
Express.js is a minimal and flexible Node.js web application framework that provides a robust set of features for web and mobile applications. It is designed to be easy to use and extend, and it is used by a wide variety of developers, from beginners to experienced professionals. Some of the features of Express.js include: Routing: Express.js provides a powerful routing system that allows you to..
setTimeout, setImmediate, and process.nextTick are all functions that allow you to schedule a callback function to be executed after a delay. However, they work in different ways and have different performance implications. setTimeout(): setTimeout() schedules a callback function to be executed after a specified number of milliseconds. The callback function is placed on the event queue, and the ..
![](http://i1.daumcdn.net/thumb/C150x150/?fname=https://blog.kakaocdn.net/dn/R7ERy/btssZg1lqAU/FCGFm5BeUlijWB5s6aukRk/img.png)
In Node.js, the event loop is a fundamental part of its architecture and is crucial for handling asynchronous operations efficiently. It allows Node.js to perform I/O operations and other tasks without blocking the execution of other code. Understanding the event loop is essential for writing scalable and performant Node.js applications. Here's an overview of how the event loop works in Node.js:..
![](http://i1.daumcdn.net/thumb/C150x150/?fname=https://blog.kakaocdn.net/dn/t09gT/btssVXgGGtd/0rPeVC5KgynItRHT38jzJ1/img.png)
"Single-threaded" and "multi-threaded" are terms used to describe how a program or a software application manages and executes multiple tasks or threads of execution. These concepts have significant implications for how programs handle concurrency, responsiveness, and performance. Let's explore the differences between single-threaded and multi-threaded environments: Single-Threaded: Definition: ..
In Node.js, blocking and non-blocking refer to how I/O (input/output) operations are handled by the runtime environment. Understanding the difference between these two approaches is crucial for building efficient and responsive applications, especially in scenarios with high concurrency, such as web servers. Let's explore both concepts: Blocking I/O (Synchronous): In a blocking or synchronous I/..
In the context of Node.js, "bindings" typically refer to native bindings or C/C++ addons. These are modules that allow you to integrate existing C or C++ code into your Node.js applications. This capability is essential when you need to interact with low-level system libraries, hardware, or existing C/C++ codebases from your Node.js application. Here's an overview of Node.js bindings: Native Add..