In Domain Driven Approach - Where to keep the common services?
Eg., Sometimes we may need to have common functions like getcountrylist, getstatelist, getcitylist, (or some other data from MASTER tables) to show the dropdown in the different pages/modules of UI. Assume if these data are present in the database then where we need to have these functions.
Can i keep these functions inside a Domain/Common/CommonServices.php (I mean inside domain layer is good?) (or)
Can i keep these functions inside a Infra/Common/CommonServices.php (in this case i need to connect to dao layer directly from Infraservice layer which i feel is not correct?)
What is the right name / suggestible name for the file which contains these common functions. (CommonServices.php (or) CommonHelper.php (or) CommonUtils.php (or) MetadataService.php (or) any of your suggestions)