{"action":"created","issue":{"url":"https://api.github.com/repos/backdrop/backdrop-issues/issues/2277","repository_url":"https://api.github.com/repos/backdrop/backdrop-issues","labels_url":"https://api.github.com/repos/backdrop/backdrop-issues/issues/2277/labels{/name}","comments_url":"https://api.github.com/repos/backdrop/backdrop-issues/issues/2277/comments","events_url":"https://api.github.com/repos/backdrop/backdrop-issues/issues/2277/events","html_url":"https://github.com/backdrop/backdrop-issues/issues/2277","id":182412419,"number":2277,"title":"Allow configuration to be stored in the database","user":{"login":"sentaidigital","id":481531,"avatar_url":"https://avatars.githubusercontent.com/u/481531?v=3","gravatar_id":"","url":"https://api.github.com/users/sentaidigital","html_url":"https://github.com/sentaidigital","followers_url":"https://api.github.com/users/sentaidigital/followers","following_url":"https://api.github.com/users/sentaidigital/following{/other_user}","gists_url":"https://api.github.com/users/sentaidigital/gists{/gist_id}","starred_url":"https://api.github.com/users/sentaidigital/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sentaidigital/subscriptions","organizations_url":"https://api.github.com/users/sentaidigital/orgs","repos_url":"https://api.github.com/users/sentaidigital/repos","events_url":"https://api.github.com/users/sentaidigital/events{/privacy}","received_events_url":"https://api.github.com/users/sentaidigital/received_events","type":"User","site_admin":false},"labels":[{"id":159653627,"url":"https://api.github.com/repos/backdrop/backdrop-issues/labels/pr%20-%20needs%20work","name":"pr - needs work","color":"FFECE8","default":false},{"id":56068268,"url":"https://api.github.com/repos/backdrop/backdrop-issues/labels/status%20-%20has%20pull%20request","name":"status - has pull request","color":"d4c5f9","default":false},{"id":159654663,"url":"https://api.github.com/repos/backdrop/backdrop-issues/labels/status%20-%20needs%20feedback","name":"status - needs feedback","color":"fef2c0","default":false},{"id":54904569,"url":"https://api.github.com/repos/backdrop/backdrop-issues/labels/type%20-%20feature%20request","name":"type - feature request","color":"5319e7","default":false}],"state":"open","locked":false,"assignee":{"login":"quicksketch","id":100206,"avatar_url":"https://avatars.githubusercontent.com/u/100206?v=3","gravatar_id":"","url":"https://api.github.com/users/quicksketch","html_url":"https://github.com/quicksketch","followers_url":"https://api.github.com/users/quicksketch/followers","following_url":"https://api.github.com/users/quicksketch/following{/other_user}","gists_url":"https://api.github.com/users/quicksketch/gists{/gist_id}","starred_url":"https://api.github.com/users/quicksketch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/quicksketch/subscriptions","organizations_url":"https://api.github.com/users/quicksketch/orgs","repos_url":"https://api.github.com/users/quicksketch/repos","events_url":"https://api.github.com/users/quicksketch/events{/privacy}","received_events_url":"https://api.github.com/users/quicksketch/received_events","type":"User","site_admin":false},"assignees":[{"login":"quicksketch","id":100206,"avatar_url":"https://avatars.githubusercontent.com/u/100206?v=3","gravatar_id":"","url":"https://api.github.com/users/quicksketch","html_url":"https://github.com/quicksketch","followers_url":"https://api.github.com/users/quicksketch/followers","following_url":"https://api.github.com/users/quicksketch/following{/other_user}","gists_url":"https://api.github.com/users/quicksketch/gists{/gist_id}","starred_url":"https://api.github.com/users/quicksketch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/quicksketch/subscriptions","organizations_url":"https://api.github.com/users/quicksketch/orgs","repos_url":"https://api.github.com/users/quicksketch/repos","events_url":"https://api.github.com/users/quicksketch/events{/privacy}","received_events_url":"https://api.github.com/users/quicksketch/received_events","type":"User","site_admin":false},{"login":"sentaidigital","id":481531,"avatar_url":"https://avatars.githubusercontent.com/u/481531?v=3","gravatar_id":"","url":"https://api.github.com/users/sentaidigital","html_url":"https://github.com/sentaidigital","followers_url":"https://api.github.com/users/sentaidigital/followers","following_url":"https://api.github.com/users/sentaidigital/following{/other_user}","gists_url":"https://api.github.com/users/sentaidigital/gists{/gist_id}","starred_url":"https://api.github.com/users/sentaidigital/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sentaidigital/subscriptions","organizations_url":"https://api.github.com/users/sentaidigital/orgs","repos_url":"https://api.github.com/users/sentaidigital/repos","events_url":"https://api.github.com/users/sentaidigital/events{/privacy}","received_events_url":"https://api.github.com/users/sentaidigital/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/backdrop/backdrop-issues/milestones/3","html_url":"https://github.com/backdrop/backdrop-issues/milestone/3","labels_url":"https://api.github.com/repos/backdrop/backdrop-issues/milestones/3/labels","id":427669,"number":3,"title":"1.x-future","description":"Milestone for any feature that should be added or bug that should be fixed in the 1.x series at an undetermined time in the future. Please use this for any features that have not had a milestone explicitly stated.","creator":{"login":"quicksketch","id":100206,"avatar_url":"https://avatars.githubusercontent.com/u/100206?v=3","gravatar_id":"","url":"https://api.github.com/users/quicksketch","html_url":"https://github.com/quicksketch","followers_url":"https://api.github.com/users/quicksketch/followers","following_url":"https://api.github.com/users/quicksketch/following{/other_user}","gists_url":"https://api.github.com/users/quicksketch/gists{/gist_id}","starred_url":"https://api.github.com/users/quicksketch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/quicksketch/subscriptions","organizations_url":"https://api.github.com/users/quicksketch/orgs","repos_url":"https://api.github.com/users/quicksketch/repos","events_url":"https://api.github.com/users/quicksketch/events{/privacy}","received_events_url":"https://api.github.com/users/quicksketch/received_events","type":"User","site_admin":false},"open_issues":134,"closed_issues":31,"state":"open","created_at":"2013-09-14T18:40:59Z","updated_at":"2016-12-01T23:21:08Z","due_on":null,"closed_at":null},"comments":38,"created_at":"2016-10-12T01:20:01Z","updated_at":"2016-12-09T01:48:58Z","closed_at":null,"body":"There is one storage class available for `Config` to use: `ConfigFileStorage`.  I'd like the option of using a `ConfigDatabaseStorage` class that would save the same data, but in the database instead of in flat files.\r\n\r\nI can think of the following reasons why:\r\n- Makes it easier to synchronize config changes among multiple web servers in a load balanced environment.\r\n- Makes it easier to capture the entire state of an environment for debugging elsewhere.\r\n\r\n--- \r\nSummary:\r\n\r\nThis is a feature request for an option that will likely only be used by a minority of sites running Backdrop. As you can see in the discussion below, there are other reasons it might still be a candidate for core inclusion. This option would be disabled by default, so there would be no change for existing sites, or new installs.\r\n\r\nHere is a list of pros and cons for PMC review:\r\n\r\nPros\r\n* some load-balanced sites may choose use this setting.\r\n* similarity to Drupal 8 / Drupal 7 / WordPress (w/ config in db)\r\n* one less data source for devs to download.\r\n* discourages manual editing of the active configuration (security by obscurity).\r\n* Hosting platforms that were built for config-in-db projects could be used in the way they were intended (config + content together)\r\n* possible performance gain for the minority when feature IS in use (needs benchmarks)\r\n* Security improvement: databases tend to be behind firewalls and only accessible by the webheads, which protects configuration better than an easily misconfigured web server directive protecting one directory in an otherwise published files directory.\r\n* It's very hard to add this kind of feature in contrib.\r\n\r\nCons:\r\n* does not benefit at least 80% of sites using Backdrop.\r\n* increased complexity / more code to support (slightly).\r\n* database-storage is less visible than files, making Backdrop harder to learn.\r\n* Hosting platforms that were built for config-in-db projects would no longer benefit from the separation of config and content\r\n* possible performance impact on the majority when feature is NOT in use (needs benchmarks)\r\n* possible performance impact on the minority when feature IS in use (needs benchmarks)\r\n* We would need to do all automated tests w/ both file and db configs to avoid any possible exceptions.\r\n"},"comment":{"url":"https://api.github.com/repos/backdrop/backdrop-issues/issues/comments/265910664","html_url":"https://github.com/backdrop/backdrop-issues/issues/2277#issuecomment-265910664","issue_url":"https://api.github.com/repos/backdrop/backdrop-issues/issues/2277","id":265910664,"user":{"login":"jenlampton","id":397895,"avatar_url":"https://avatars.githubusercontent.com/u/397895?v=3","gravatar_id":"","url":"https://api.github.com/users/jenlampton","html_url":"https://github.com/jenlampton","followers_url":"https://api.github.com/users/jenlampton/followers","following_url":"https://api.github.com/users/jenlampton/following{/other_user}","gists_url":"https://api.github.com/users/jenlampton/gists{/gist_id}","starred_url":"https://api.github.com/users/jenlampton/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jenlampton/subscriptions","organizations_url":"https://api.github.com/users/jenlampton/orgs","repos_url":"https://api.github.com/users/jenlampton/repos","events_url":"https://api.github.com/users/jenlampton/events{/privacy}","received_events_url":"https://api.github.com/users/jenlampton/received_events","type":"User","site_admin":false},"created_at":"2016-12-09T01:48:58Z","updated_at":"2016-12-09T01:48:58Z","body":"> If we can focus on the patch, what extra hurdle is being added here?\r\n\r\nNone, that was addressing the \"make it default\" comment from above.\r\n\r\n> There should be room in the Backdrop philosophy for the classic Perlism, \"easy things should be easy, difficult things should be possible.\"\r\n\r\nI agree with this 100%, that's why I asked about what's possible to do in contrib. If it's possible (even if it's a hack) that decreases the need to get this change into core, at least any time soon. I'd love to see a contrib module first to gauge interest, then a core issue if it turns out to be in high demand."}}
{"actor":{"display_login":"jenlampton"}}