By the way, Tim. How do you use single page apps in business contexts?

We have several small apps but the main one is used to help reconcile our IBM i logistic system's invoices with the same ones on an SAP system. We have a nice graphical dashboard with charts showing the invoices that are missing or different (by value, country, type etc.) and the amounts concerned, the users can then drill down to look into the details or use a filtered list with various sort and search criteria to find unreconciled invoices. They can also add comments and assign other groups to issues found, the groups' users are notified by mail with a link to the issue, making it easy for them to go directly to the invoice in question, take any required actions, add their comments and assign the problem elsewhere. One advantage is that we use the Active Directory to authenticate users, so even people with no IBM i profile (such as management) can still use the apps.

The other main application is an internal IT app to manage the part of the BI system we run on our IBM i, so we can monitor the jobs it runs, view them graphically as a timeline and view various other charts to monitor their performance, update mappings and start and stop jobs and check logs. I don't suppose screen shots would work here, otherwise I'd post a couple to give you an idea.

I'm also writing an application for my sister to manage her small child education business, so mainly manging customers, arranging classes and billing etc. but this is using MariaDB for the database and business logic and a thin Node server as described in my previous post. All use Angular as the front-end framework, from version 3 to version 9, depending on when they were written.

Despite the fact I work for quite a progressive IBM i department, it's been a very hard slog to persuade them to use web apps, the users love them but the pushback from aging RPGers who would have to learn even SQL is significant unfortunately, although we are making some progress....

Tim.

________________________________
From: WEB400 <web400-bounces@xxxxxxxxxxxxxxxxxx> on behalf of Nathan Andelin <nandelin@xxxxxxxxx>
Sent: 25 May 2020 17:45
To: Web Enabling the IBM i (AS/400 and iSeries) <web400@xxxxxxxxxxxxxxxxxx>
Subject: Re: [WEB400] PHP webform as an alternative for subfiles

Adding to what Tim said about single page apps. The entry point of the
application might be a very small static HTML skeleton. Add to that page a
reference to a JavaScript framework that transforms it into something
meaningful by having the browser merge skeleton HTML with JSON at runtime,
which might be requested asynchronously from the server. For example:

https://apc01.safelinks.protection.outlook.com/?url=http%3A%2F%2Frd.radile.com%2Frdweb%2Fphones%2Fphonelist.html%23phones&amp;data=02%7C01%7C%7C6c0d7e2ae1c84dac12e908d800c2b150%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637260183482915346&amp;sdata=rxup7gf3zziOCm2PYiXFrFQn%2BY9PMhgUazJ1%2Fd13Hp8%3D&amp;reserved=0

The page alternates between list and detail content by clicking a hyperlink
or the browser back button.

You don't need PHP or any other web-service layer to get an app like that
working. The page might simply reference static JSON or XML, comparable to
the sample shared in the original post.

After you get the app doing what you want, you can change references from
static JSON or XML, to a request that interfaces with a web service (and a
database).

By the way, Tim. How do you use single page apps in business contexts?

Nathan.
--
This is the Web Enabling the IBM i (AS/400 and iSeries) (WEB400) mailing list
To post a message email: WEB400@xxxxxxxxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: https://apc01.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.midrange.com%2Fmailman%2Flistinfo%2Fweb400&amp;data=02%7C01%7C%7C6c0d7e2ae1c84dac12e908d800c2b150%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637260183482915346&amp;sdata=etnbIukGLzk6tUjkfbAsBrjHFj9AjY31rLX7XOH2sQE%3D&amp;reserved=0
or email: WEB400-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives
at https://apc01.safelinks.protection.outlook.com/?url=https%3A%2F%2Farchive.midrange.com%2Fweb400&amp;data=02%7C01%7C%7C6c0d7e2ae1c84dac12e908d800c2b150%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637260183482915346&amp;sdata=fkzP6fyb63Lk5SDvPOScgLS4Y2MviSWz5YDj1eoRGTw%3D&amp;reserved=0.


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.