@progress/jsdo
TypeScript icon, indicating that this package has built-in type declarations

4.4.1 • Public • Published

JSDO

The JSDO is a JavaScript implementation of the CDO Specification published by Progress Software Corporation. The JSDO is a free and open-source full-featured implementation that can be used in web, mobile web and hybrid mobile apps.

Getting Started

Installation

npm install @progress/jsdo

Web Browser Usage

    <script src="<Path to jQuery library>"></script>
    <script src="<Path to Kendo UI library>"></script>    
    <script src="lib/progress.all.js"></script>
    <script>
        var serviceURI = "<Service URI>";
        var catalogURI = "<Catalog URI>";

        progress.data.getSession({
            serviceURI: serviceURI,
            catalogURI: catalogURI,
            authenticationModel: "anonymous"
        }).then(function () {
            var jsdo = new progress.data.JSDO({name: 'Customer'});

            jsdo.fill("CustNum <= 11").then(function (jsdo, success, request) {
                jsdo.ttCustomer.foreach(function (customer) {
                    document.write(customer.data.CustNum + ' ' + customer.data.Name + '<br>');
                });
            }, function () {
                console.log("Error while reading records.");
            });
        }, function () {
            console.log("Error while creating session.");
        });        
    </script>

Notes:

  • Use lib/progress.all.js to include support for the Kendo UI DataSource.
  • Use lib/progress.jsdo.js if you are not using Kendo UI.

Documentation

Progress® Data Objects, which include the JSDO on the client, represent the Progress-released implementation of Cloud Data Objects. For more information on the latest release, see the Progress Data Objects Guide and Reference.

JSDO and OpenEdge compatibility

JSDO version OpenEdge version
4.4.1 11.6.3, 11.7.x

Download

You can download a copy of the full JSDO to a zip file or the individual files below.

Source File Purpose
progress.js JSDO core
progress.session.js JSDO session management
progress.util.js Helper classes for the JSDO
progress.data.kendo.js Kendo UI DataSource for the JSDO
auth/progress.auth.js JSDO authentication provider
auth/progress.auth.basic.js JSDO authentication provider (BASIC auth)
auth/progress.auth.form.js JSDO authentication provider (FORM-based auth)
auth/progress.auth.sso.js JSDO authentication provider (SSO auth)
Lib File Purpose
progress.all.js The JSDO plus the Kendo UI DataSource for JSDO
progress.all.min.js The JSDO plus the Kendo UI DataSource for JSDO minified for deployment
progress.jsdo.js The JSDO core components (JSDO, Session, Util classes)
progress.jsdo.min.js The JSDO core components (JSDO, Session, Util classes) minified for deployment

The JSDO can be used by hybrid mobile apps, mobile web apps and web browser apps to access OpenEdge and Rollbase servers. Other implementations include a client in a mobile Hybrid App (a variation of the browser client), a Telerik® NativeScript client, a Node.js server, and a Java server. The JSDO has successfully been used with servers other than OpenEdge such as Node.js to export data created / aggregated in Modulus™ to a Progress® Rollbase Application.

License

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Readme

Keywords

Package Sidebar

Install

npm i @progress/jsdo

Weekly Downloads

4

Version

4.4.1

License

Apache-2.0

Last publish

Collaborators

  • progress