× 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.



Just to clarify one thing John - the latest PHP installs the same way as Python, node.js, etc. No difference. Zend is out of the picture.



On Sep 25, 2020, at 2:34 PM, John Yeung <gallium.arsenide@xxxxxxxxx> wrote:

On Fri, Sep 25, 2020 at 1:44 PM Jon Paris <jon.paris@xxxxxxxxxxxxxx> wrote:

But then if you need to process the data in an RPG program you've not only got to learn Python but the bridgework too.

That's a valid point. I don't want to be dismissive of the bridgework,
but people shouldn't be scared of it either. Writing to physical files
from Python just takes some rudimentary SQL. Writing to IFS stream
files is even easier. So if you just want to dump the JSON you
received from Python into a stream file or CLOB (or other database
character field) which you then pick up with RPG and process in the
usual RPG ways, that's really a very short bridge to build. You can
get that far without even really "learning Python". Just read some
examples online, or ask me here. (Well, use the open source list to
reduce David Gibb's frustration.)

And if you *do* really learn Python, then you are most of the way
toward skipping the RPG program altogether, unless it's a display
program.

P.S. It is equally simple with PHP and probably node.js too - but they also present the same problems.

I only mentioned Node.js as a "peer" to Python because those two are
made available directly from IBM. PHP is definitely comparable, but
for now, it's still a little bit (and I say that without sarcasm, it's
really not that much) harder to install than the ones from IBM.
Definitely, for anyone who already has some familiarity with any one
of those three, a great choice is to simply go with that one.

John Y.
--
This is the RPG programming on IBM i (RPG400-L) mailing list
To post a message email: RPG400-L@xxxxxxxxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/rpg400-l
or email: RPG400-L-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives
at https://archive.midrange.com/rpg400-l.

Please contact support@xxxxxxxxxxxxxxxxxxxx for any subscription related questions.

Help support midrange.com by shopping at amazon.com with our affiliate link: https://amazon.midrange.com


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.