• 7EP6vuI@feddit.org
    link
    fedilink
    English
    arrow-up
    3
    ·
    edit-2
    22 days ago

    Why is he not mentioning restfulobjects? This is exactly what he describes, just encapsulated in JSON, not in HTML, and in a way that it can actually be automatically consumed as there are some guidelines how to structure the documents.

    We use it at work, and I don’t like it. Its overly complicated and adds a lot of overhead (at least in the way we implemented it). A simple HTTP+JSON RPC with a good URL structure and a OpenApi documentation would be easier to understand, and to consume.

    • KissakiOP
      link
      fedilink
      English
      arrow-up
      3
      ·
      edit-2
      22 days ago

      Doesn’t help that it’s a multi-page document

      Persistent domain entity, Proto-persistent domain entity, View model, ,

      What the heck… Yeah, I wouldn’t want to use that either. While it may be a formalization, it seems like it would significantly increase complexity and overhead. That can’t be worth it unless it’s a huge enterprise system that has to work with generalized object types across teams or something.

      I hadn’t heard of Restful Objects before.