Forum: Ruby on Rails How to share components between apps

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
8df28ff7d545ce20eab47b5447649242?d=identicon&s=25 Robert Matei (zambaccian)
on 2008-12-11 00:02
I know you're gonnna say plugins, but bear with me.

I'm a Facebook app developer, and I have an array of different ones
going. I want them all to work off the same basic framework I've
created, but I'm not sure what the best way to do that is. This is what
I want to share:

- various filters in the application controller
- models to store users, etc, complete with the database table
- an entire controller devoted to displaying stats
- various display helpers
- several plugins and config files

I don't know much Ruby metaprogramming, can I accomplish all this with
plugins? Would it be easier to just individually pull all the shared
files from a common repository?
4c438a80fc30661ad619ea177cf9cbd0?d=identicon&s=25 Freddy Andersen (Guest)
on 2008-12-11 16:33
(Received via mailing list)
This topic is locked and can not be replied to.