• Arlo Godfrey@fosstodon.org
    link
    fedilink
    arrow-up
    2
    ·
    11 hours ago

    @yogthos Nobody in their right mind couples UI to business logic, we have MVVM for that and it enables some very impressive integration and UI switching in apps.

    However, thinking at the application level is ignoring everything I just said about the ways that apps communicate.

    • ☆ Yσɠƚԋσʂ ☆OP
      link
      fedilink
      arrow-up
      1
      arrow-down
      2
      ·
      11 hours ago

      Pretty much no app provides APIs to access the business logic layer outside the UI. You’re just trolling at this point.

      • Arlo Godfrey@fosstodon.org
        link
        fedilink
        arrow-up
        2
        ·
        edit-2
        11 hours ago

        @yogthos MVVM stands for Model-View-ViewModel, and is a pattern commonly used in dotnet and winui apps for decoupling backend business logic from frontend UI.

        For example, this: https://youtu.be/Nb6fEeYfDAU

        I feel like I’m the one being trolled here.

        What on earth do you mean by “no app provides APIs to access the business logic layer outside the UI?” These apps are using APIs to begin with, the app doesn’t NEED to provide them. The devs provides them to the app, the other way around.

        • ☆ Yσɠƚԋσʂ ☆OP
          link
          fedilink
          arrow-up
          1
          arrow-down
          2
          ·
          11 hours ago

          I understand how MVC works perfectly fine. This is not what the discussion is about. What you’re being told is that apps you’ll find in the wild typically DO NOT provide APIs that can be leveraged in the way I described. You completely ignored that.

          Show me what Android or iOS apps can be used at API level to create a custom UI on top of them using a third party app.

          • Arlo Godfrey@fosstodon.org
            link
            fedilink
            arrow-up
            2
            ·
            edit-2
            11 hours ago

            @yogthos

            1. This isn’t MVC
            2. I directly addressed that-- APIs exist independent of any one app.
            3. This question about using an App as an API doesn’t make sense. Apps use APIs, they do not provide them.

            Also— nobody is telling me. I’ve been doing this for over a decade.

            • ☆ Yσɠƚԋσʂ ☆OP
              link
              fedilink
              arrow-up
              1
              arrow-down
              2
              ·
              11 hours ago

              Show me what Android or iOS apps can be used at API level to create a custom UI on top of them using a third party app.

                • ☆ Yσɠƚԋσʂ ☆OP
                  link
                  fedilink
                  arrow-up
                  1
                  arrow-down
                  2
                  ·
                  11 hours ago

                  That’s my whole point bro. This is how apps should work, but they don’t work this way.

                  • Arlo Godfrey@fosstodon.org
                    link
                    fedilink
                    arrow-up
                    2
                    ·
                    edit-2
                    11 hours ago

                    @yogthos You’re describing a Platform, but we have an actual oligarchy of tech platforms now. When they get too big, they just become power grabs, hence why Mastodon and Lemmy and fedi in general started picking up recently.

                    It’s not worth even a scrap of good UX if these platforms can take away our voices on a whim. Fedi is on the right track.