Basic RDS programming model
RDS is an application that exists in the following environment to determine the address: The client application specifies the program that will execute on the server and specifies the parameters used to return the corresponding information. The server called by the server accesses the specified data source, retrieves the information, and processes the data, and then returns the result information to the client application in the format that is easy to use. RDS provides you with way to do the following:
Specifies the program called on the server and gets the approach from the client references the program. (This reference is sometimes referred to as "agent", which represents a remote server program. The client application is called the local program as the "call" agent, but actually calls the remote server program.) Call the server program. Transfer the parameters to the server program that identifies the data source and the command to be issued. (The server program actually uses the ADO to access the data source. ADO establishes a connection with one of the give parameters, and then publishes the command specified in other parameters). The server program has a Recordset object from the data source. You can choose to process the Recordset object on the server. The server program returns the final RecordSet object to the client application. At the client, the Recordset object is converted into the format for easy visual control. Any modifications made to the Recordset object will return to the server program, the server program uses these modifications to update the data source.
The programming model contains some convenience. If there is no need for a complex server program to access the data source and provide the required connection and command parameters, RDS will automatically use a simple default server program to retrieve specified data.
If you still need to perform complex processing, you can specify a custom server program. For example, since the custom server program has sufficient ADO disposal capabilities, it can connect several different data sources and combine these data in a complicated manner, and then simplify, the process returned to the client. application.
Finally, if there is any other way between the two, the ADO supports the behavior of custom default server programs.