<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Tue, May 19, 2015 at 10:18 AM, Robbie Clutton <span dir="ltr"><<a href="mailto:rclutton@pivotal.io" target="_blank">rclutton@pivotal.io</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi Kerry =)</div></blockquote><div><br></div><div>Hi Robbie, long time no see!</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>Some of my colleagues at Pivotal Labs have <a href="https://www.google.co.uk/search?q=site%3Apivotallabs.com+rails+engines&rlz=1C5CHFA_enUS578US578&oq=site%3Apivotallabs.com+rails+engines&aqs=chrome..69i57j69i58.5271j0j7&sourceid=chrome&es_sm=91&ie=UTF-8" target="_blank">blogged</a> a fair amount on this Rails engines including shared dependencies, migrations and more. We also have an internal<a href="https://github.com/pivotal/pivotal-styles-sass" target="_blank"> live style guide</a> which is a Rails Engine (you can see the <a href="https://github.com/pivotal/pivotal-styles-sass/blob/master/lib/pivotal/sass.rb" target="_blank">secret sauce</a> here). There's a decent talk on the live style guide <a href="http://original.livestream.com/pivotallabs/video?clipId=pla_5a76d100-ea64-4552-9d44-15078c26ace5" target="_blank">aspect here</a> which might be relevant.</div><div><br></div><div>I think engines does make sense in some cases, but Rails doesn't make it easy for a developer to have a seamless experience as some of the blogs will discuss above.</div><div><br></div><div>On your first point, you could always use URL rewriting (via httpd/nginx) to send requests to different apps to keep them separate. Then using single sign on, and shared styles you might be able to achieve the desired result, and keep the applications isolated.</div><span><font color="#888888"><div></div></font></span></div></blockquote></div><br></div><div class="gmail_extra">Yes, that's the kind of thing I was thinking of, and I think I'm leaning more in that direction now. I'm using mostly vanilla Bootstrap, so shared styles are pretty straightforward. I've played </div><div class="gmail_extra"><br></div><div class="gmail_extra">I'll go and read those links now!</div><div class="gmail_extra"><br></div><div class="gmail_extra">Thanks,</div><div class="gmail_extra"><br></div><div class="gmail_extra">Kerry</div></div>