• 4 Posts
  • 832 Comments
Joined 2 years ago
cake
Cake day: July 7th, 2023

help-circle
  • refusal to allow useful endpoints that aren’t sufficiently restful

    And there are good reasons for that, GraphQL-like endpoints seem great to use, but are often a bad idea. The more freedom is given through an API, the less guarantees one can deliver. Security, scalability, and maintainability all become more difficult for APIs with endpoints that attempt to do several things at once.

    But most importantly, REST doesn’t tell you exactly how to build your endpoints, as long as they’re stateless, cacheable, and refer to system resources with enough context to allow their direct manipulation.

    These are good principles for older and modern web apps, that hasn’t changed. In fact, one can argue that the larger and more complex the system the more important it is to simplify its endpoints. And you can build pretty complex systems while following these criteria.











  • Eager Eagle@lemmy.worldtoPrivacy@lemmy.mlShould I use Zen or Floorp Browser ?
    link
    fedilink
    English
    arrow-up
    3
    arrow-down
    1
    ·
    edit-2
    4 days ago

    That only seems relevant if one uses the defaults, and if you care about privacy you probably don’t, so idk what’s the goal of this little experiment other than just curiosity.

    It’d be a whole lot more useful if it was “here’s the connections these browsers made after enabling all privacy-preserving settings they offer”.