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

Decouple Everything

Decouple Everything

In the recent years we have seen a shift in software architectures. The monolithic approach slowly runs out of fashion and architectural concepts like microservices, SOA, API’s and decoupling in general are getting more and more important.
This talk will look at the different “new” approaches which can deliver a big benefit to your application’s architectural design. We will also dive into the disadvantages decoupling introduces into the software stack and how to overcome them.

Johannes Pichler

November 24, 2018
Tweet

More Decks by Johannes Pichler

Other Decks in Programming

Transcript

  1. Johannes Pichler → Web Developer since 2006 → PHP, .NET,

    Java → now working with PHP → sorry
  2. ... but → not only on architectural level → code

    libraries → asynchronous execution
  3. karriere.at back in 2016 → karriere.at website v3 (K3) →

    PHP monolith → performant web application
  4. Microservices → Do one thing and do it well →

    small piece of software → expressive API → quickly exchangeable
  5. SOA

  6. SOA → provides services → communicates via ESB → self

    contained → often misused for monoliths
  7. RESTful → client - server architecture → stateless handling →

    caching → consistent API → multiple layers → code on demand
  8. Reasons for decoupling code → separation from third party systems

    → make changes on configuration level → avoid f*** ups
  9. ... but → 100% test coverage for response caches →

    100% test coverage for repository caches → handling of CacheException implemented
  10. !

  11. Outlook → new team for architecture stuff → service discovery

    → resource & functional API usage → replace certain components
  12. Architectural → build what fits your need → and not

    what is considered cool → partial adaption is ok → keep the big picture in mind
  13. Code → testing does not prevent f*** ups → deep

    dive into used libraries → share your knowledge