Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How do you handle Country Code TLD names in your packages/namespaces?

The convention is that you use your company's domain. That is quite simple but what if it is something like www.mycompany.co.uk.

Now this wouldn't be a problem if it were www.mycompany.com. That is fairly simple com.mycompany.Class

What are we meant to do with the first?

uk.co.mycompany.Class OR co.uk.mycompany.Class? Or something else altogether?

like image 298
uriDium Avatar asked Dec 23 '09 18:12

uriDium


1 Answers

uk.co.mycompany.Class

It is a simple reverse of your URL. Note that in the first example the domain you actually own is mycompany.com, not just www.mycompany.com

like image 57
Guvante Avatar answered Oct 25 '22 05:10

Guvante