Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Extreme Isolation Workshop

Extreme Isolation Workshop

Workshop given at Scottish Ruby Conference 2014. Some refactoring tools based around the ideas of Hexagonal Rails, the Actor Model of Concurrency, Immutability and functional programming.

chrismdp

May 13, 2014
Tweet

More Decks by chrismdp

Other Decks in Programming

Transcript

  1. I HAVE NO IDEA WHAT I’M DOING I just read

    other people’s blog posts and put them together
  2. baz bar foo quux eke baz bar foo quux eke

    baz bar foo quux eke baz bar foo quux eke baz bar foo quux eke foo quux baz bar foo quux eke baz bar eke bar foo quux baz eke bar foo quux
  3. SO HOW WOULD WE TEST THIS? ! Would you use

    system tests? Would you use mocks? Would you test at all?
  4. bar foo POROs baz calling code handles the arrangement !

    objects handle the work, don’t know about others ! objects can be called in any order POROs POROs
  5. Database (AR) Database (BerkeleyDB) CHANGEABILITY Drop in new adaptor implementation

    at the edges POROs calling code handles the arrangement ! objects handle the work, don’t know about others ! objects can be called in any order POROs Web (Rails) Web (Sinatra) Web Sockets
  6. SANDI METZ’S PRACTICAL OBJECT ORIENTED DESIGN LONDON 3 day course

    25-27 June // 2 day course: 2-3 July 5% off! Use code SCO TRUBY http://kickstartacademy.io