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

    Language recommendation

    Scheduled Pinned Locked Moved App Development
    6 Posts 5 Posters 529 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.
      • U Offline
        unrealb2
        last edited by

        Im a newbie but i want to learn a language. I was going through javascript, but does anyone recommend a language for app development on ubports? Another way to state this is can i make an app just with javascript? Or what do i need learn. I saw qml is used in apps on here

        K poVoqP V 3 Replies Last reply Reply Quote 0
        • K Online
          kugiigi @unrealb2
          last edited by

          @unrealb2 You can create an app purely with QML and JavaScript. They work fine. Most of my apps are like that. Ideally though, JavaScript is only used for UI logic and C++ for the actual app logic. C++ has its benefits like better performance.

          1 Reply Last reply Reply Quote 1
          • poVoqP Offline
            poVoq @unrealb2
            last edited by

            @unrealb2 Qtquick2/qml is mainly used for the interface. Background logic can be almost anything but I would recommend sticking to those that have a premade build container for clickable.

            Python works nicely and is quite beginner friendly.

            Fairphone 5 (waiting for port)

            1 Reply Last reply Reply Quote 2
            • V Offline
              vlladdrakk @unrealb2
              last edited by

              @unrealb2 I would recommend python (if you don't know c++). For a long time I didn't try out any app development because I am not good with c++, but then I found an app I wanted to contribute to. It was written in python and I was able to pick it up pretty quickly, I even started developing my own app with python. QML is fairly easy to get going with too.

              U 1 Reply Last reply Reply Quote 1
              • U Offline
                unrealb2 @vlladdrakk
                last edited by

                @vlladdrakk thats what i was thinking of doing, is finding an app and study its language code and mess around with it. Thanks for the input guys. Yeah i dont know any language ive studied a little bit of bash python and javascript but i want to focus on one to actually build something. Ill look at other peoples code, monkey see monkey do 😋

                L 1 Reply Last reply Reply Quote 1
                • L Offline
                  L-01059 @unrealb2
                  last edited by

                  This post is deleted!
                  1 Reply Last reply Reply Quote 0
                  • First post
                    Last post