MIDRANGE dot COM Mailing List Archive



Home » MIDRANGE-L » May 2014

Re: Looking for example/instructions on sending data from web to a data queue



fixed

Odd...this *seems* to have never made it to the list. Wonder if GoDaddy is hammering mailing lists now.....

You might as well jump forward and make the solution mobile ready, so
I'd recommend that you wrap your head around some Web 2.0 stuff: Ajax,
Javascript, and JSON. Sending small amounts of data using AJAX is *just*
what you want to do in a mobile app to limit bandwidth utilization.
You'll find it pretty trivial to create a web page that can easily be
viewed on a traditional PC browser and a mobile browser and can
send/receive data to/from the i. I just presented a full day workshop
on doing just that with either PHP, CGIDEV2 or Java on the i. If you
can create and parse a string in RPG you can use AJAX to send and
receive JSON on the i.

Pete Helgren
www.petesworkshop.com
GIAC Secure Software Programmer-Java

On 5/20/2014 11:34 PM, Booth Martin wrote:
Thats the right question I bet.

The scenario is that users in the field want to use their iPhones &
androids to send three fields of data that eventually are delivered
to a box at V7. There a program will use those fields to update a
record. Either an app or a text message is being considered. At the
moment the text message is what is preferred.

Maybe the question I want to ask is: when a form on a web page is
submitted, I want the program that processes it to be an RPG program
on the i. Is there an example of that program somewhere?

On 5/20/2014 10:57 PM, Bradley Stone wrote:
Hi, Booth.

I'm lost as to what your asking. As Vern suggested, when a form on a
web
page is submitted it calls a specific program and that program can
read the
data that was submitted either from the query string environment
variable
(GET) or from the POST data.

Can you elaborate on what you want to do and where you hear the idea
of a
data queue?

Brad
www.bvstools.com











Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2014 by MIDRANGE dot 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 here. If you have questions about this, please contact