denny / ShinyCMS

ShinyCMS is an open source CMS. This is the Perl version, built with Catalyst and DBIC. (There is also a Ruby on Rails version: www.github.com/denny/ShinyCMS-ruby)
58 stars 24 forks source link

Feature request: Configuration Assistant #53

Open Hiranyaloka opened 9 years ago

Hiranyaloka commented 9 years ago

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.

denny commented 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.

Hiranyaloka commented 9 years ago

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

Hiranyaloka commented 9 years ago

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.