Important: Please read the Qt Code of Conduct -

Retrieve Data From Server

  • i have question and I'll appreciate your answer
    if i’ll retrieve data from server what is the best approach 2 get data be xmlhttprequest (using handler or webservice )or build c++ component that handle this issue?
    thanks in advance :)

  • Eh... That would depend on the kind of data, the kind of application and the kind of server?

  • first of all thanks for reply :)
    i have sql server and i already have http handler retrieve data in xml format and i succeed 2 retrieve it using xmlhttprequest and xmllistmodel
    but i don't know if it's the best approach or i should use another way like retrieve data using c++ and build data model using c++?
    if i have database on sql server and want 2 retrieve data from it 2 build dynamic view what's the best approach ??

  • I don't think there is anything wrong with your current approach, based on the little information you give, of course.

  • i appreciate if u tell me another alternative 2 get the data say i build thread of comments "saved on sql server database" using qml? and what's the criteria i used 2 decide which approach i take 2 enhance the performance?
    i heart that if ur model exceed specific number you should use c++ is it right?

Log in to reply