× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



My understanding is that you can use Node.JS through CGI, but that is not required. If we use node and Express to set up a node web server, then use the Node Toolkit for i, I think it's using stored procedures under the covers for performance reasons. We would not be using the Apache web server and CGI.

CGI is a perfectly fine technology. It can satisfy needs in many cases. I'm not saying everyone should avoid CGI.

We want to plan for fast performance under very high volumes of concurrent requests. We feel node would offer better performance than CGI under those conditions. (If this isn't the case, then IBM is doing node wrong on the IBM i.)

Thanks,

Kelly Cookson
IT Project Leader
Dot Foods, Inc.
217-773-4486 ext. 12676
www.dotfoods.com<http://www.dotfoods.com>

From: WEB400 [mailto:web400-bounces@xxxxxxxxxxxx] On Behalf Of Bradley Stone
Sent: Tuesday, April 10, 2018 7:56 AM
To: Web Enabling the IBM i (AS/400 and iSeries) <web400@xxxxxxxxxxxx>
Subject: Re: [WEB400] [EXTERNAL] Re: ibm_db node module and IBM Data Server Driver

You do realize node.js is technically CGI too. But I do understand you
probably mean COBOL/RPG CGI.


On Tue, Apr 10, 2018 at 7:53 AM, Bradley Stone <bvstone@xxxxxxxxx<mailto:bvstone@xxxxxxxxx>> wrote:

Why?



On Tue, Apr 10, 2018 at 7:51 AM, Kelly Cookson <KCookson@xxxxxxxxxxxx<mailto:KCookson@xxxxxxxxxxxx>>
wrote:

We don't to use CGI if we can avoid it.

Thanks,

Kelly Cookson
IT Project Leader
Dot Foods, Inc.
217-773-4486 ext. 12676
www.dotfoods.com<http://www.dotfoods.com><http://www.dotfoods.com<http://www.dotfoods.com>>

From: WEB400 [mailto:web400-bounces@xxxxxxxxxxxx] On Behalf Of Bradley
Stone
Sent: Tuesday, April 10, 2018 7:45 AM
To: Web Enabling the IBM i (AS/400 and iSeries) <web400@xxxxxxxxxxxx<mailto:web400@xxxxxxxxxxxx>>
Subject: [EXTERNAL] Re: [WEB400] ibm_db node module and IBM Data Server
Driver

You could create web services using COBOL (or RPG) as well, if that's the
main programing language.

Easily send JSON (or XML. blech...) data back to the requestor. All you'd
really need is YAJL or something similar.

On Tue, Apr 10, 2018 at 7:32 AM, Kelly Cookson <KCookson@xxxxxxxxxxxx
<mailto:KCookson@xxxxxxxxxxxx%0b>>> <mailto:KCookson@xxxxxxxxxxxx>>
wrote:

Basically, yes. We have a lot of COBOL legacy that we want to keep
using.
But we've started to gradually replace green screen development with
.NET
web front-ends.

Our .NET developers used to connect to the IBM I via database drivers
(SQL
for DB2 tables and stored procedures for COBOL programs). But the
drivers
they were using had a dependency on ADO.NET. ADO.NET is not supported
in
the new .NET Core framework. Hence, we're looking into our options.

I was over-complicating things with ibm_db and node on windows. This
approach would require the licensed product IBM Connect. My guess is
that
.NET developers could use drivers directly with IBM Connect.

One of the options we are considering is creating web services on the
IBM
i using Node.JS, Express and Node Toolkit for i. If we adopt node, then
we
could also take advantage of .NET Core JavaScript Services, which allows
.NET apps to incorporate node modules and custom JavaScript functions
running on node on windows. I was exploring ways we might leverage that
capability. That's what lead to me asking about the ibm_db node module.

Thanks,

Kelly Cookson
IT Project Leader
Dot Foods, Inc.
217-773-4486 ext. 12676
www.dotfoods.com<http://www.dotfoods.com><http://www.dotfoods.com<http://www.dotfoods.com>><http://www.dotfoods.com<http://www.dotfoods.com><
http://www.dotfoods.com<http://www.dotfoods.com>>>

--
This is the Web Enabling the IBM i (AS/400 and iSeries) (WEB400) mailing
list
To post a message email: WEB400@xxxxxxxxxxxx<mailto:WEB400@xxxxxxxxxxxx<mailto:WEB400@xxxxxxxxxxxx%3cmailto:WEB400@xxxxxxxxxxxx>>
To subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/web400<https://lists.midrange.com/mailman/listinfo/web400><https://
lists.midrange.com/mailman/listinfo/web400<http://lists.midrange.com/mailman/listinfo/web400>>
or email: WEB400-request@xxxxxxxxxxxx<mailto:WEB400-request@xxxxxxxxxxxx<mailto:WEB400-request@xxxxxxxxxxxx%3cmailto:WEB400-request@xxxxxxxxxxxx>>
Before posting, please take a moment to review the archives
at https://archive.midrange.com/web400<https://archive.midrange.com/web400><https://archive.midrange
.com/web400>.
--
This is the Web Enabling the IBM i (AS/400 and iSeries) (WEB400) mailing
list
To post a message email: WEB400@xxxxxxxxxxxx<mailto:WEB400@xxxxxxxxxxxx>
To subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/web400<https://lists.midrange.com/mailman/listinfo/web400>
or email: WEB400-request@xxxxxxxxxxxx<mailto:WEB400-request@xxxxxxxxxxxx>
Before posting, please take a moment to review the archives
at https://archive.midrange.com/web400<https://archive.midrange.com/web400>.



--
This is the Web Enabling the IBM i (AS/400 and iSeries) (WEB400) mailing list
To post a message email: WEB400@xxxxxxxxxxxx<mailto:WEB400@xxxxxxxxxxxx>
To subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/web400<https://lists.midrange.com/mailman/listinfo/web400>
or email: WEB400-request@xxxxxxxxxxxx<mailto:WEB400-request@xxxxxxxxxxxx>
Before posting, please take a moment to review the archives
at https://archive.midrange.com/web400<https://archive.midrange.com/web400>.

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.