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
meaningful by having the browser merge skeleton HTML with JSON at runtime,
which might be requested asynchronously from the server. For example:
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
By the way, Tim. How do you use single page apps in business contexts?
This is the Web Enabling the IBM i (AS/400 and iSeries) (WEB400) mailing
To post a message email: WEB400@xxxxxxxxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
or email: WEB400-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives
As an Amazon Associate we earn from qualifying purchases.
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.