What do you mean by scaffolding? How do we use it?

devquora
devquora

Posted On: Feb 22, 2018

 

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”.

    Related Questions

    Please Login or Register to leave a response.

    Related Questions

    Java Grails Interview Questions

    What are the best practices to be followed while developing a grails application?

    Building an application using grails framework is quite easy. But, when building it the right way we need to follow the..

    Java Grails Interview Questions

    What is the use of bootstrap.groovy?

    Sometimes a situation occurs in which a particular task is to be carried out every time the application starts or stops..

    Java Grails Interview Questions

    What do you mean by closures?

    A closure is a short and anonymous block of code which is just used to span a few lines of code. This block of code can..