D Web Services Application Potential?
Sebastiaan Koppe via Digitalmars-d
digitalmars-d at puremagic.com
Thu Jul 30 05:54:29 PDT 2015
On Wednesday, 29 July 2015 at 17:25:17 UTC, Etienne wrote:
> I can't share source but the idea is simple. You configure a
> DNS subdomain my.domain.com => 127.0.0.1, and test that address
> with javascript when a logins to the public website, if it
> doesn't work you show a message "plugin required". The user
> downloads the plugin and executes it, an elevation request is
> asked once for the exec to copy itself to program files and to
> register the service/daemon or open it (the only user
> interaction required!), and then the page is opened in a new
> browser window (borderless) or he can also refresh the page.
> The plugin's reverse proxy delivers the AngularJs app that uses
> Json models to populate the templates.
You can even get rid of the download popup by having a hosting
daemon, which your JS instructs to download and run your web-app.
It can do all the virtual-host routing, updating, what-not.
It does still requires an install, but only once.
A huge security risk if not properly sandboxed though.
More information about the Digitalmars-d
mailing list