The problem:
1. How to do authentication, that is, if you have a lot of users log in to the server, at the same time to query information from the server, the server is how to identify what stage the client by the query? How can do it only for the client back to the information?
2, if the software function is relatively complex, need to transfer a lot of information is very miscellaneous, only SendText () seemed very complex is very complicated, how can you simplify? Is there a better way?
CodePudding user response:
If it is a local area network software can not use three layers, but with the database directly connectedCodePudding user response:
UnidacDirect connection.
CodePudding user response:
Unidac want money, how to break theCodePudding user response:
Many remote calls RPC, method, webservice is one way to do that, but the link database or you yourself, generally with Oracle accounted, mysql to use MySQL++, used to use ado, PostgreSQL USES libpqxx,CodePudding user response:
With the used and ado, seems to be goodCodePudding user response:
Less a self development among three layers will naturally good, otherwise is: database - & gt; ADO - & gt; Middle server - & gt; Network - & gt; Your C/S application, problems with their development in the middle of the server database and ADO with far less famous brand companiesCodePudding user response:
Choose TCP, the c-terminal login success will no longer be disconnected until the task is complete, each has a socket connection is successful, is from the socket to identify each C S end,