0.0.33 • Public • Published


    Node.js-based EWD Gateway for Cache and GT.M

    Rob Tweed rtweed@mgateway.com
    10 January 2013, M/Gateway Developments Ltd http://www.mgateway.com

    Twitter: @rtweed

    Google Group for discussions, support, advice etc: http://groups.google.co.uk/group/enterprise-web-developer-community

    Thanks to Stephen Chadwick for enhancements and modifications

    Installing ewdGateway

       Copy the files from the lib directory of this repository into your working Node.js directory

    You must also install socket.io:

       npm install socket.io

    The ewdGateway2 module is compatible with EWD build 952 or later

    If you are using GT.M you must install David Wicksell's MNode interface package.

    If you are using Caché, ewdGateway2 uses its native Node.js interface (available since Caché 2012.2, but it can be back-ported for use with earlier Caché versions)

    EWD Gateway

    EWD is a proven web application/Ajax framework specifically designed for use with GT.M and Caché databases, allowing extremely rapid development of secure, high-performance web applications.

    The ewdGateway2 module provides a multi-purpose web application gateway for EWD applications. Functionality includes:

    • web server
    • web server gateway to GT.M and Caché, pre-configured for running EWD applications;
    • websockets middle-tier connecting browser to GT.M or Caché, pre-configured for the EWD Realtime functionality;
    • integrated OO access to globals from Javascript/Node.js

    The ewdGateway2 module can be used as a replacement for a standard web server such as IIS or Apache, and no other gateway technology is required. The ewdGateway2 module automatically makes child_process connections to your GT.M or Caché database, the number of connections being determined by the poolSize that you specify.

    For further details about the EWD web application framework for GT.M and Caché, see http://www.mgateway.com/ewd.html

    Using ewdGateway2

    To follow...


    Copyright (c) 2013 M/Gateway Developments Ltd,
    Reigate, Surrey UK.
    All rights reserved.

    Email: rtweed@mgateway.com

    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


    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.




    npm i ewdGateway

    DownloadsWeekly Downloads






    Last publish


    • robtweed