ruby - Rails Engine vs. Rack Application -
ruby - Rails Engine vs. Rack Application -
i'm thinking writing "add-on" application , releasing gem. however, i'm not sure if should writing rails engine or rack application. differences , should choose?
update: thought application sort of "suggestion box". users (or co-workers) can submit suggestions improvements application. then, when you're ready work on new feature, can attach cucumber test (or point location of one) submitter can see when feature has been completed (tests passing). ideally, mount application @ /suggestions
or ever , functionality.
with rails engine, have powerfulness of rails @ disposal, inherently rack application because of rails.
generally rack application have lot of less(or more) bells , whistles compared rails. have figure rack components utilize , how setup middleware if needed.
if need quick , testable solution, go rails engines.
otherwise building rack application supremely more fun compared rails engine.
ruby-on-rails ruby rack
Comments
Post a Comment