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



Hi Booth

I feel you would get a bit of benefit out of forgetting the IBM i side of
things temporarily and go about building a web server, web page etc in any
of the flavours you can manage it on a PC. Just get a book that tells you
how to build a test LAMP stack on your PC (or RoR or... or whatever floats
your boat really) and try learning the terminology and pieces without
trying to fit them back into your RPG scenario.

When you feel like you are on top of what's gogin on and all the pieces you
will be able to come back to the RPG/IBM i side of things and it should
make more sense how it fits together. If nothing else you will have a fun
detour where you will learn some stuff.


On Thu, Dec 14, 2017 at 10:57 AM, 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





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.