Giant Cranes
2007-Feb-17 17:31 UTC
Resuse database, models, some controllers and some views
Hi, I have two projects which both use the same database and will also share models and some views. Are their any best practices for sharing models and views across multiple projects? I am planning on using svn:externals to pull in the shared models and views from the main project into the second project. Are their any alternatives to this that I should consider? Thanks, GiantCranes -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ 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 rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Jodi Showers
2007-Feb-17 17:40 UTC
Re: Resuse database, models, some controllers and some views
On 17-Feb-07, at 12:31 PM, Giant Cranes wrote:> > Hi, > > I have two projects which both use the same database and will also > share > models and some views. > > Are their any best practices for sharing models and views across > multiple projects? > > I am planning on using svn:externals to pull in the shared models and > views from the main project into the second project. Are their any > alternatives to this that I should consider? > > Thanks, > GiantCranes >you might want to consider building a plugin(s), or depending on your needs an engine maybe required (over-riding views). Cheers, Jodi General Partner The nNovation Group inc. www.nnovation.ca/blog --~--~---------~--~----~------------~-------~--~----~ 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 rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---