Hello all:
I am in the process of redesigning my site and was thinking about
incorporating RoR into the overall structure. However, there are
multiple things I would like to create with Rails, namely a gallery, a
weblog, and portfolio management system. Given that I am going to be
using a lot of RoR, what is the best way to accomplish this task? Here
are some random things that have come up and I am hoping some of you
guys/gals can help:
1. Should I create a separate web app for each of the aforementioned
items? Then I would have separate directories for each with their own
public folders, stylesheets, etc.
2. Should I lump everything into one master CMS system and have that be
my main app and then create controllers for each of the other items?
3. I am having trouble getting my head around the whole folder structure
thing. Let''s say I have my website on my local computer for testing
at:
../apache/htdocs/mysite/public/
Then I have everything that I want the public to see under that folder
(i.e. images, css, etc.). However, I have my RoR apps at:
../apache/htdocs/mysite/apps/
I have tried using symbolic links to map from the apps/gallery/public
folder to /mysite/public/gallery/ and the page will display but it is
still trying to find the site assets under apps/gallery/public/.
Is there a way to have your app at one location and everything else
under another?
Ideally I would like my site to simply have urls such as:
mysite.com/gallery, mysite.com/journal, mysite.com/portfolio
I know this was long and I probably didn''t explain myself very well.
If
further clarification is needed please let me know.
Thanks,
John
--
Posted via http://www.ruby-forum.com/.