• Arlo Godfrey@fosstodon.org
    link
    fedilink
    arrow-up
    3
    arrow-down
    2
    ·
    1 day 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.

      • Arlo Godfrey@fosstodon.org
        link
        fedilink
        arrow-up
        2
        arrow-down
        2
        ·
        edit-2
        1 day 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σɠƚԋσʂ ☆@lemmy.mlOP
          link
          fedilink
          arrow-up
          2
          arrow-down
          2
          ·
          1 day 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
            arrow-down
            2
            ·
            edit-2
            1 day 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.

                  • Arlo Godfrey@fosstodon.org
                    link
                    fedilink
                    arrow-up
                    2
                    arrow-down
                    2
                    ·
                    edit-2
                    1 day 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.