Sunday, September 2, 2012

[Rails] Re: Adding functionality to an app in modular fashion?

On Sunday, 2 September 2012 18:43:23 UTC-5, jmcguckin wrote:
Building a Rails app entails creating files in multiple locations. Config dir, App, Views, Layouts, etc.

If I have an existing application app framework, is there a way to add a new feature (for example,  contracts management) where the files
for the new feature are bundled together and not scattered willy-nilly throughout the Rails application directory tree?

Build it as a Rails engine, so that it is its own application but can be included into your new applications.
 

Pros? Cons?

The pros and cons are only something you can come up with. 

--
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.
To view this discussion on the web visit https://groups.google.com/d/msg/rubyonrails-talk/-/O-BvjDT5lLoJ.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate