Basic RDS programming Model

Source: Internet
Author: User
Tags return client
Programming basic RDS programming model







RDS determines the address for applications that exist in the following environment: The client application specifies the program that will be executed on the server and specifies the parameters used to return the appropriate information. The invoked program on the server accesses the specified data source, retrieves the information, handles the data appropriately, and returns the resulting information to the client application in an easy-to-use format. RDS provides you with the following series of actions:
Specify the program to be invoked on the server and get a way to refer to the program from the client. (This reference is sometimes referred to as "proxy", which represents a remote server program.) The client application calls the proxy as if it were a local program, but it actually calls the remote server program. )

invokes the server program. Pass parameters to the server program that identifies the data source and the command you want to publish. (The server program actually accesses the data source using ADO.) ADO establishes a connection to one of the given parameters and then publishes the commands specified in the other parameters.

The server program obtains the 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.

On the client side, the Recordset object is converted into a format that facilitates the use of the visual control.

Any modifications made to the Recordset object are returned to the server program, which updates the data source with these modifications.
The programming model includes some convenience features. If you do not need a complex server program to access the data source and provide the required connection and command parameters, RDS automatically retrieves the specified data using a simple default server program.

If you still need to do complex processing, you can specify a custom server program. For example, because a custom server program has enough ADO disposition capabilities, it can connect several different data sources, combine the data in some complex way, and then return the simplified, processed results to the client application.

Finally, if there is another way to do this, ADO supports customizing the default server program's behavior.


Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.