I would like to propose enabling support for JSON files to make configurations easier to modify during installation, when migrating sites, or when deploying new distributions. This approach will greatly lower the barrier to entry for web designers, non-developers, and site builders, making Backdrop CMS much more accessible and easier to manage.
For example:In the file core\profiles\standard\standard.install, lines 108 through 365 can be completely replaced by just using JSON files.
such as:
node.type.page.json
node.type.card.json
node.post.card.json
The same applies to taxonomies, for instance:
taxonomy.vocabulary.tags.json
Furthermore, I managed to export the fields directly from
admin/config/development/configuration/single/export
and place them inside the configuration folder (config) of the distribution to be used during installation.
The question is: Why do we still need all this boilerplate PHP code and hundreds of lines of scripting when we already have the Configuration Manager providing simple, lightweight, and easy-to-use JSON files?"
I would like to propose enabling support for JSON files to make configurations easier to modify during installation, when migrating sites, or when deploying new distributions. This approach will greatly lower the barrier to entry for web designers, non-developers, and site builders, making Backdrop CMS much more accessible and easier to manage.
For example:In the file core\profiles\standard\standard.install, lines 108 through 365 can be completely replaced by just using JSON files.
such as:
node.type.page.json
node.type.card.json
node.post.card.json
The same applies to taxonomies, for instance:
taxonomy.vocabulary.tags.json
Furthermore, I managed to export the fields directly from
admin/config/development/configuration/single/export
and place them inside the configuration folder (config) of the distribution to be used during installation.
The question is: Why do we still need all this boilerplate PHP code and hundreds of lines of scripting when we already have the Configuration Manager providing simple, lightweight, and easy-to-use JSON files?"