|
Re: Re: [UHH] any blogs sprung from camping?: msg#00012lang.ruby.camping.general
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 <zimba.tm-Re5JQEeQqe8AvxtiuMwx3w@xxxxxxxxxxxxxxxx> 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 > Camping-list-GrnCvJ7WPxnNLxjTenLetw@xxxxxxxxxxxxxxxx > http://rubyforge.org/mailman/listinfo/camping-list >
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: [UHH] any blogs sprung from camping?, Jonas Pfenniger |
|---|---|
| Next by Date: | Re: RESTful mixin, mixin repo?, Jonas Pfenniger |
| Previous by Thread: | Re: [UHH] any blogs sprung from camping?, Jonas Pfenniger |
| Next by Thread: | Re: Re: [UHH] any blogs sprung from camping?, Jonas Pfenniger |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |