Hi Klaus,

I guess you are talking about setting up an admin section for
maintenance of the docs and one section for publi viewing of the docs,
I guess a way to do this is to set up an admin area (by designating a
folder called admin within your application) - then put th
controllers, models for the admin section inside this folder. you can
even have same name models/ controllers as the public site inside this
folder.

Not sure if this is what you asked for - but maybe it will help.

D


On Aug 4, 4:39 pm, Klaus <[email protected]> wrote:
> Hi,
>
> I'm learning rails. Just started some month ago. I've got some years
> of experience with php and now I've realized rails makes a lot more
> fun.
>
> But anyways, I have a question. There is something I don't understand.
>
> How would you do a rails app like this?
> Admin section: a cool rails app for CRUD of some I call them documents
> (i.e. document model) and for setting some parameters and so on
> Public (LAN) site: another cool rails app mostly for navigating within
> the document repository and for writing comments and so on
>
> Is there a straight rails way to do this? I mean I don't want to have
> redundancies in code or other design mistakes.
>
> Should there be two separate apps or only one? And how to separate the
> two sections for security reasons while linking them by the models for
> design reasons?
>
> Thanks for all interesting replies!
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to