an architectural pattern that I was more and more drawn to in my
server side days was Hexagonal/Ports and Adapters.

I'm a big fan of BDD and the way it would allow me to test the
business logic without the 'real' infrastructure really appealed.

I wonder if we could apply it to Android? Google turned up absolutely
nothing specific to Android.

It did, however, uncover a wealth of videos from the Ruby on Rails
community using Hexagonal architecture to help system scale out.

I was struck by the parallels between the issues on RoR and Android.
In fact, you could swap out Rails for Android in the talks and it
would still apply.

Anyone tried this approach on Android?

Rakesh

On 1 October 2014 22:56, Fabrizio Giudici <fabrizio.giud...@tidalwave.it> wrote:
> On Wed, 01 Oct 2014 23:13:25 +0200, Cédric Beust ♔ <ced...@beust.com> wrote:
>
>
>> So we went with JUnit 3.
>>
>> I'm sorry.
>
>
> It was a very prudential decision of you at the time, man. The real question
> is why do they stick with JUnit 3 after so many years!! I mean, why they at
> least didn't upgrade to JUnit 4?
>
> For the rest, Rakesh, I do second the idea of keeping most of the code
> Android independent, so you can test it as you like. It's what I did since
> the beginning for my first project. If you also do a good separation of
> concerns between the presentation and its controllers, possibly using a
> pattern that minimizes/zeroes the logic in the presentation, you gain some
> points. My suggested approach is also to keep presentation controller as
> clean from Android code as possible, even though this requires some more
> effort and it needs to be evaluated on a per-project basis. Of course this
> won't solve the problem, because in the end you also need to test the whole
> system... and yes, adb is not reliable, and there are the other problems you
> mentioned, and you need to do some manual testing. But at least you minimize
> the chances of finding bugs at this level and reduce the number of test
> rounds.
>
> --
> Fabrizio Giudici - Java Architect @ Tidalwave s.a.s.
> "We make Java work. Everywhere."
> http://tidalwave.it/fabrizio/blog - fabrizio.giud...@tidalwave.it
>
>
> --
> You received this message because you are subscribed to the Google Groups
> "Java Posse" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to javaposse+unsubscr...@googlegroups.com.
> To post to this group, send email to javaposse@googlegroups.com.
> Visit this group at http://groups.google.com/group/javaposse.
> For more options, visit https://groups.google.com/d/optout.

-- 
You received this message because you are subscribed to the Google Groups "Java 
Posse" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to javaposse+unsubscr...@googlegroups.com.
To post to this group, send email to javaposse@googlegroups.com.
Visit this group at http://groups.google.com/group/javaposse.
For more options, visit https://groups.google.com/d/optout.

Reply via email to