Results 1 to 2 of 2

Thread: Is this architecture RIGHT?

  1. #1
    Join Date
    Jul 2016
    Posts
    53
    Thanks
    13
    Qt products
    Qt4 Qt5
    Platforms
    Windows Android

    Default Is this architecture RIGHT?

    Hi,

    The scenario.

    The app is for displaying the maps. The basic functionalities are included like Login/List of Maps Display / Download & DisplayMaps / UserAccessRoles etc.,
    The way I designed architecture, Login.qml for user authentication, Listportal.qml for listing the maps according to user access levels.
    Login.qml/ListPortal.qml will call HomeController.cpp and pass the data. Then HomeController.cpp will decide which class should be called like utility.cpp/model.cpp/ReadWritexml.cpp

    The results will be passed from utility.cpp/model.cpp to HomeController and to Login.qml/ListPortal.qml. I thought about the advantage, Home controller can save the information using Qsettings like username etc., so that time will be saved.

    Am I doing the right architecture? Do we need anything more or less like interface/abstract class should be implemented? I am very much concern about the performance and memory.


    Thanks in advance.

  2. #2
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,363
    Thanks
    3
    Thanked 5,012 Times in 4,791 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: Is this architecture RIGHT?

    There is not enough information here to determine whether the design is good or bad. You have only shown us some relations between QML documents. This doesn't tell what those documents contain and how components interoperate.
    Your biological and technological distinctiveness will be added to our own. Resistance is futile.

    Please ask Qt related questions on the forum and not using private messages or visitor messages.


Similar Threads

  1. Application architecture
    By m15ch4 in forum Qt Programming
    Replies: 19
    Last Post: 9th February 2011, 10:41
  2. not the architecture being linked
    By skizzik in forum Qt Programming
    Replies: 8
    Last Post: 14th October 2010, 09:46
  3. Deploy app under many Mac OS and architecture
    By mourad in forum Installation and Deployment
    Replies: 2
    Last Post: 8th April 2008, 10:31
  4. Qt Cryptographic Architecture
    By vermarajeev in forum Qt Programming
    Replies: 6
    Last Post: 9th February 2007, 13:15
  5. Qt Cryptographic Architecture
    By derick in forum Qt Programming
    Replies: 2
    Last Post: 16th February 2006, 12:10

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.