Scaffold in normal English means
"scaf·fold·ing/ˈskafəldiNG/Noun:
In Grails and some more "Model-View-Controller (MVC for short)" frameworks this term is used to describe the automatic "Create-Read-Update-Delete" database functions that are constructed and executed at run time.
For example if you have defined a domain class in Grails, the table can be created by the framework. More, Grails also allows you to have web interface for the domain automatically for the said operations on your table:
A real use of a SCAFFOLD is in prototyping your design, wherein most of these code does not make much importance to you. Once the design is frozen you may move to more secure and customized way of CRUD operations.
"scaf·fold·ing/ˈskafəldiNG/Noun:
- A temporary structure on the outside of a building, made of wooden planks and metal poles, used by workers while building, repairing, or...
- The materials used in such a structure."
In Grails and some more "Model-View-Controller (MVC for short)" frameworks this term is used to describe the automatic "Create-Read-Update-Delete" database functions that are constructed and executed at run time.
For example if you have defined a domain class in Grails, the table can be created by the framework. More, Grails also allows you to have web interface for the domain automatically for the said operations on your table:
- CREATE (INSERT)
- READ (QUERY)
- UPDATE
- DELETE
A real use of a SCAFFOLD is in prototyping your design, wherein most of these code does not make much importance to you. Once the design is frozen you may move to more secure and customized way of CRUD operations.
0 comments:
Post a Comment