Open Hiranyaloka opened 9 years ago
I think this should be done with a database update script, not a config file. Look at the database demo build scripts for basic examples, although it could be done more neatly with https://metacpan.org/pod/DBIx::Class::Fixtures and/or related/similar modules.
Scripts are great for scripters, for theme development, a yaml file is more manageable for themers. See for example: https://github.com/openmelody/mt-plugin-configassistant
DBIx::Class:Fixtures looks nice. The data dump it provides/uses could be converted to and from a YAML file, which is essentially what I'm looking for.
A configuration file (yaml?) that dynamically defines templates, sections, pages, shops, etc along with their elements, products, categories, and static files. This would greatly ease theme deployment on new or existing installations.