I looked into the lemmy src, and what is supposed to be a CRUD API has several layers of abstraction. Same at work, where we have hexagonally structured apps where following any sort of logic is literally impossible. What are your thoughts?

  • r_mode@feddit.de
    link
    fedilink
    English
    arrow-up
    0
    ·
    2 years ago

    mind if i ask what ‘hexagonally structured’ means? i have never heard of this and cant imagine what it could be :D

    • Cinnamon@beehaw.orgOP
      link
      fedilink
      English
      arrow-up
      1
      ·
      2 years ago

      adapter-core domain logic- port

      basically you make an onion, where the core domain logic handles well, your actual logic the adapter handles requests and makes them understandable for your core part the port part is your db or anything like that, it’s usually an implementation of an interface