I wonder how you guys handle content pages? Often described as “static” pages.
However, I don’t like to call them “static” because these pages often do use some minor dynamic content.
This is what I like to think of as the “website” part of the web application. Content that does not have complex logic behind it.
I had to handle it in the past, and at the time I just created a pages controller and each action would be a “page”. I would then create custom routes as alias to each page, such as:
map.connect “about-us”, :controller => “pages”, :action => “about_us”
However, this new application has many more pages, and with rather complex hierarchies, for example:
(photo-gallery is exclusive, static, content-only sub-section of fast-foods and has nothing to do with a photo-gallery application other than advertising this service)
I’m not sure on how I could best handle situations like this. Maybe Rails has a CMS plugin or something that helps in managing static pages?
If you ever had to deal with a situation like this, please, share your experience and thoughts!
Any hints greatly appreciated!