Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.javascript > #30979

Web App Background Processing with Service Workers

Path csiph.com!aioe.org!.POSTED!not-for-mail
From Richard Maher <maherrj@gmail.com>
Newsgroups comp.os.vms, comp.lang.javascript, comp.lang.java.programmer
Subject Web App Background Processing with Service Workers
Date Wed, 27 Jul 2016 14:32:26 +0800
Organization Aioe.org NNTP Server
Lines 43
Message-ID <nn9khr$uqb$1@gioia.aioe.org> (permalink)
Reply-To maher_rjSPAMLESS@hotmail.com
NNTP-Posting-Host UXRhr3X7HGhb8SrrJYBwnw.user.gioia.aioe.org
Mime-Version 1.0
Content-Type text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding 7bit
X-Complaints-To abuse@aioe.org
User-Agent Mozilla/5.0 (Windows NT 6.1; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.1.1
X-Mozilla-News-Host news://news.aioe.org:119
X-Notice Filtered by postfilter v. 0.8.2
Xref csiph.com comp.os.vms:59903 comp.lang.javascript:30979 comp.lang.java.programmer:35142

Cross-posted to 3 groups.

Show key headers only | View raw


The next couple of days will see a W3C Toronto F2F meeting on Service 
Workers: -
https://github.com/w3c/WebPlatformWG/blob/gh-pages/meetings/16-07-28-29SW.md 


If you want to see Service Workers reach their full potential in 
enabling Background Processing for HTML5 Web Apps then please attend or 
lend your voice to: -

https://github.com/slightlyoff/ServiceWorker/issues/932

Below is the email I sent directly to the attendees from Mozilla, 
Microsoft, Apple, Google, and Samsung: -

As someone who is a huge fan of ServiceWorker technology and also 
desperate to see it move on from its offline-first requirement genesis 
and fulfill its rightful place as the home to all HTML5 WebApp 
BackGround processing, I beg you to please find time in Toronto to 
discuss the following: -

WebApp features requiring a Background listener capability are already 
queuing at the ServiceWorker door. For example: -

TravelManager - GeoLocation
HelloMyApp - SpeechRecognition for wake-up keyword
CalendarManager - Scheduled events
Sensor - AmbientLight, Temperature change etc
And so on . . .

Issues: -

1) How to handle interface discrepancies between ForeGround Javascript 
API and BackGround ServiceWorker interface. Make event signature the same?

2) Provide an option to suspend ServiceWorker instantiation if WebApp is 
in ForeGround/Visible

For a detailed description of how I see background GeoLocation aka 
TravelManager working, please see: - 
https://github.com/slightlyoff/ServiceWorker/issues/745#issuecomment-182624198

Cheers and Good-Luck,
Richard Maher (Simple code-cutter)

Back to comp.lang.javascript | Previous | Next | Find similar | Unroll thread


Thread

Web App Background Processing with Service Workers Richard Maher <maherrj@gmail.com> - 2016-07-27 14:32 +0800

csiph-web