2-tier

Software Design: Tier 2 Application with ClientDataSet and Sockets

南楼画角 提交于 2019-12-11 09:52:46
问题 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