RDS Object Model
Remote Data Service is a set of three objects used to provide client-side access to functionality running on the middle tier, especially over the Internet or an intranet.
By using a third middle tier, your application written in VBScript need not access the data source directly. Instead, by using RDS, the client application can instruct IIS to connect to the database itself, optimally processing the data on the server instead of tying up client resources.
The following three objects are provided with RDS:
- DataSpace object
Allows the client access to business objects, such as the DataFactory object, located on the middle tier of an application through the generation of proxies.
- DataFactory object
Provides a client-side application with access to the data. This object can be replaced with a custom object that implements its methods differently than the default.
- DataControl object
Binds one or more HTML controls to a Recordset object so that they are automatically populated with the data retrieved from the Recordset object.
When the client application requests a query from the data source indirectly through RDS, IIS establishes a proxy connection to the data source through either the DataSpace object or the DataControl object, depending upon which one you use in your code.
With the DataControl object, this proxy is used internally and allows the DataControl object access to the data source without the use of the DataSpace or the DataFactory objects. On the client side, the ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access