Hi,first i want to thank everyone who helps in this forums, i have learned a lot thanks to you guys
Well here is my problem :
I am developing a client server application, the server connects to the database
and the client connects to the server using the QTcpSocket
The idea is that the client sends request to the server so the server performs some action to the database ( inserting records or retrieve a set of records using select for example ), this requests are sent to the server using XML to encapsulate the commands, and the server answers to the client using XML too
1) is there an XML protocol based in QT4 that i can use or i have to design it from zero ?
2) Suppose that the server receives a "SELECT * from User" request ( parsed from the XML protocol ) then the server must perform the solicited action on the database and somehow send the set of records to the client, what would be the best way to serialize the answer ? it must include blobs in case it is necesary
3) once the data has arrived to the client using the XML protocol what would be the most eficient way to use it ? should i fill it on a QStandaridItemModel for example ?
thank you very much for your ideas
PD: sorry my bad english
Bookmarks