I second that request! I''m looking at combining rforum, hieraki, EliteJournal into a muraveyweb managed site.. I''ve been thinking similiarily re: how to combine and maintain the ability to upgrade. If we get a consensus as a group I''d be happy to write a "How To Combine Multiple Apps" howto. On Sunday 10 April 2005 11:42, Joe Noon wrote:> I am currently about to start the process of adding rforum and elite > journal to my application. Before I do so I had some questions and > would appreciate any feedback. Since these are self contained apps, > and I will be adding 2, should i just get the source and then migrate > them manually into my current app''s directories? If so, when it comes > time to upgrade am I out of luck as far as using svn to do it > automatically? My feeling is that its a "once you do it, leave it" > type of thing, which would be a mess to upgrade down the road. > > I also have a thought that Id like to share just in case it sparks a > lightbulb somewhere. Im not sure how realistic or necessary it really > is but here goes... What if you could have multiple rails > applications in their own directories but they would all function as > one? For example, my_app/, rforum/, and elite/. In my_app''s > enviroment.rb (or wherever it would go... im pretty new to rails), you > would specify that this is the master application directory and also > specify the child application directories. Then when a call was made > to a page, it would get routed through the proper application > directory. The master application directory would also override all > of the configuration files in the other directories along with (the > layouts?) so the database configuration would be uniform and no > configuration files would need to be duplicated. > > Not sure if thats already possible or necessary or jibberish, but I > thought id throw it out there! > > Joe Noon > _______________________________________________ > Rails mailing list > Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org > http://lists.rubyonrails.org/mailman/listinfo/rails
I am currently about to start the process of adding rforum and elite journal to my application. Before I do so I had some questions and would appreciate any feedback. Since these are self contained apps, and I will be adding 2, should i just get the source and then migrate them manually into my current app''s directories? If so, when it comes time to upgrade am I out of luck as far as using svn to do it automatically? My feeling is that its a "once you do it, leave it" type of thing, which would be a mess to upgrade down the road. I also have a thought that Id like to share just in case it sparks a lightbulb somewhere. Im not sure how realistic or necessary it really is but here goes... What if you could have multiple rails applications in their own directories but they would all function as one? For example, my_app/, rforum/, and elite/. In my_app''s enviroment.rb (or wherever it would go... im pretty new to rails), you would specify that this is the master application directory and also specify the child application directories. Then when a call was made to a page, it would get routed through the proper application directory. The master application directory would also override all of the configuration files in the other directories along with (the layouts?) so the database configuration would be uniform and no configuration files would need to be duplicated. Not sure if thats already possible or necessary or jibberish, but I thought id throw it out there! Joe Noon
Sub domains + patches to replace the login mechanisms of all the apps with something centralized. For example a web service they report to or LDAP. On Apr 10, 2005 5:55 AM, Luke Galea <luke.galea-bJEeYj9oJeDQT0dZR+AlfA@public.gmane.org> wrote:> I second that request! I''m looking at combining rforum, hieraki, EliteJournal > into a muraveyweb managed site.. > > I''ve been thinking similiarily re: how to combine and maintain the ability to > upgrade. If we get a consensus as a group I''d be happy to write a "How To > Combine Multiple Apps" howto. > > On Sunday 10 April 2005 11:42, Joe Noon wrote: > > I am currently about to start the process of adding rforum and elite > > journal to my application. Before I do so I had some questions and > > would appreciate any feedback. Since these are self contained apps, > > and I will be adding 2, should i just get the source and then migrate > > them manually into my current app''s directories? If so, when it comes > > time to upgrade am I out of luck as far as using svn to do it > > automatically? My feeling is that its a "once you do it, leave it" > > type of thing, which would be a mess to upgrade down the road. > > > > I also have a thought that Id like to share just in case it sparks a > > lightbulb somewhere. Im not sure how realistic or necessary it really > > is but here goes... What if you could have multiple rails > > applications in their own directories but they would all function as > > one? For example, my_app/, rforum/, and elite/. In my_app''s > > enviroment.rb (or wherever it would go... im pretty new to rails), you > > would specify that this is the master application directory and also > > specify the child application directories. Then when a call was made > > to a page, it would get routed through the proper application > > directory. The master application directory would also override all > > of the configuration files in the other directories along with (the > > layouts?) so the database configuration would be uniform and no > > configuration files would need to be duplicated. > > > > Not sure if thats already possible or necessary or jibberish, but I > > thought id throw it out there! > > > > Joe Noon > > _______________________________________________ > > Rails mailing list > > Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org > > http://lists.rubyonrails.org/mailman/listinfo/rails > _______________________________________________ > Rails mailing list > Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org > http://lists.rubyonrails.org/mailman/listinfo/rails >-- Tobi http://www.snowdevil.ca - Snowboards that don''t suck http://www.hieraki.org - Open source book authoring http://blog.leetsoft.com - Technical weblog
Im glad there is interest and at this point my comments are at least semi-on-target. This would be a great time to hear from the more experienced rails developers. It would also be nice to know if this isnt something that can already by done with components? A HowTo Combine Multiple Rails Apps" would indeed be most helpful! On Apr 10, 2005 7:18 AM, Tobias Luetke <tobias.luetke-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> On Apr 10, 2005 5:55 AM, Luke Galea <luke.galea-bJEeYj9oJeDQT0dZR+AlfA@public.gmane.org> wrote: > > I second that request! I''m looking at combining rforum, hieraki, EliteJournal > > into a muraveyweb managed site.. > > > > I''ve been thinking similiarily re: how to combine and maintain the ability to > > upgrade. If we get a consensus as a group I''d be happy to write a "How To > > Combine Multiple Apps" howto. > > > > On Sunday 10 April 2005 11:42, Joe Noon wrote: > > > I am currently about to start the process of adding rforum and elite > > > journal to my application. Before I do so I had some questions and > > > would appreciate any feedback. Since these are self contained apps, > > > and I will be adding 2, should i just get the source and then migrate > > > them manually into my current app''s directories? If so, when it comes > > > time to upgrade am I out of luck as far as using svn to do it > > > automatically? My feeling is that its a "once you do it, leave it" > > > type of thing, which would be a mess to upgrade down the road. > > > > > > I also have a thought that Id like to share just in case it sparks a > > > lightbulb somewhere. Im not sure how realistic or necessary it really > > > is but here goes... What if you could have multiple rails > > > applications in their own directories but they would all function as > > > one? For example, my_app/, rforum/, and elite/. In my_app''s > > > enviroment.rb (or wherever it would go... im pretty new to rails), you > > > would specify that this is the master application directory and also > > > specify the child application directories. Then when a call was made > > > to a page, it would get routed through the proper application > > > directory. The master application directory would also override all > > > of the configuration files in the other directories along with (the > > > layouts?) so the database configuration would be uniform and no > > > configuration files would need to be duplicated. > > > > > > Not sure if thats already possible or necessary or jibberish, but I > > > thought id throw it out there! > > > > > > Joe Noon > > > _______________________________________________ > > > Rails mailing list > > > Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org > > > http://lists.rubyonrails.org/mailman/listinfo/rails > > _______________________________________________ > > Rails mailing list > > Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org > > http://lists.rubyonrails.org/mailman/listinfo/rails > > > > -- > Tobi > http://www.snowdevil.ca - Snowboards that don''t suck > http://www.hieraki.org - Open source book authoring > http://blog.leetsoft.com - Technical weblog > _______________________________________________ > Rails mailing list > Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org > http://lists.rubyonrails.org/mailman/listinfo/rails >
Re-opening a long dead topic here.. But it was suggested that the best way to combine multiple existing Rails apps into a single app (ie: RForum + Hieraki, etc).. would be to write a common authentication framework and patch both to use it.. Given some more thought: Does it make sense to have an authentication/single sign on framework as part of rails? It would be a shame for everyone who wants to combine two apps to write their own authentication mechanism that meets the minimum requirements of the specific apps they have in mind! I''m picturing a common API agreed upon, with hooks for SAML, etc to authenticate non-rails apps... and a pluggable storage mechanism to store either in LDAP or via ActiveRecord, etc.. Between all the people looking at "merging" apps we could probably just pool our resources and do this instead of each inventing our own auth mechanism. On Sunday 10 April 2005 15:05, Joe Noon wrote:> Im glad there is interest and at this point my comments are at least > semi-on-target. This would be a great time to hear from the more > experienced rails developers. > > It would also be nice to know if this isnt something that can already > by done with components? A HowTo Combine Multiple Rails Apps" would > indeed be most helpful! > > On Apr 10, 2005 7:18 AM, Tobias Luetke <tobias.luetke-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > > On Apr 10, 2005 5:55 AM, Luke Galea <luke.galea-bJEeYj9oJeDQT0dZR+AlfA@public.gmane.org> wrote: > > > I second that request! I''m looking at combining rforum, hieraki, > > > EliteJournal into a muraveyweb managed site.. > > > > > > I''ve been thinking similiarily re: how to combine and maintain the > > > ability to upgrade. If we get a consensus as a group I''d be happy to > > > write a "How To Combine Multiple Apps" howto. > > > > > > On Sunday 10 April 2005 11:42, Joe Noon wrote: > > > > I am currently about to start the process of adding rforum and elite > > > > journal to my application. Before I do so I had some questions and > > > > would appreciate any feedback. Since these are self contained apps, > > > > and I will be adding 2, should i just get the source and then migrate > > > > them manually into my current app''s directories? If so, when it > > > > comes time to upgrade am I out of luck as far as using svn to do it > > > > automatically? My feeling is that its a "once you do it, leave it" > > > > type of thing, which would be a mess to upgrade down the road. > > > > > > > > I also have a thought that Id like to share just in case it sparks a > > > > lightbulb somewhere. Im not sure how realistic or necessary it > > > > really is but here goes... What if you could have multiple rails > > > > applications in their own directories but they would all function as > > > > one? For example, my_app/, rforum/, and elite/. In my_app''s > > > > enviroment.rb (or wherever it would go... im pretty new to rails), > > > > you would specify that this is the master application directory and > > > > also specify the child application directories. Then when a call was > > > > made to a page, it would get routed through the proper application > > > > directory. The master application directory would also override all > > > > of the configuration files in the other directories along with (the > > > > layouts?) so the database configuration would be uniform and no > > > > configuration files would need to be duplicated. > > > > > > > > Not sure if thats already possible or necessary or jibberish, but I > > > > thought id throw it out there! > > > > > > > > Joe Noon > > > > _______________________________________________ > > > > Rails mailing list > > > > Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org > > > > http://lists.rubyonrails.org/mailman/listinfo/rails > > > > > > _______________________________________________ > > > Rails mailing list > > > Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org > > > http://lists.rubyonrails.org/mailman/listinfo/rails > > > > -- > > Tobi > > http://www.snowdevil.ca - Snowboards that don''t suck > > http://www.hieraki.org - Open source book authoring > > http://blog.leetsoft.com - Technical weblog > > _______________________________________________ > > Rails mailing list > > Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org > > http://lists.rubyonrails.org/mailman/listinfo/rails > > _______________________________________________ > Rails mailing list > Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org > http://lists.rubyonrails.org/mailman/listinfo/rails
You may be interested in using an "existing" single sign-on solution and not write one from scratch. I know of a few, but the one that seems the easiest to port over to Ruby is, in my opinion, is [1] Sxip. Sxip already has hooks for PHP, Java, Perl and Python. There is also a mod_sxip apache module, so we may even be able to use that. If all the Rails apps were written with the sxip authentication mechanism (or any other SSO system), it would be possible to combine multiple apps AND allow a user of one app (say RFourm) to gain access to another (Hieraki) w/o having to create a new account. Of course this is all optional and up to the app creator to implement. [1] http://www.sxip.org , http://www.sxip.net, http://www.sxip.com On 4/24/05, Luke Galea <lgalea-vvW6YJTQFGvMohDmgNdYFA@public.gmane.org> wrote:> > Re-opening a long dead topic here.. > > But it was suggested that the best way to combine multiple existing Rails > apps > into a single app (ie: RForum + Hieraki, etc).. would be to write a common > authentication framework and patch both to use it.. > > Given some more thought: Does it make sense to have an > authentication/single > sign on framework as part of rails? It would be a shame for everyone who > wants to combine two apps to write their own authentication mechanism that > meets the minimum requirements of the specific apps they have in mind! > > I''m picturing a common API agreed upon, with hooks for SAML, etc to > authenticate non-rails apps... and a pluggable storage mechanism to store > either in LDAP or via ActiveRecord, etc.. > > Between all the people looking at "merging" apps we could probably just > pool > our resources and do this instead of each inventing our own auth > mechanism. > > On Sunday 10 April 2005 15:05, Joe Noon wrote: > > Im glad there is interest and at this point my comments are at least > > semi-on-target. This would be a great time to hear from the more > > experienced rails developers. > > > > It would also be nice to know if this isnt something that can already > > by done with components? A HowTo Combine Multiple Rails Apps" would > > indeed be most helpful! > > > > On Apr 10, 2005 7:18 AM, Tobias Luetke <tobias.luetke-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > > > On Apr 10, 2005 5:55 AM, Luke Galea <luke.galea-bJEeYj9oJeDQT0dZR+AlfA@public.gmane.org> wrote: > > > > I second that request! I''m looking at combining rforum, hieraki, > > > > EliteJournal into a muraveyweb managed site.. > > > > > > > > I''ve been thinking similiarily re: how to combine and maintain the > > > > ability to upgrade. If we get a consensus as a group I''d be happy to > > > > write a "How To Combine Multiple Apps" howto. > > > > > > > > On Sunday 10 April 2005 11:42, Joe Noon wrote: > > > > > I am currently about to start the process of adding rforum and > elite > > > > > journal to my application. Before I do so I had some questions and > > > > > would appreciate any feedback. Since these are self contained > apps, > > > > > and I will be adding 2, should i just get the source and then > migrate > > > > > them manually into my current app''s directories? If so, when it > > > > > comes time to upgrade am I out of luck as far as using svn to do > it > > > > > automatically? My feeling is that its a "once you do it, leave it" > > > > > type of thing, which would be a mess to upgrade down the road. > > > > > > > > > > I also have a thought that Id like to share just in case it sparks > a > > > > > lightbulb somewhere. Im not sure how realistic or necessary it > > > > > really is but here goes... What if you could have multiple rails > > > > > applications in their own directories but they would all function > as > > > > > one? For example, my_app/, rforum/, and elite/. In my_app''s > > > > > enviroment.rb (or wherever it would go... im pretty new to rails), > > > > > you would specify that this is the master application directory > and > > > > > also specify the child application directories. Then when a call > was > > > > > made to a page, it would get routed through the proper application > > > > > directory. The master application directory would also override > all > > > > > of the configuration files in the other directories along with > (the > > > > > layouts?) so the database configuration would be uniform and no > > > > > configuration files would need to be duplicated. > > > > > > > > > > Not sure if thats already possible or necessary or jibberish, but > I > > > > > thought id throw it out there! > > > > > > > > > > Joe Noon > > > > > _______________________________________________ > > > > > Rails mailing list > > > > > Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org > > > > > http://lists.rubyonrails.org/mailman/listinfo/rails > > > > > > > > _______________________________________________ > > > > Rails mailing list > > > > Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org > > > > http://lists.rubyonrails.org/mailman/listinfo/rails > > > > > > -- > > > Tobi > > > http://www.snowdevil.ca - Snowboards that don''t suck > > > http://www.hieraki.org - Open source book authoring > > > http://blog.leetsoft.com - Technical weblog > > > _______________________________________________ > > > Rails mailing list > > > Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org > > > http://lists.rubyonrails.org/mailman/listinfo/rails > > > > _______________________________________________ > > Rails mailing list > > Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org > > http://lists.rubyonrails.org/mailman/listinfo/rails > _______________________________________________ > Rails mailing list > Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org > http://lists.rubyonrails.org/mailman/listinfo/rails >-- - Ramin http://www.getintothis.com/blog _______________________________________________ Rails mailing list Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org http://lists.rubyonrails.org/mailman/listinfo/rails
That sounds great.. Much better than writing from scratch. The more apps use it, the more successfull it will be.. I''d bet that patching the login generator to produce sxip driven code would go a long way. I''ll start looking into it. Thanks for the link. On Sunday 24 April 2005 12:04, Ramin wrote:> You may be interested in using an "existing" single sign-on solution and > not write one from scratch. I know of a few, but the one that seems the > easiest to port over to Ruby is, in my opinion, is [1] Sxip. > > Sxip already has hooks for PHP, Java, Perl and Python. There is also a > mod_sxip apache module, so we may even be able to use that. If all the > Rails apps were written with the sxip authentication mechanism (or any > other SSO system), it would be possible to combine multiple apps AND allow > a user of one app (say RFourm) to gain access to another (Hieraki) w/o > having to create a new account. Of course this is all optional and up to > the app creator to implement. > > [1] http://www.sxip.org , http://www.sxip.net, http://www.sxip.com > > On 4/24/05, Luke Galea <lgalea-vvW6YJTQFGvMohDmgNdYFA@public.gmane.org> wrote: > > Re-opening a long dead topic here.. > > > > But it was suggested that the best way to combine multiple existing Rails > > apps > > into a single app (ie: RForum + Hieraki, etc).. would be to write a > > common authentication framework and patch both to use it.. > > > > Given some more thought: Does it make sense to have an > > authentication/single > > sign on framework as part of rails? It would be a shame for everyone who > > wants to combine two apps to write their own authentication mechanism > > that meets the minimum requirements of the specific apps they have in > > mind! > > > > I''m picturing a common API agreed upon, with hooks for SAML, etc to > > authenticate non-rails apps... and a pluggable storage mechanism to store > > either in LDAP or via ActiveRecord, etc.. > > > > Between all the people looking at "merging" apps we could probably just > > pool > > our resources and do this instead of each inventing our own auth > > mechanism. > > > > On Sunday 10 April 2005 15:05, Joe Noon wrote: > > > Im glad there is interest and at this point my comments are at least > > > semi-on-target. This would be a great time to hear from the more > > > experienced rails developers. > > > > > > It would also be nice to know if this isnt something that can already > > > by done with components? A HowTo Combine Multiple Rails Apps" would > > > indeed be most helpful! > > > > > > On Apr 10, 2005 7:18 AM, Tobias Luetke <tobias.luetke-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > > > > On Apr 10, 2005 5:55 AM, Luke Galea <luke.galea-bJEeYj9oJeDQT0dZR+AlfA@public.gmane.org> wrote: > > > > > I second that request! I''m looking at combining rforum, hieraki, > > > > > EliteJournal into a muraveyweb managed site.. > > > > > > > > > > I''ve been thinking similiarily re: how to combine and maintain the > > > > > ability to upgrade. If we get a consensus as a group I''d be happy > > > > > to write a "How To Combine Multiple Apps" howto. > > > > > > > > > > On Sunday 10 April 2005 11:42, Joe Noon wrote: > > > > > > I am currently about to start the process of adding rforum and > > > > elite > > > > > > > > journal to my application. Before I do so I had some questions > > > > > > and would appreciate any feedback. Since these are self contained > > > > apps, > > > > > > > > and I will be adding 2, should i just get the source and then > > > > migrate > > > > > > > > them manually into my current app''s directories? If so, when it > > > > > > comes time to upgrade am I out of luck as far as using svn to do > > > > it > > > > > > > > automatically? My feeling is that its a "once you do it, leave > > > > > > it" type of thing, which would be a mess to upgrade down the > > > > > > road. > > > > > > > > > > > > I also have a thought that Id like to share just in case it > > > > > > sparks > > > > a > > > > > > > > lightbulb somewhere. Im not sure how realistic or necessary it > > > > > > really is but here goes... What if you could have multiple rails > > > > > > applications in their own directories but they would all function > > > > as > > > > > > > > one? For example, my_app/, rforum/, and elite/. In my_app''s > > > > > > enviroment.rb (or wherever it would go... im pretty new to > > > > > > rails), you would specify that this is the master application > > > > > > directory > > > > and > > > > > > > > also specify the child application directories. Then when a call > > > > was > > > > > > > > made to a page, it would get routed through the proper > > > > > > application directory. The master application directory would > > > > > > also override > > > > all > > > > > > > > of the configuration files in the other directories along with > > > > (the > > > > > > > > layouts?) so the database configuration would be uniform and no > > > > > > configuration files would need to be duplicated. > > > > > > > > > > > > Not sure if thats already possible or necessary or jibberish, but > > > > I > > > > > > > > thought id throw it out there! > > > > > > > > > > > > Joe Noon > > > > > > _______________________________________________ > > > > > > Rails mailing list > > > > > > Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org > > > > > > http://lists.rubyonrails.org/mailman/listinfo/rails > > > > > > > > > > _______________________________________________ > > > > > Rails mailing list > > > > > Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org > > > > > http://lists.rubyonrails.org/mailman/listinfo/rails > > > > > > > > -- > > > > Tobi > > > > http://www.snowdevil.ca - Snowboards that don''t suck > > > > http://www.hieraki.org - Open source book authoring > > > > http://blog.leetsoft.com - Technical weblog > > > > _______________________________________________ > > > > Rails mailing list > > > > Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org > > > > http://lists.rubyonrails.org/mailman/listinfo/rails > > > > > > _______________________________________________ > > > Rails mailing list > > > Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org > > > http://lists.rubyonrails.org/mailman/listinfo/rails > > > > _______________________________________________ > > Rails mailing list > > Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org > > http://lists.rubyonrails.org/mailman/listinfo/rails
Well Im glad some thoughts are rolling on this. In the meantime since I had started this topic I have taken different route due to frustration. Now that I think about it, I am probably happier with the result than if I had combined apps. I created a simple database layout for a message system that can be used for posts, blogs, etc. I made it as simple and featureless as I possibly could _on purpose_. All replies are replies to the original topic, flat view, etc. Since my current site uses VBulletin its a pretty heavy-feeling site when it is browsed. My new site with rails is meant to be exactly the opposite. I guess sometimes it IS good to DIY. I had never attempted because I figured it would be too intricate. The other big plus is now I know 100% of the code in my app, which will provide useful in the future im sure. So if you have ever given up on the idea of doing it yourself I would say dont... give it a shot. Especially if your visitors are the "keep it simple stupid" type like mine! Now that I look at my code for it I see theres barely anything to it with ruby on rails! On 4/25/05, Luke Galea <lgalea-vvW6YJTQFGvMohDmgNdYFA@public.gmane.org> wrote:> That sounds great.. Much better than writing from scratch. > > The more apps use it, the more successfull it will be.. I''d bet that patching > the login generator to produce sxip driven code would go a long way. > > I''ll start looking into it. Thanks for the link. > > On Sunday 24 April 2005 12:04, Ramin wrote: > > You may be interested in using an "existing" single sign-on solution and > > not write one from scratch. I know of a few, but the one that seems the > > easiest to port over to Ruby is, in my opinion, is [1] Sxip. > > > > Sxip already has hooks for PHP, Java, Perl and Python. There is also a > > mod_sxip apache module, so we may even be able to use that. If all the > > Rails apps were written with the sxip authentication mechanism (or any > > other SSO system), it would be possible to combine multiple apps AND allow > > a user of one app (say RFourm) to gain access to another (Hieraki) w/o > > having to create a new account. Of course this is all optional and up to > > the app creator to implement. > > > > [1] http://www.sxip.org , http://www.sxip.net, http://www.sxip.com > > > > On 4/24/05, Luke Galea <lgalea-vvW6YJTQFGvMohDmgNdYFA@public.gmane.org> wrote: > > > Re-opening a long dead topic here.. > > > > > > But it was suggested that the best way to combine multiple existing Rails > > > apps > > > into a single app (ie: RForum + Hieraki, etc).. would be to write a > > > common authentication framework and patch both to use it.. > > > > > > Given some more thought: Does it make sense to have an > > > authentication/single > > > sign on framework as part of rails? It would be a shame for everyone who > > > wants to combine two apps to write their own authentication mechanism > > > that meets the minimum requirements of the specific apps they have in > > > mind! > > > > > > I''m picturing a common API agreed upon, with hooks for SAML, etc to > > > authenticate non-rails apps... and a pluggable storage mechanism to store > > > either in LDAP or via ActiveRecord, etc.. > > > > > > Between all the people looking at "merging" apps we could probably just > > > pool > > > our resources and do this instead of each inventing our own auth > > > mechanism. > > > > > > On Sunday 10 April 2005 15:05, Joe Noon wrote: > > > > Im glad there is interest and at this point my comments are at least > > > > semi-on-target. This would be a great time to hear from the more > > > > experienced rails developers. > > > > > > > > It would also be nice to know if this isnt something that can already > > > > by done with components? A HowTo Combine Multiple Rails Apps" would > > > > indeed be most helpful! > > > > > > > > On Apr 10, 2005 7:18 AM, Tobias Luetke <tobias.luetke-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > > > > > On Apr 10, 2005 5:55 AM, Luke Galea <luke.galea-bJEeYj9oJeDQT0dZR+AlfA@public.gmane.org> wrote: > > > > > > I second that request! I''m looking at combining rforum, hieraki, > > > > > > EliteJournal into a muraveyweb managed site.. > > > > > > > > > > > > I''ve been thinking similiarily re: how to combine and maintain the > > > > > > ability to upgrade. If we get a consensus as a group I''d be happy > > > > > > to write a "How To Combine Multiple Apps" howto. > > > > > > > > > > > > On Sunday 10 April 2005 11:42, Joe Noon wrote: > > > > > > > I am currently about to start the process of adding rforum and > > > > > > elite > > > > > > > > > > journal to my application. Before I do so I had some questions > > > > > > > and would appreciate any feedback. Since these are self contained > > > > > > apps, > > > > > > > > > > and I will be adding 2, should i just get the source and then > > > > > > migrate > > > > > > > > > > them manually into my current app''s directories? If so, when it > > > > > > > comes time to upgrade am I out of luck as far as using svn to do > > > > > > it > > > > > > > > > > automatically? My feeling is that its a "once you do it, leave > > > > > > > it" type of thing, which would be a mess to upgrade down the > > > > > > > road. > > > > > > > > > > > > > > I also have a thought that Id like to share just in case it > > > > > > > sparks > > > > > > a > > > > > > > > > > lightbulb somewhere. Im not sure how realistic or necessary it > > > > > > > really is but here goes... What if you could have multiple rails > > > > > > > applications in their own directories but they would all function > > > > > > as > > > > > > > > > > one? For example, my_app/, rforum/, and elite/. In my_app''s > > > > > > > enviroment.rb (or wherever it would go... im pretty new to > > > > > > > rails), you would specify that this is the master application > > > > > > > directory > > > > > > and > > > > > > > > > > also specify the child application directories. Then when a call > > > > > > was > > > > > > > > > > made to a page, it would get routed through the proper > > > > > > > application directory. The master application directory would > > > > > > > also override > > > > > > all > > > > > > > > > > of the configuration files in the other directories along with > > > > > > (the > > > > > > > > > > layouts?) so the database configuration would be uniform and no > > > > > > > configuration files would need to be duplicated. > > > > > > > > > > > > > > Not sure if thats already possible or necessary or jibberish, but > > > > > > I > > > > > > > > > > thought id throw it out there! > > > > > > > > > > > > > > Joe Noon > > > > > > > _______________________________________________ > > > > > > > Rails mailing list > > > > > > > Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org > > > > > > > http://lists.rubyonrails.org/mailman/listinfo/rails > > > > > > > > > > > > _______________________________________________ > > > > > > Rails mailing list > > > > > > Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org > > > > > > http://lists.rubyonrails.org/mailman/listinfo/rails > > > > > > > > > > -- > > > > > Tobi > > > > > http://www.snowdevil.ca - Snowboards that don''t suck > > > > > http://www.hieraki.org - Open source book authoring > > > > > http://blog.leetsoft.com - Technical weblog > > > > > _______________________________________________ > > > > > Rails mailing list > > > > > Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org > > > > > http://lists.rubyonrails.org/mailman/listinfo/rails > > > > > > > > _______________________________________________ > > > > Rails mailing list > > > > Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org > > > > http://lists.rubyonrails.org/mailman/listinfo/rails > > > > > > _______________________________________________ > > > Rails mailing list > > > Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org > > > http://lists.rubyonrails.org/mailman/listinfo/rails > _______________________________________________ > Rails mailing list > Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org > http://lists.rubyonrails.org/mailman/listinfo/rails >