- Grails Tutorial
- Grails - Home
- Grails - Overview
- Grails - MVC Architecture
- Grails - Creating an Application
- Grails - The Command Line
- Grails - Application Profiles
- Object Relational Mapping (GORM)
- Grails - The Web Layer
- Grails - Groovy Server Pages
- Grails - Web Services
- Grails - Validation
- Grails - Plugins
Grails - The Web Layer
Description
Grails provides different types of web layers such as controllers, models, views, scopes etc as listed in the table below:
S.N. | Layers & Description |
---|---|
1 | Controllers and Actions Controller is used for handling web requests along with a default action. |
2 | Controllers and Scopes You can use the scopes for storing the variables. |
3 | Models and Views Use the models and views for managing application data and showing the state of data models respectively. |
4 | Data Binding It binds an incoming request on the object properties or graph of objects. |
Advertisements