Ruby On Rails CMS Framework
Posted
by stel
on Stack Overflow
See other posts from Stack Overflow
or by stel
Published on 2010-06-08T10:14:51Z
Indexed on
2010/06/16
16:32 UTC
Read the original article
Hit count: 178
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?
© Stack Overflow or respective owner