Bradley,

ofcouse input may be in JSON - this is 2017 ;-)

On Wed, Dec 13, 2017 at 11:15 PM, Bradley Stone <bvstone@xxxxxxxxx> wrote:

I don't follow.

Do you expect the input to be JSON as well.. not at all.. with CGIDEV2 or
eRPG SDK, or even your own API wrappers reading in data from forms is
easy.

If input data IS in JSON, easy as well with YAJL.

Building dynamic SQL from the input and reading data and spitting out JSON
is also fairly straightforward if you're willing to learn.

Anyhoo, I'm out for the night. I have a meeting with some friends, tacos,
beer and our guitars.. it's blues night! Jam time! (or as we call, it,
therapy lol!)

Bradley V. Stone
www.bvstools.com
MAILTOOL Benefit #18 <https://www.bvstools.com/mailtool.html>: Ability to
use SSL, TLS or OAuth 2.0 authentication. (OAuth 2.0 only available with
Google or Microsoft Office 365).

On Wed, Dec 13, 2017 at 3:57 PM, Henrik Rützou <hr@xxxxxxxxxxxx> wrote:

Bradley,

the problem with clean YAJL is preprocessing of parameters and input in
JSON - that isn't exactly an easy
task.

On Wed, Dec 13, 2017 at 10:54 PM, Bradley Stone <bvstone@xxxxxxxxx>
wrote:

Why not "spit out" JSON using YAJL then to standard output and let the
web
programmers process/format it.

But walk before you can run. :)

Bradley V. Stone
www.bvstools.com
MAILTOOL Benefit #20 <https://www.bvstools.com/mailtool.html>: The
ability
to specify multiple email routers/relays to make sure emails are sent
when
they need to be.

On Wed, Dec 13, 2017 at 3:32 PM, Booth Martin <booth@xxxxxxxxxxxx>
wrote:

Yes. Actually, I had your book and it helped me. Thank you. It
disappeared in one upheaval or another.

The issue, for me, is that I want to approach the data from the web
developer's side. Use a web developer's tool set, not an IBM
programmer's
tool set. I am suspicious that what I want is a way to provide the
data
as
a web service? Not sure of the terminology ... I believe I want to
"consume a web service"? At this point I am over my head so I
suspect
my
terminology is bad.

In other words, I want to be able to say to an RPG programmer "You
provide
the data this way:" and to the web dudes & dudettes "Here is the data
you
requested, ready to use:"



On 12/13/2017 3:18 PM, Bradley Stone wrote:

Are you asking how to write an RPG program that reads from a DB and
spits
out the information on the web page?

If so, I wrote a few books about that a few years ago... eRPG was
the
title. :)

Now I'd prefer to use CGIDEV2 or eRPG SDK. But the basis is still
the
same.

Your subfile program that exists now is easily converted into a CGI
program
to spit that data out to a web page. I have tons of examples at:
http://erpgsdk.bvstools.com/demo/

Also, www.fieldexit.com has a ton of examples too. They do all
sorts
of
things from reading from a DB, to using web services to get
information.

CGIDEV2 I'm sure has a lot of examples as well.


Bradley V. Stone
www.bvstools.com
MAILTOOL Benefit #16 <https://www.bvstools.com/mailtool.html>: No
external
"helper" PC system required. 100% IBM i native!


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

Please contact support@xxxxxxxxxxxx for any subscription related
questions.

Help support midrange.com by shopping at amazon.com with our
affiliate
link: http://amzn.to/2dEadiD

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

Please contact support@xxxxxxxxxxxx for any subscription related
questions.

Help support midrange.com by shopping at amazon.com with our affiliate
link: http://amzn.to/2dEadiD




--
Regards,
Henrik Rützou

http://powerEXT.org <http://powerext.org/>
--
This is the RPG programming on the IBM i (AS/400 and iSeries) (RPG400-L)
mailing list
To post a message email: RPG400-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/rpg400-l
or email: RPG400-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at https://archive.midrange.com/rpg400-l.

Please contact support@xxxxxxxxxxxx for any subscription related
questions.

Help support midrange.com by shopping at amazon.com with our affiliate
link: http://amzn.to/2dEadiD

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

Please contact support@xxxxxxxxxxxx for any subscription related
questions.

Help support midrange.com by shopping at amazon.com with our affiliate
link: http://amzn.to/2dEadiD





As an Amazon Associate we earn from qualifying purchases.

This thread ...

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.