Search code examples
naming-conventionspackagenamingreverse-dns

Best practice when using Reverse-DNS Package Notation and vanity domains?


When using reverse-DNS package notation (such as com.apple.ostype), what should one do when the domain name is designed to be read in its entirety (such as http://read.me)?

Strictly following the standard results in a package which, while syntactically correct, loses the desired overall identity—conversely, not following the standard retains identity but loses syntactical clarity (me.read.MyPackage versus read.me.MyPackage).

What is the common practice?


Solution

  • The common practice is: me.read.MyPackage