RE: PWA

2020-04-27 Thread GILQUIN Pierre via Webobjects-dev
Hi Aaron, Thanks your all theses information. Did you successly mixed DA and pwa ? I am not sure what you mean : « .. then send DA to WO for permanent storage … » But I guess, it’s equivalent to what I am doing using rpc call. The rpc mecanism is from the WOGWT framework. Pierre De : Aaron

Re: PWA

2020-04-27 Thread Aaron Rosenzweig via Webobjects-dev
Hi Pierre, The critical part is figuring out how to be “offline first” - it’s a mindset - offline is not an error condition. The “sw.js” you mention is a “service worker” which is a means of caching files on the client so you don’t need to speak with the server. The next time you access the w

Valid rest route?

2020-04-27 Thread Jesse Tayler via Webobjects-dev
I’m sure there’s a rest route string parser that returns a valid route string? Replacing any funny characters? Anyone remember where that is? ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobje

RE: PWA

2020-04-27 Thread GILQUIN Pierre via Webobjects-dev
I found a solution. I created an index.html using the html generated by the WO app. I just put it in the directory served by apache. It's works, the rpc call from the client app get the correct results from the WO app I guess as domain name is the same, no security/SOP issue. So, I think it wil

PWA

2020-04-27 Thread GILQUIN Pierre via Webobjects-dev
Hi, Do you think it's possible to create a pwa(progressive web app) from a directaction ? I am a complete beginner on the subject and everything I can find starts with a static web directory with an index.html and some additionnal files (manifest.json and sw.js) to make a app installable. Is th