On web 'apps'

Off-topic discussion/chat/argue area with special rules of engagement.
Forum rules
The Off-Topic area is a general community discussion and chat area with special rules of engagement.

Enter, read and post at your own risk. You have been warned!
While our staff will try to guide the herd into sensible directions, this board is a mostly unrestricted zone where almost anything can be discussed, including matters not directly related to the project, technology or similar adjacent topics.

We do, however, require that you:
  • Do not post anything pornographic.
  • Do not post hate speech in the traditional sense of the term.
  • Do not post content that is illegal (including links to protected software, cracks, etc.)
  • Do not post commercial advertisements, SEO links or SPAM posts.
We also ask that you keep strongly polarizing topics like politics and religion to a minimum. This forum is not the right place to discuss such things.
Please do exercise some common sense. How you act here will inevitably influence how you are treated elsewhere.
User avatar
moonbat
Knows the dark side
Knows the dark side
Posts: 5746
Joined: 2015-12-09, 15:45

On web 'apps'

Post by moonbat » 2024-10-21, 08:01

I'm coming from a decidedly outdated perspective, yet one that Pale Moon still follows in spirit and substance - that a web browser is a remote document viewer and not a virtual machine for remote applications.
The nomenclature is off, for starters - a webpage is not an app. It requires the browser engine to be rendered at all before it can exchange any information with its server, and one can as well create a shortcut to it. If the argument is that it shouldn't be sharing data with the browser or that it's 'inconvenient' to launch the browser in order to load a desktop shortcut - what is the workflow these days that does not involve keeping the browser running (often with a few thousand tabs for some weird bookmark not using people)?
Mozilla recently revived the concept for Firefox - with that browser's containers feature, you can already create a separate container to isolate a given website. I saw andyprough's howto on converting Tutanota into a web app for Pale Moon - it again boils down to a separate profile launched with a shortcut.

I so wish for the timeline where Mozilla realized the goldmine that their application platform could be and promoted the hell out of it after hiring decent technical writers to fix up the documentation - we would have powerful internet enabled cross platform desktop programs today written with just a knowledge of Javascript and XML (XUL), and each application would be extensible with addons just as Firefox and Thunderbird originally were. Far better than forcing a webpage to run in an isolated browser wrapper and calling it an 'app'.
"One hosts to look them up, one DNS to find them and in the darkness BIND them."

Image
KDE Neon on a Slimbook Excalibur (Ryzen 7 8845HS, 64 GB RAM)
AutoPageColor|PermissionsPlus|PMPlayer|Pure URL|RecordRewind|TextFX
Jabber: moonbat@hot-chili.net

User avatar
Nuck-TH
Project Contributor
Project Contributor
Posts: 324
Joined: 2020-03-02, 16:04

Re: On web 'apps'

Post by Nuck-TH » 2024-10-21, 10:55

This can be summed as that Mozilla platform could be Electron done right. Alas, despite being visioners, they failed to properly document, make accessable(xulrunner and stuff) and promote it.
And so we have what we have.

BenFenner
Keeps coming back
Keeps coming back
Posts: 854
Joined: 2015-06-01, 12:52
Location: US Southeast

Re: On web 'apps'

Post by BenFenner » 2024-10-21, 14:01

moonbat wrote:
2024-10-21, 08:01
we would have powerful internet enabled cross platform desktop programs today written with just a knowledge of Javascript and XML (XUL)
Gross.

User avatar
Moonchild
Project founder
Project founder
Posts: 38670
Joined: 2011-08-28, 17:27
Location: Sweden

Re: On web 'apps'

Post by Moonchild » 2024-10-21, 14:16

BenFenner wrote:
2024-10-21, 14:01
Gross.
What's gross about it?
To me it feels like it would be the best of both worlds: easy to maintain and write desktop applications with a powerful web-capable engine under the hood to exchange data with servers (instead of tasking a browser to compile and run all that on-the-fly)
"There is no point in arguing with an idiot, because then you're both idiots." - Anonymous
"Seek wisdom, not knowledge. Knowledge is of the past; wisdom is of the future." -- Native American proverb
"Linux makes everything difficult." -- Lyceus Anubite

User avatar
moonbat
Knows the dark side
Knows the dark side
Posts: 5746
Joined: 2015-12-09, 15:45

Re: On web 'apps'

Post by moonbat » 2024-10-21, 21:15

Nuck-TH wrote:
2024-10-21, 10:55
This can be summed as that Mozilla platform could be Electron done right. Alas, despite being visioners, they failed to properly document, make accessable(xulrunner and stuff) and promote it.
And so we have what we have.
Documentation has always been their Achilles' heel. Even what little is left that RealityRipple kindly backed up is so moth eaten and was submitted by external volunteers. It's amazing that for all the money Mozilla made from Google search, they couldn't hire technical writers to design proper documentation and keep it up to date with platform changes (the last part is even more important; incomplete or obsolete documentation is worse than none at all). Microsoft long ago understood that attracting developers was what would keep users staying on Windows; their MSDN and Visual Studio were unparalleled and every other IDE we have now has mostly copied features from VS.
BenFenner wrote:
2024-10-21, 14:01
Gross.
There's a whole range of XUL based desktop software that was written in the 00s. Especially Songbird - a media library, and Instantbird - a classic multi protocol IM. Both of these supported extensions written for them the same way as Firefox. And they would follow the UI conventions on each platform - Windows, Mac and Linux. Why is that gross, that too compared to what we have today? Now that's gross.
Moonchild wrote:
2024-10-21, 14:16
easy to maintain and write desktop applications with a powerful web-capable engine under the hood to exchange data with servers (instead of tasking a browser to compile and run all that on-the-fly)
Not only that. For years we've been hearing that the supposed drawback of desktop applications vs web based ones was deploying new versions to end users. The update server mechanism takes care of even that - in a corporate scenario one can set up an intranet server to push updates to the app, and use the same extension mechanism of XUL to modify it with newer features and functionality as needed, and sign the extensions here for further security. If they were provided zipped instead of as installers, then there's no need for local admin rights to update them either.

Mozilla was sitting on a goldmine. They needed to stabilize the public APIs, make proper documentation and then could have collaborated with others like the Eclipse Foundation to make an official IDE plugin for Eclipse (there was a separate third party one for a short while). Pitch this at corporates, and offer technical support to create a revenue stream.

The best part is that Firefox and Thunderbird were already prime and mature examples of what could be created with the application platform. It would be an easier learning curve for existing web developers to learn XUL and start on desktop applications rather than depend on C++ for various different toolkits as is the case.

Instead we are stuck in the shittier timeline, where their idea of a 'desktop application' is to wrap a full Chrome instance around a webpage and call it a day :thumbdown:
"One hosts to look them up, one DNS to find them and in the darkness BIND them."

Image
KDE Neon on a Slimbook Excalibur (Ryzen 7 8845HS, 64 GB RAM)
AutoPageColor|PermissionsPlus|PMPlayer|Pure URL|RecordRewind|TextFX
Jabber: moonbat@hot-chili.net

User avatar
Moonchild
Project founder
Project founder
Posts: 38670
Joined: 2011-08-28, 17:27
Location: Sweden

Re: On web 'apps'

Post by Moonchild » 2024-10-22, 08:15

moonbat wrote:
2024-10-21, 21:15
For years we've been hearing that the supposed drawback of desktop applications vs web based ones was deploying new versions to end users
This doesn't even make any sense as an argument. for a "web app" you're forcing everyone to re-download the program every single time it's used. How is that a useful deployment strategy...?
"There is no point in arguing with an idiot, because then you're both idiots." - Anonymous
"Seek wisdom, not knowledge. Knowledge is of the past; wisdom is of the future." -- Native American proverb
"Linux makes everything difficult." -- Lyceus Anubite

User avatar
moonbat
Knows the dark side
Knows the dark side
Posts: 5746
Joined: 2015-12-09, 15:45

Re: On web 'apps'

Post by moonbat » 2024-10-23, 02:08

Moonchild wrote:
2024-10-22, 08:15
This doesn't even make any sense as an argument. for a "web app" you're forcing everyone to re-download the program every single time it's used
Tell me about it. There were earlier attempts at distributing desktop apps over the web - I've worked on Java Web Start, for example. It involved clicking a link to a .jnlp file (which was an XML manifest), and then the locally installed Java runtime would download the app to its cache and install a desktop shortcut. The shortcut whenever clicked, would perform an update check before launching the (now locally installed) app. This had more permissions than Java applets that used to be embedded in web pages and could access the local filesystem.
For whatever claims of being insecure, this along with other clientside Java technology seems to have been abandoned altogether after Java 8.

I have always hated web applications even when they started 25 years ago - crude forms on a page with rudimentary javascript and no XMLHttpRequest so the entire page had to refresh for any data changes. A native desktop app just feels more solid to use.
"One hosts to look them up, one DNS to find them and in the darkness BIND them."

Image
KDE Neon on a Slimbook Excalibur (Ryzen 7 8845HS, 64 GB RAM)
AutoPageColor|PermissionsPlus|PMPlayer|Pure URL|RecordRewind|TextFX
Jabber: moonbat@hot-chili.net

User avatar
andyprough
Board Warrior
Board Warrior
Posts: 1242
Joined: 2020-05-31, 04:33

Re: On web 'apps'

Post by andyprough » 2024-10-23, 03:03

moonbat wrote:
2024-10-21, 08:01
I saw andyprough's howto on converting Tutanota into a web app for Pale Moon - it again boils down to a separate profile launched with a shortcut.
I'm surprised it's not talked about here more often. It's nearly an ideal way to open up an online password manager, or a cloud storage interface, or webmail, or a favorite online music or podcasting service. I make them for some of my biblical research services - since they use webgl more intensively than other sites it's an ideal situation to have a dedicated Pale Moon profile with different settings in about:config. At that point you might as well just make it a menu entry in your start menu, with the name and icon of the online service.

User avatar
moonbat
Knows the dark side
Knows the dark side
Posts: 5746
Joined: 2015-12-09, 15:45

Re: On web 'apps'

Post by moonbat » 2024-10-23, 05:55

andyprough wrote:
2024-10-23, 03:03
At that point you might as well just make it a menu entry in your start menu, with the name and icon of the online service.
Yes, true, if the site in question requires so many separate settings of its own, it may as well launch from its own profile. Then again there's also containers - the old Priv8 on CAA works well with Pale Moon.
"One hosts to look them up, one DNS to find them and in the darkness BIND them."

Image
KDE Neon on a Slimbook Excalibur (Ryzen 7 8845HS, 64 GB RAM)
AutoPageColor|PermissionsPlus|PMPlayer|Pure URL|RecordRewind|TextFX
Jabber: moonbat@hot-chili.net

User avatar
andyprough
Board Warrior
Board Warrior
Posts: 1242
Joined: 2020-05-31, 04:33

Re: On web 'apps'

Post by andyprough » 2024-10-23, 06:13

moonbat wrote:
2024-10-23, 05:55
Yes, true, if the site in question requires so many separate settings of its own, it may as well launch from its own profile. Then again there's also containers - the old Priv8 on CAA works well with Pale Moon.
I use Priv8, but I don't think you can have separate about:config settings in different Priv8 containers can you? I think Priv8 is just for separate cookies, cache, history, etc.

User avatar
moonbat
Knows the dark side
Knows the dark side
Posts: 5746
Joined: 2015-12-09, 15:45

Re: On web 'apps'

Post by moonbat » 2024-10-23, 06:20

Yes, correct - its primary use case is for multiple accounts on the same service, or for using sites that try to track you across your surfing. Put Facebook in its own container and it can't access what you do outside of it. (The last bit can be anyway done better with an adblocker).
"One hosts to look them up, one DNS to find them and in the darkness BIND them."

Image
KDE Neon on a Slimbook Excalibur (Ryzen 7 8845HS, 64 GB RAM)
AutoPageColor|PermissionsPlus|PMPlayer|Pure URL|RecordRewind|TextFX
Jabber: moonbat@hot-chili.net

User avatar
suzyne
Keeps coming back
Keeps coming back
Posts: 782
Joined: 2023-06-28, 22:43
Location: Australia

Re: On web 'apps'

Post by suzyne » 2024-10-24, 02:06

Moonchild wrote:
2024-10-22, 08:15
This doesn't even make any sense as an argument. for a "web app" you're forcing everyone to re-download the program every single time it's used.
I am not convinced that is the typical behaviour? I am pretty sure that my browser is storing web apps for the next time they are opened, and a download is only forced when there is an update. That seems to be what's happening when an app page takes noticeably longer to open because of a presumed update, while most of the time it loads much faster.
Laptop 1: Windows 11 64-bit, i7 @ 2.80GHz, 16GB, NVIDIA GeForce MX450.
Laptop 2: Windows 10 32-bit, Atom Z3735F @ 1.33GHz, 2GB, Intel HD Graphics.
Laptop 3: Linux Mint 20.3 64-bit, i5 @ 2.5GHz, 8GB, Intel HD Graphics 620.

User avatar
moonbat
Knows the dark side
Knows the dark side
Posts: 5746
Joined: 2015-12-09, 15:45

Re: On web 'apps'

Post by moonbat » 2024-10-24, 03:25

suzyne wrote:
2024-10-24, 02:06
I am pretty sure that my browser is storing web apps for the next time
That's more likely to be local storage, so the app can save its data locally instead of being in the browser cache.
"One hosts to look them up, one DNS to find them and in the darkness BIND them."

Image
KDE Neon on a Slimbook Excalibur (Ryzen 7 8845HS, 64 GB RAM)
AutoPageColor|PermissionsPlus|PMPlayer|Pure URL|RecordRewind|TextFX
Jabber: moonbat@hot-chili.net

User avatar
suzyne
Keeps coming back
Keeps coming back
Posts: 782
Joined: 2023-06-28, 22:43
Location: Australia

Re: On web 'apps'

Post by suzyne » 2024-10-24, 04:54

moonbat wrote:
2024-10-24, 03:25
That's more likely to be local storage, so the app can save its data locally instead of being in the browser cache.
So? I didn't mention the cache and I never specified where I thought the web app might be located, I just suggested that I would be surprised if Google Docs (or whatever it is) is getting freshly downloaded each time I use it.
Laptop 1: Windows 11 64-bit, i7 @ 2.80GHz, 16GB, NVIDIA GeForce MX450.
Laptop 2: Windows 10 32-bit, Atom Z3735F @ 1.33GHz, 2GB, Intel HD Graphics.
Laptop 3: Linux Mint 20.3 64-bit, i5 @ 2.5GHz, 8GB, Intel HD Graphics 620.

User avatar
moonbat
Knows the dark side
Knows the dark side
Posts: 5746
Joined: 2015-12-09, 15:45

Re: On web 'apps'

Post by moonbat » 2024-10-24, 06:17

suzyne wrote:
2024-10-24, 04:54
So? I didn't mention the cache and I never specified where I thought the web app might be located, I just suggested that I would be surprised if Google Docs (or whatever it is) is getting freshly downloaded each time I use it.
Then you will be surprised. Just tested it out in Floorp after enabling the web apps feature, installing Whatsapp as a web app and turning off the network - it just opens the site in a popup window without an addressbar or other browser features, and says it can't load the site in question despite having already loaded it once. It's not an app in the sense of a program installed on your system if it cannot even load its UI without a network connection. Just loading a webpage with extra steps.
"One hosts to look them up, one DNS to find them and in the darkness BIND them."

Image
KDE Neon on a Slimbook Excalibur (Ryzen 7 8845HS, 64 GB RAM)
AutoPageColor|PermissionsPlus|PMPlayer|Pure URL|RecordRewind|TextFX
Jabber: moonbat@hot-chili.net

User avatar
suzyne
Keeps coming back
Keeps coming back
Posts: 782
Joined: 2023-06-28, 22:43
Location: Australia

Re: On web 'apps'

Post by suzyne » 2024-10-24, 10:11

moonbat wrote:
2024-10-24, 06:17
Then you will be surprised.
Choosing the Whatsapp site is a curious web page to choose to see if web apps get freshly loaded each time you visit and open the web app.

Isn't https://web.whatsapp.com/ a web page that requires communication with your phone, and cannot work without a phone on the same Wi-Fi? Doesn't it specifically require a network connection so it can connect with your phone?

So, sorry, I am not surprised yet because I doubt that a site that simply won't work at all without an Android or iOS app running on my phone, is a good example of a typical web app. Like, for example, Google Docs.
Laptop 1: Windows 11 64-bit, i7 @ 2.80GHz, 16GB, NVIDIA GeForce MX450.
Laptop 2: Windows 10 32-bit, Atom Z3735F @ 1.33GHz, 2GB, Intel HD Graphics.
Laptop 3: Linux Mint 20.3 64-bit, i5 @ 2.5GHz, 8GB, Intel HD Graphics 620.

User avatar
moonbat
Knows the dark side
Knows the dark side
Posts: 5746
Joined: 2015-12-09, 15:45

Re: On web 'apps'

Post by moonbat » 2024-10-24, 10:17

suzyne wrote:
2024-10-24, 10:11
I am not surprised yet because I doubt that a site that simply won't work at all without an Android or iOS app running on my phone, is a good example of a typical web app. Like, for example, Google Docs.
I don't get this - what does the phone app have to do with it?
"One hosts to look them up, one DNS to find them and in the darkness BIND them."

Image
KDE Neon on a Slimbook Excalibur (Ryzen 7 8845HS, 64 GB RAM)
AutoPageColor|PermissionsPlus|PMPlayer|Pure URL|RecordRewind|TextFX
Jabber: moonbat@hot-chili.net

User avatar
Moonchild
Project founder
Project founder
Posts: 38670
Joined: 2011-08-28, 17:27
Location: Sweden

Re: On web 'apps'

Post by Moonchild » 2024-10-24, 10:48

Might get hung up on the fact you need a phone and the app to have an account. But that has nothing at all to do with the "web app" (i.e. what runs in your browser) being what it is.
"There is no point in arguing with an idiot, because then you're both idiots." - Anonymous
"Seek wisdom, not knowledge. Knowledge is of the past; wisdom is of the future." -- Native American proverb
"Linux makes everything difficult." -- Lyceus Anubite

User avatar
suzyne
Keeps coming back
Keeps coming back
Posts: 782
Joined: 2023-06-28, 22:43
Location: Australia

Re: On web 'apps'

Post by suzyne » 2024-10-24, 10:54

moonbat wrote:
2024-10-24, 10:17
I don't get this - what does the phone app have to do with it?
I am not a Whatsapp user, but I thought its web page was only a link to the app running on your phone, and not an actual independent app that runs fully in the browser.

Wasn't that the case before? And if is was, from what you say, I gather that it's no longer the case? And everything I said is nonsense!
Laptop 1: Windows 11 64-bit, i7 @ 2.80GHz, 16GB, NVIDIA GeForce MX450.
Laptop 2: Windows 10 32-bit, Atom Z3735F @ 1.33GHz, 2GB, Intel HD Graphics.
Laptop 3: Linux Mint 20.3 64-bit, i5 @ 2.5GHz, 8GB, Intel HD Graphics 620.

User avatar
suzyne
Keeps coming back
Keeps coming back
Posts: 782
Joined: 2023-06-28, 22:43
Location: Australia

Re: On web 'apps'

Post by suzyne » 2024-10-24, 11:01

suzyne wrote:
2024-10-24, 10:54
Wasn't that the case before?
Okay, so at least I know I didn't make that up, but my understanding is certainly out-of-date!

Image
Laptop 1: Windows 11 64-bit, i7 @ 2.80GHz, 16GB, NVIDIA GeForce MX450.
Laptop 2: Windows 10 32-bit, Atom Z3735F @ 1.33GHz, 2GB, Intel HD Graphics.
Laptop 3: Linux Mint 20.3 64-bit, i5 @ 2.5GHz, 8GB, Intel HD Graphics 620.