Re: [Rails] Refactoring Advise
On Fri, Dec 2, 2011 at 10:04 AM, Roger R. Smith <rogsmith@gmail.com> wrote:
> based on your experience what would be the best way to move forward:
>
> 1) move the models to a plugin?
> 2) use Rails Engine?
> 3) re-write everything?
> 4) build the api/new user interface on top of the existing app?
I think it's hard to say definitely without knowing more about the app,
but my inclination would be to upgrade the whole thing to 3.1, which
will also give you the opportunity to clean up the code.
Then you can take advantage of the Engine/mountable app approach
if it still makes sense. It seems like that would depend on the degree
of coupling between the admin/user/api parts, but -- by the time you
finish writing tests and upgrading, you'll be in a much better position to
evaluate that :-)
HTH, and good luck,
--
Hassan Schroeder ------------------------ hassan.schroeder@gmail.com
http://about.me/hassanschroeder
twitter: @hassan
--
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@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home