[LRUG] Multiple Rails apps sharing common UI

Kerry Buckley kerryjbuckley at gmail.com
Tue May 19 07:09:22 PDT 2015


On Tue, May 19, 2015 at 2:59 PM, Paul Doerwald <paul at liquidmedia.ca> wrote:

> I’ll chime in with Graham about using a single app. There’s a certain
> appeal to software purity, but I’ve found in the past (when I’ve carefully
> written separate apps, or had clear delineations between parts of an app,
> assuming a largely overlapping set of users) that as the application
> matured, the two apps increasingly became one, and an eventual rewrite
> forcibly made them one.
>

You make a convincing argument, and there's no doubt that a single app is
easier (if not necessarily simpler). My main concern is that with one big
app tests start taking longer and longer to run. I worked on a huge Rails
app a few years ago where the full test suite took 45 minutes (there were
some bad testing decisions as well as sheer size), and I never want to go
there again!

I guess the solution is to separate things in such a way that it's easy to
run a focussed subset of tests, but I still want to be able to say "rake &&
git push" without then having to go off for a coffee while I wait.

Kerry
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lrug.org/pipermail/chat-lrug.org/attachments/20150519/c89579b0/attachment.html>


More information about the Chat mailing list