gsp - Difference between view and template in Grails -
in grails app, trying figure out when use view , when use template gsp. there obvious reasons? or come down reuse?
basically template (reusable) part of view. useful splitting view logical parts and/or reusing same code different views.
so, if you're rendering whole page - use view. if need small part - use template.
see docs views , templates - http://grails.org/doc/latest/guide/theweblayer.html#viewsandtemplates
Comments
Post a Comment