Software Design: Tier 2 Application with ClientDataSet and Sockets
问题 I have the task to create a tier 2 application as follows: MSSQL Database <-> Server <-> n-Client (n for many) The client sends data to the server. The server selects stuff from the database and then sends it back to the client. Currently I am doing that with Records and SendDataToSocket(url is below). I want to use TDBGrid on the client using data received via sockets from the server. At the moment it goes like this: Server: DB -> ADOQuery -> DataSetProvider -> ClientDataSet -> SaveToStream