Giter Club home page Giter Club logo

hexagonal-this's Introduction

Hexagonal This

I was greatly influenced when I saw the video in YouTube about Alistair's hexagonal architecture. Big shout out to Alistair Cockburn for beautifully explaining the port and adapter's pattern (a.k.a hexagonal architecture). I loved it just because of its separation of concerns which enables high scalability and helping me introduce the plug and play concept. I wanted to try out the same KATA as Thomas PIERRAIN (again impressed with TDD and being bullet proof) while watching the video but with Java.

KATA - 1

  • Write the left side port for test for requesting poetry i.e. RequestVerse.
  • Write the domain i.e. PoetryReader which can be hardcoded. This very first version of the business logic returns an hard-coded result.

KATA - 2

  • Write the right side port ObtainPoem with adapters i.e. test which fetches the poem using stubs.

KATA - 3

  • Write a ConsoleAdapter(left side) which could write to the console (default) as the default publication strategy.

KATA - 4

  • Write a Console application for the end user.

KATA - 5

  • Write a PoemFileAdapter (right side adapter) that will return the content by reading the file.

References

YouTube Videos

KATA in .Net

Spring example

Good reads

Want to try more ?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.