Scaffolding is used to generate some basic CRUD interfaces for a domain class. It includes the necessary views and some controller actions for creating, updating, reading, and deleting CRUD operations. There are basically two types of scaffolding-
-
Static scaffolding: with the help of this, controller and views can be generated to create certain interfaces using the command line.
-
Dynamic scaffolding: using dynamic scaffolding, various functions like- index, show, edit, etc. can be dynamically implemented by default by using the runtime scaffolding mechanism.
For expressing a dependency on the scaffolding plugin, we can use-“build.gradle”.