|
It appears to me that a key to generating RUI applications is to embed RUIwidgets in standard HTML pages, use a template engine to dynamically
Hi Aaron,
It appears to me that a key to generating RUI applications is to embed RUI
widgets in standard HTML pages, use a template engine to dynamically
generate pages, then have high-level RPG procedures asynchronously supplying
properly formatted data streams to data-bound widgets.
Here's an example that you will relate to, since it was derived in part
from the Pet Store Item List that you provided in your RPGUI library.
http://www.radile.com/rdweb/temp/petitems.pdf
Note that a JSON formatted data stream is generated in the RPG "loadgrid"
subroutine by mapping the internal record buffer "itemrec" to a JSON array
object. The jsoRecWrt() procedure is a remarkably streamlined procedure for
mapping fields from any internal record buffer to a JSON object. It really
streamlines the interface for the programmer.
You can compare that to the jsonNode() procedure in PowerExt, which in
contrast requires developers to write substantially more lines of code.
Nathan.
As an Amazon Associate we earn from qualifying purchases.
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.