Adding functionality to an app in modular fashion?

12 views
Skip to first unread message

jmcguckin

unread,
Sep 2, 2012, 7:43:23 PM9/2/12
to rubyonra...@googlegroups.com
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?

Pros? Cons?

Thanks,

Joe

Jordon Bedwell

unread,
Sep 2, 2012, 7:57:50 PM9/2/12
to rubyonra...@googlegroups.com
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. 
Reply all
Reply to author
Forward
0 new messages