I am compiling the existing Groovy and Grails code base, but the package structure seems very strange to me.
For a domain class, they put it in the next package com.company.domain, then for the controller of this class it is com.company.controller
This structure seems very unpleasant to me, because the domain and controller classes are already organized under their own folders in the grails-app folder.
My plan is to remake packages and group based on actual usage, for example com.company.billing and com.company.util.
Are there any flaws in my plan? Is there anything good in the current package structure that I am missing?
Jeff beck
source share