URL mapping with constraints in Grails

Hi guys,I am back with my new blog post. As some times we have scenario to map specific URL for example “www.myexample.com/someusername” we can do this mapping easily '$_username'{ controller= "profile" action= "show" } but the issue is...

Case Insensitive URL Mapping In Grails

In grails we can do URL Mapping easily but URL also need to be case insensitive. Below is the example to make URL case insensitive. '$_controller/$_action' { controller = { params?._controller?.toLowerCase() } action = { params?._actionName?.toLowerCase() }...

Data Transfer Object(DTO) in grails

Data transfer object (DTO) is an object that carries data between processes. Working with a remote interface where each call to it is expensive. Response to each call should bring as much data as possible so if multiple request are required to bring data for a...