...our solution is to have a thin Java layer running under Tomcat on the IBM i which exposes SQL stored procedures in a sort of RESTful way, so that you can execute them by POSTing to a URL like this:
http://myibmi-d:8080/webspi/sp/default/SP_QryMthInvSts<http://ger400-d:8080/webspi/sp/default/W222_SP_QryMthInvSts> where (SP_QryMthInvSts is the stored procedure) with a JSON payload as the parameters: {"inputParms":{"YYYYMM_":201802,"STATUSFILTERS_":"!,W,U,N,D","PAGE_NUM_":1,"PAGE_SIZE_":20}}. The results sets are returned as a JSON object which always has the same structure regardless of which procedure was called. All of the business logic is written using SQL or RPG exposed as stored procedures which means people don't have to learn a new language or rewrite swathes of existing code in something new.

For the front-end we use Angular to create single-page web applications, which simply execute the stored procedures on the back-end and process the returned result sets to do their work.

Tim.

________________________________
From: WEB400 <web400-bounces@xxxxxxxxxxxx> on behalf of Kelly Cookson <KCookson@xxxxxxxxxxxx>
Sent: 23 February 2018 23:35
To: Web Enabling the IBM i (AS/400 and iSeries)
Subject: Re: [WEB400] [EXTERNAL] Re: Express, React, Node.JS

We had other development teams learn Angular for a mobile app. But they are not using Node.

We have been using .NET to develop web pages instead of green screens. However, Node has caught the attention of some developers. I’m diving in to figure out how to develop browser based interfaces and RESTful web services using Node. It seems like Express and React keep coming up. I know Node and its modules are supposed to be cross-platform. But I didn’t know if there was anything unique due to the platform being PASE instead of Linux. (.NET Core runs on Linux but not in PASE, so the port to PASE can sometimes matter.)

Thanks,

Kelly Cookson
IT Project Leader
Dot Foods, Inc.
217-773-4486 ext. 12676
https://nam04.safelinks.protection.outlook.com/?url=www.dotfoods.com&data=02%7C01%7C%7Cdaada53524114ac3709108d57b0dbdc7%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C636550221301337750&sdata=UbM%2FuUo7jLxPtawL0nhTfZ5JsMHjh3sR%2BOt3wmprb9I%3D&reserved=0<https://nam04.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.dotfoods.com&data=02%7C01%7C%7Cdaada53524114ac3709108d57b0dbdc7%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C636550221301337750&sdata=TSGxx87gW%2FiSTEsfKLghqPYuCzpALmNNJ3X6QACpnLQ%3D&reserved=0>

From: WEB400 [mailto:web400-bounces@xxxxxxxxxxxx] On Behalf Of Kevin
Sent: Friday, February 23, 2018 2:48 PM
To: Web Enabling the IBM i (AS/400 and iSeries)
Subject: [EXTERNAL] Re: [WEB400] Express, React, Node.JS

There is not going to be anything specific to the IBMi out there for things like Express and React. There wouldn’t be for any specific platform. The whole idea is that these things are platform agnostic and so just learning them is good enough for any platform. Only when you start accessing data does platform come in to play - and neither of those libraries help you there. I thought you were learning Angular anyway?

On 23 Feb 2018, at 17:37, Kelly Cookson <KCookson@xxxxxxxxxxxx<mailto:KCookson@xxxxxxxxxxxx>> wrote:

I am currently learning JavaScript. My aim is to learn how to develop web apps and RESTful web services using Node on the IBM i. From what I have been reading, it sounds like Express module and the React library will be useful for me to learn.

It's easy to find documentation, tutorials and other learning materials for Express and React in general. What documentation, tutorials or learning materials do people recommend for Express and React specifically on the IBM i?

Thanks,

Kelly Cookson
IT Project Leader
Dot Foods, Inc.
217-773-4486 ext. 12676
https://nam04.safelinks.protection.outlook.com/?url=www.dotfoods.com&data=02%7C01%7C%7Cdaada53524114ac3709108d57b0dbdc7%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C636550221301337750&sdata=UbM%2FuUo7jLxPtawL0nhTfZ5JsMHjh3sR%2BOt3wmprb9I%3D&reserved=0<https://nam04.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.dotfoods.com&data=02%7C01%7C%7Cdaada53524114ac3709108d57b0dbdc7%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C636550221301337750&sdata=TSGxx87gW%2FiSTEsfKLghqPYuCzpALmNNJ3X6QACpnLQ%3D&reserved=0><https://nam04.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.dotfoods.com&data=02%7C01%7C%7Cdaada53524114ac3709108d57b0dbdc7%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C636550221301337750&sdata=TSGxx87gW%2FiSTEsfKLghqPYuCzpALmNNJ3X6QACpnLQ%3D&reserved=0<https://nam04.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.dotfoods.com&data=02%7C01%7C%7Cdaada53524114ac3709108d57b0dbdc7%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C636550221301337750&sdata=TSGxx87gW%2FiSTEsfKLghqPYuCzpALmNNJ3X6QACpnLQ%3D&reserved=0>>
.
--
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://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.midrange.com%2Fmailman%2Flistinfo%2Fweb400&data=02%7C01%7C%7Cdaada53524114ac3709108d57b0dbdc7%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C636550221301337750&sdata=OYMsfgh8n%2FDrJqv18AmXJ%2F%2BYMp%2B9bshaRrRZuZ7ek0c%3D&reserved=0<https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.midrange.com%2Fmailman%2Flistinfo%2Fweb400&data=02%7C01%7C%7Cdaada53524114ac3709108d57b0dbdc7%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C636550221301337750&sdata=OYMsfgh8n%2FDrJqv18AmXJ%2F%2BYMp%2B9bshaRrRZuZ7ek0c%3D&reserved=0>
or email: WEB400-request@xxxxxxxxxxxx<mailto:WEB400-request@xxxxxxxxxxxx>
Before posting, please take a moment to review the archives
at https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Farchive.midrange.com%2Fweb400&data=02%7C01%7C%7Cdaada53524114ac3709108d57b0dbdc7%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C636550221301337750&sdata=%2BMI9gYkn4Ywy93JeP0MSOANiu45FqO0s6cK7t%2Fmy%2BDE%3D&reserved=0<https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Farchive.midrange.com%2Fweb400&data=02%7C01%7C%7Cdaada53524114ac3709108d57b0dbdc7%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C636550221301337750&sdata=%2BMI9gYkn4Ywy93JeP0MSOANiu45FqO0s6cK7t%2Fmy%2BDE%3D&reserved=0>.


--
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://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.midrange.com%2Fmailman%2Flistinfo%2Fweb400&data=02%7C01%7C%7Cdaada53524114ac3709108d57b0dbdc7%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C636550221301337750&sdata=OYMsfgh8n%2FDrJqv18AmXJ%2F%2BYMp%2B9bshaRrRZuZ7ek0c%3D&reserved=0<https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.midrange.com%2Fmailman%2Flistinfo%2Fweb400&data=02%7C01%7C%7Cdaada53524114ac3709108d57b0dbdc7%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C636550221301337750&sdata=OYMsfgh8n%2FDrJqv18AmXJ%2F%2BYMp%2B9bshaRrRZuZ7ek0c%3D&reserved=0>
or email: WEB400-request@xxxxxxxxxxxx<mailto:WEB400-request@xxxxxxxxxxxx>
Before posting, please take a moment to review the archives
at https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Farchive.midrange.com%2Fweb400&data=02%7C01%7C%7Cdaada53524114ac3709108d57b0dbdc7%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C636550221301337750&sdata=%2BMI9gYkn4Ywy93JeP0MSOANiu45FqO0s6cK7t%2Fmy%2BDE%3D&reserved=0<https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Farchive.midrange.com%2Fweb400&data=02%7C01%7C%7Cdaada53524114ac3709108d57b0dbdc7%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C636550221301337750&sdata=%2BMI9gYkn4Ywy93JeP0MSOANiu45FqO0s6cK7t%2Fmy%2BDE%3D&reserved=0>.
--
This is the Web Enabling the IBM i (AS/400 and iSeries) (WEB400) mailing list
To post a message email: WEB400@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.midrange.com%2Fmailman%2Flistinfo%2Fweb400&data=02%7C01%7C%7Cdaada53524114ac3709108d57b0dbdc7%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C636550221301337750&sdata=OYMsfgh8n%2FDrJqv18AmXJ%2F%2BYMp%2B9bshaRrRZuZ7ek0c%3D&reserved=0
or email: WEB400-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Farchive.midrange.com%2Fweb400&data=02%7C01%7C%7Cdaada53524114ac3709108d57b0dbdc7%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C636550221301337750&sdata=%2BMI9gYkn4Ywy93JeP0MSOANiu45FqO0s6cK7t%2Fmy%2BDE%3D&reserved=0.


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.