UBports Robot Logo UBports Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login

    What type of app? (qml, html ...)

    Scheduled Pinned Locked Moved App Development
    2 Posts 2 Posters 281 Views 1 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
      Reply
      • Reply as topic
      Log in to reply
      This topic has been deleted. Only users with topic management privileges can see it.
      • Schlicki2808S Offline
        Schlicki2808
        last edited by

        I have a "philosophical" question: I like to develop apps for UT, especially those who aren't yet existing. I already published two apps and I'm gonna make a third one. Until now, I've chosen the HTML template in clickable because I am faster in creating an HTML interface than a qml gui. I know that HTML apps often doesn't feel like native apps and they do not look exactly like a native UT app even if I take the original icons and try to imitate the look-and-feel of a native app.

        Now my question is: should I learn qml to develop native UT apps (the HTML apps are native and offline, too, but they do not look like that) or can I continue using the HTML template? Would it be important that the UT apps are technically more consistent or can I use what I'm best in?

        Thanks for your opinions!

        AppLeeA 1 Reply Last reply Reply Quote 0
        • AppLeeA Offline
          AppLee @Schlicki2808
          last edited by

          Hi @schlicki2808

          That's an interesting question.
          My opinion is to do what is best for you.

          But I will nuance this.
          There are features like the swipe from bottom that are easier to do with a native QML app.
          HTML app are considered native as far as they are designed for Ubuntu Touch, but using C++ is faster than Javascript and there are tons of libraries one can use to improve their app.

          My idea is that HTML apps might be less optimized and maybe more resources hungry. But I might be wrong about it.

          Pure QML apps use Javascript for the processing.
          C++ is better and closer to the OS.
          HTML I imagine uses QtWebview or such to render HTML which should eat a bit of RAM and CPU power...

          For "simple" apps we won't probably notice the difference.
          For more power consuming apps, C++ libraries is the best IMHO.

          Regarding the visual aspect (which I believe is the core of your message) I think each developer has their own style and I'm not sure if the techno used has such an impact compared to the design choices of the developer.
          But I might be completely wrong as I only have experience with QML.
          Maybe Joan might have a better take/answer on this.

          1 Reply Last reply Reply Quote 1
          • First post
            Last post