Sometimes I think the SEO thing is a bit or a red herring though. I think SPAs are a good fit for web *applications* not web *pages* necessarily. Even a public facing web application itself isn't something that typically must appear in a search engine, I see it as what the name implies, an application that is used over the web as opposed to some information portal that people would search for. With web pages, on the other hand, you mostly do want to have them appear in searches and SEO is important. That said, Angular (being a product of Google) does have to SEO features, such as Angular Universal, which allows the prerendering of pages.

If I had a public facing web app I'd probably have a web page to publicise it, like a shop window, and a click through to the app itself on a different domain, which I'm pretty sure is what many do anyway.

Tim.

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

My website (https://nam05.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.bvstools.com%2F&amp;data=02%7C01%7C%7C7282502d836b49ab764708d800c3735e%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637260186733352654&amp;sdata=gLWDmxqCsmla5z9JcwIia7rzJ08PxQOdzr3wXtavAGU%3D&amp;reserved=0) is an SPA. I've done of lot of them with
CGIDEV2 and eRPG SDK for customers as well. I also heavily use SSIs.

They're (SPAs) great for internal things, but as I found out a bear for
public facing websites and SEO. But I found a way around that for the most
part.


Bradley V. Stone
https://nam05.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.bvstools.com%2F&amp;data=02%7C01%7C%7C7282502d836b49ab764708d800c3735e%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637260186733357645&amp;sdata=CVY0f3VS5di9SEviJcvfTrDfIAXMIGHsyOuStRBRtc8%3D&amp;reserved=0
GreenTools for G Suite/Google Apps <https://nam05.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.bvstools.com%2Fg4g.html&amp;data=02%7C01%7C%7C7282502d836b49ab764708d800c3735e%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637260186733357645&amp;sdata=ue0ioiyYdB2yCKJ1fBhVFXOSjyEPcrarf9%2FIAsR9vxI%3D&amp;reserved=0>:
Easy to use interfaces for GMail, Google Drive, Calendar, Contacts and
Cloud Print! <\body> <\html>

On Mon, May 25, 2020 at 10:45 AM Nathan Andelin <nandelin@xxxxxxxxx> wrote:

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://nam05.safelinks.protection.outlook.com/?url=http%3A%2F%2Frd.radile.com%2Frdweb%2Fphones%2Fphonelist.html%23phones&amp;data=02%7C01%7C%7C7282502d836b49ab764708d800c3735e%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637260186733357645&amp;sdata=Sy%2FyJs7DWV7BL5nj%2BOgD%2BeWjahyYaSwxpD5QhZxoa%2BU%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://nam05.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.midrange.com%2Fmailman%2Flistinfo%2Fweb400&amp;data=02%7C01%7C%7C7282502d836b49ab764708d800c3735e%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637260186733362635&amp;sdata=vviy1pxcNHLyLIA0reWIPd2ulfJyI4pPKQ08cLGIPRU%3D&amp;reserved=0
or email: WEB400-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives
at https://nam05.safelinks.protection.outlook.com/?url=https%3A%2F%2Farchive.midrange.com%2Fweb400&amp;data=02%7C01%7C%7C7282502d836b49ab764708d800c3735e%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637260186733362635&amp;sdata=Fahvdw6K8%2B4AtVNkAaAHcZjr0JqNoV2bEpMMrHtUGYk%3D&amp;reserved=0.


--
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://nam05.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.midrange.com%2Fmailman%2Flistinfo%2Fweb400&amp;data=02%7C01%7C%7C7282502d836b49ab764708d800c3735e%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637260186733362635&amp;sdata=vviy1pxcNHLyLIA0reWIPd2ulfJyI4pPKQ08cLGIPRU%3D&amp;reserved=0
or email: WEB400-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives
at https://nam05.safelinks.protection.outlook.com/?url=https%3A%2F%2Farchive.midrange.com%2Fweb400&amp;data=02%7C01%7C%7C7282502d836b49ab764708d800c3735e%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637260186733362635&amp;sdata=Fahvdw6K8%2B4AtVNkAaAHcZjr0JqNoV2bEpMMrHtUGYk%3D&amp;reserved=0.


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