Perhaps I'm way in the wrong, but I assumed we could mixin additional
Models, Views, and Controllers. I just sent another message to the
list, where I realized that this is not as easy as I thought. Is it
possible at all?

If so, I think this would provide a very good avenue for a unified
authentication/user method. We could mixin a User model, a Login
controller, and the appropriate views. Like the Camping::Session
mixin.

Similarly for your site wide template idea, mixin a layout method.

Again, I'm still pretty new to camping, so I might be misunderstanding
the whole thing.

Cheers,
-M

On 11/14/06, Jonas Pfenniger <[EMAIL PROTECTED]> wrote:
> The problem with authentication is that you manage it at an
> application level. So if you're running each of them side by side,
> you'll have multiple User tables, etc...  What I actually do is manage
> the authentication on the reverse proxy but it introduces other
> limitations, like the inhability to map datas with users in a straight
> forward manner.
>
> I think the best would be to provide some camping server-wide
> authentication mechanism so that it can be shared by the various
> applications. A server-wide template would also be interesting so that
> you can add links between the apps. But Camping doesn't support
> plugins (yet) :)
>
> --
> Cheers,
>   zimbatm
>
> http://zimbatm.oree.ch
> _______________________________________________
> Camping-list mailing list
> [email protected]
> http://rubyforge.org/mailman/listinfo/camping-list
>
_______________________________________________
Camping-list mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/camping-list

Reply via email to