Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-112276

Ease Qt REST Client application creation

    XMLWordPrintable

Details

    • Epic
    • Resolution: Unresolved
    • P2: Important
    • None
    • 6.6
    • Network
    • None

    Description

      An umbrella Epic for easing Qt RESTful client application development.
      Please see the top-most comment for most up-to-date understanding.

      Background
      Creating RESTful Qt client applications often implies writing boilerplate code and functionality which could be shared across applications.
      With Qt C++ applications this involves using QNetworkAccessManager related classes, and with Qt Quick applications either that, or the Javascript's XmlHTTPRequest object.

      Approaches
      There are two main approaches for easing the creation of these applications:

      • Code generation based on a REST API description ("spec-based approach")
      • Helper classes/components ("code-based approach")
        • Creation of general purpose REST helper classes / components / wrappers
        • Help with typical REST client application needs, while remaining agnostic of any exact REST API

      These two approaches are separate and suited for different scenarios and developer preferences.
      Mixed use should be possible.

      Functionality
      Both approaches' functionality can be roughly categorized in two:

      • Basic data- and control plane functionality
        • That is, the ability issue various HTTP requests and process/display the responses
        • Ease of access within Qt Quick applications requires particular attention
      • Additional functionality and features
        • Supported authentication/authorisation mechanisms
        • Data caching and offline operation
        • And so on

      Attachments

        Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

              vuokko Juha Vuolle
              vuokko Juha Vuolle
              Vladimir Minenko Vladimir Minenko
              Alex Blasche Alex Blasche
              Votes:
              1 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:

                Gerrit Reviews

                  There are no open Gerrit changes