Results 1 to 2 of 2

Thread: Three tire architecture for database application ?

  1. #1
    Join Date
    Nov 2006
    Location
    Saudi Arabia
    Posts
    18
    Thanks
    2
    Thanked 4 Times in 4 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Lightbulb Three tire architecture for database application ?

    Hello,
    I've the following questions:

    1- Is it common to use 3-tire architecture (Presentation Layer <--> Business Layer <--> Data Access Layer) for Qt desktop application? or it is just for web application ?

    2- For database application, its better to use Qt's MV architecture (e.g: QSqlTableModel and QTableView) or to use 3-tire architecture (Build the layers and use SQL statement)? from the point of application design,developing time and ease of modification.

    in short: What is the best/common practice to develop Qt database application?

    Thanks.
    Last edited by SudaNix; 17th October 2010 at 22:56.

  2. #2
    Join Date
    Jan 2006
    Location
    Germany
    Posts
    4,380
    Thanks
    19
    Thanked 1,005 Times in 913 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows Symbian S60
    Wiki edits
    5

    Default Re: Three tire architecture for database application ?

    Quote Originally Posted by SudaNix View Post
    2- For database application, its better to use Qt's MV architecture (e.g: QSqlTableModel and QTableView) or to use 3-tire architecture (Build the layers and use SQL statement)? from the point of application design,developing time and ease of modification.
    Well you can do the work by your own, but I would go the easy why and use what Qt provides you (QtSql Module). Because with that you can be sure, that it fit all other Qt classes and many people have developed and tested it. And I doubt that you can gain much speed if you program custom layers.

Similar Threads

  1. Implementation help (database application)
    By jiveaxe in forum Qt Programming
    Replies: 2
    Last Post: 5th February 2010, 16:58
  2. Advice needed for QT application architecture
    By hubbobubbo in forum Qt Programming
    Replies: 0
    Last Post: 14th December 2009, 11:30
  3. Replies: 1
    Last Post: 16th September 2008, 17:29
  4. Run database application from Konqueror
    By jiveaxe in forum Newbie
    Replies: 3
    Last Post: 17th October 2007, 17:54
  5. Application plug-in architecture
    By brcain in forum Qt Programming
    Replies: 3
    Last Post: 13th September 2006, 00:39

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.