Home>Article>Web Front-end> What does node scaffolding mean?
Node scaffolding is a code generation technology related to database access in the MVC framework. It can quickly build the structure of a complete project; developing based on the generated project structure can reduce time and eliminate the need to build it from scratch. The initial project facilitates multi-person collaboration and synchronization of project updates.
The operating environment of this tutorial: windows10 system, nodejs version 12.19.0, Dell G3 computer.
Scaffolding is a technology supported by some model–view–controller frameworks in which programmers can specify how the application database is used.
Scaffolding used in computing refers to one of two technologies: the first is a code generation technology related to database access in some MVC frameworks; the second is supported by various tools Project generation technology.
In the actual development process, establishing the structure of the project from scratch is a headache, so various scaffolding tools have emerged. They are rich in functions, but the core function is to quickly build a complete project structure. Developers only need to develop based on the generated project structure, which is very simple and efficient.
The role of scaffolding:
1. Reduce time, no need to build initial projects from scratch, and improve development efficiency.
2. Facilitate multi-person collaboration.
3. Project update synchronization is convenient. You only need to update the project template in the code base to download the latest project.
Scaffolding is responsible for creating initial files at the beginning of the project in the front-end workflow. Different from other functional modules, scaffolding is a completely "start-up" module without any pre-dependencies. Once the initial project files are created, there is no need for scaffolding.
The compiler or framework instruction manual, together with the predefined code templates, produces final code that the application can use to create, read, update and delete database entries, effectively treating the template as " Build more powerful applications on top of "Scaffolds".
Recommended learning: "nodejs video tutorial"
The above is the detailed content of What does node scaffolding mean?. For more information, please follow other related articles on the PHP Chinese website!