{"action":"created","issue":{"url":"https://api.github.com/repos/ElektraInitiative/libelektra/issues/302","labels_url":"https://api.github.com/repos/ElektraInitiative/libelektra/issues/302/labels{/name}","comments_url":"https://api.github.com/repos/ElektraInitiative/libelektra/issues/302/comments","events_url":"https://api.github.com/repos/ElektraInitiative/libelektra/issues/302/events","html_url":"https://github.com/ElektraInitiative/libelektra/issues/302","id":107333800,"number":302,"title":"naming conventions for KDB","user":{"login":"markus2330","id":7949075,"avatar_url":"https://avatars.githubusercontent.com/u/7949075?v=3","gravatar_id":"","url":"https://api.github.com/users/markus2330","html_url":"https://github.com/markus2330","followers_url":"https://api.github.com/users/markus2330/followers","following_url":"https://api.github.com/users/markus2330/following{/other_user}","gists_url":"https://api.github.com/users/markus2330/gists{/gist_id}","starred_url":"https://api.github.com/users/markus2330/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/markus2330/subscriptions","organizations_url":"https://api.github.com/users/markus2330/orgs","repos_url":"https://api.github.com/users/markus2330/repos","events_url":"https://api.github.com/users/markus2330/events{/privacy}","received_events_url":"https://api.github.com/users/markus2330/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/ElektraInitiative/libelektra/labels/proposal","name":"proposal","color":"fef2c0"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-09-19T13:38:29Z","updated_at":"2015-09-29T14:40:42Z","closed_at":null,"body":"Thus Elektra is more and more used, we should start thinking about how the keynames of applications should look like. Basic convetions already [exist here](https://github.com/ElektraInitiative/libelektra/blob/master/doc/tutorials/application-integration.md), but many questions are still unanswered.\r\n\r\nThe most urgent question is about the capitalization, because it affects basically every key.\r\nE.g. for \"my app\" from \"fancy.org\" with the key \"full name\"\r\nTypical proposals are:\r\n\r\n1. /sw/org/fancy/myapp/#0/current/name/full ... use / everywhere, reverse splitted words\r\n2. /sw/fancy.org/my.app/#0/current/full.name ... use dots\r\n3. /sw/fancy-org/my-app/#0/current/full-name ... use dash\r\n4. /sw/fancy_org/my_app/#0/current/full_name ... use underscore\r\n5. /sw/fancyOrg/myApp/#0/current/fullName ... camelCase\r\n\r\nObviously, mixed solutions are possible too. E.g. dot for domain names, but underscore for key names. At least, following dimensions exist (each of them could have different naming conventions)\r\n\r\n1. top level names like `sw` (software)\r\n2. domain names to have no conflicts for applications with same names\r\n3. application names\r\n4. profile names (`current`, `default`,..)\r\n5. key names\r\n\r\nLike for arrays, these are only conventions and nothing can stop someone from not be consistent."},"comment":{"url":"https://api.github.com/repos/ElektraInitiative/libelektra/issues/comments/144081102","html_url":"https://github.com/ElektraInitiative/libelektra/issues/302#issuecomment-144081102","issue_url":"https://api.github.com/repos/ElektraInitiative/libelektra/issues/302","id":144081102,"user":{"login":"omnidan","id":668674,"avatar_url":"https://avatars.githubusercontent.com/u/668674?v=3","gravatar_id":"","url":"https://api.github.com/users/omnidan","html_url":"https://github.com/omnidan","followers_url":"https://api.github.com/users/omnidan/followers","following_url":"https://api.github.com/users/omnidan/following{/other_user}","gists_url":"https://api.github.com/users/omnidan/gists{/gist_id}","starred_url":"https://api.github.com/users/omnidan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/omnidan/subscriptions","organizations_url":"https://api.github.com/users/omnidan/orgs","repos_url":"https://api.github.com/users/omnidan/repos","events_url":"https://api.github.com/users/omnidan/events{/privacy}","received_events_url":"https://api.github.com/users/omnidan/received_events","type":"User","site_admin":false},"created_at":"2015-09-29T14:40:42Z","updated_at":"2015-09-29T14:40:42Z","body":"A variation of 1 without the `/org` part would be nice:\r\n\r\n/sw/fancy/myapp/#0/current/name/full"}}