Ruby On Rails CMS Framework
- by stel
Hi!
I want to create a framework fo rails application. It will be a rails application but packed into gem (like a Radiant CMS).
It must work like this:
gem install cmsframework
and then:
cmsframework the_app
After that we have a sceleton of rails app without any controllers etc.. - all controllers loaded from cmsframework gem.
If I want to rewrite some files (for example public/styles.css) I must simply create it in my app (the_app).
If I want new functions in my app I can create a plugin. But the main functionalities must be loaded from cmsframework gem.
What is the best way to implement this?