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



Yes, I tried to suggest that in my previous post. jsoRecWrt() also automatically applies edit codes that may be defined in the record format for numeric fields. Our toolkit already had a similar procedure for mapping IBM i records to HTML templates, so I was able to leverage that to additionally generate JSON formatted output streams.

I'm currently working on another procedure - jsoRecGet(), to validate and map JSON formatted "input" streams to IBM i record formats to streamline that interface as well. I've been feeling pressure for quite some time to provide an interface for ExtJs and similar clients, in addition to the HTML interfaces I have been supporting. Then your project added more pressure to provide more streamlined interfaces than ones offered by Mihael Schmidt and Henrik Rützou.

There are quite a few synergies between traditional HTML interfaces and newer RUI clients.

Nathan.
www.relational-data.com







----- Original Message ----
From: Aaron Bartell <aaronbartell@xxxxxxxxx>
To: Web Enabling the AS400 / iSeries <web400@xxxxxxxxxxxx>
Sent: Fri, January 1, 2010 6:56:34 AM
Subject: Re: [WEB400] PowerExt (www.PowerExt.com)

After looking at your code some more I think I realized another aspect of
what you are doing. On this line:

jsoRecWrt('ITEM':itemrec@);

Does that do some sort of DSPFFD to obtain the layout of the record and then
"parse" the record to put into the JSON data stream? I did something
similar for an EDI web app at a previous employer and totally forgot about
it.

Aaron Bartell
http://mowyourlawn.com
http://mowyourlawn.com/blog/


On Thu, Dec 31, 2009 at 2:14 PM, Nathan Andelin <nandelin@xxxxxxxxx> wrote:

I don't find traditional JavaScript to be highly prone to error, but the
JavaScript Object Notation used to define widgets in ExtJs and similar
libraries, is. It's both prone to error, and hard to debug. It was good to
see them coming out with a WYSIWYG designer.

I don't fully understand your suggestion for storing UI elements in DB2
tables. I assumed the ExtJs designer would output stream files, which could
be used as templates, with substitution variables, where needed.

Nathan
http://www.relational-data.com




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.