Thanks for sharing that, Tim. There are a lot of good ways to bring the IBM i to the web.
What was your shop's learning curve with Angular? I've heard Angular has a relatively steep learning curve, but I usually hear that from people advocating for other technologies. So I'd like to know your take on the learning curve for Angular.
The reasons why I'm looking at Node, Express and React are because: (a) we have another development team interested in Node on the IBM i for their own reasons, (b) a lot of people use Express with Node, and (c) React is being used in one form or another by some high volume sites. For example, Walmart is using Node with something called Electrode, which is based on React. And React was created by Facebook.
But other technologies can be equally good at meeting the needs of various shops.
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 Tim Fathers
Sent: Monday, February 26, 2018 3:48 AM
To: Web Enabling the IBM i (AS/400 and iSeries)
Subject: Re: [WEB400] [EXTERNAL] Re: Express, React, Node.JS
...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<
http://myibmi-d:8080/webspi/sp/default/SP_QryMthInvSts%3chttp:/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<mailto:web400-bounces@xxxxxxxxxxxx>> on behalf of Kelly Cookson <KCookson@xxxxxxxxxxxx<mailto: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=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>>
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<mailto:KCookson@xxxxxxxxxxxx%3cmailto: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=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<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<mailto:WEB400@xxxxxxxxxxxx%3cmailto: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><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<mailto:WEB400-request@xxxxxxxxxxxx%3cmailto: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><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<mailto:WEB400@xxxxxxxxxxxx%3cmailto: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><
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<mailto:WEB400-request@xxxxxxxxxxxx%3cmailto: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><
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<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.