Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Lifecycle API #92

Open
siusin opened this issue Jun 26, 2017 · 9 comments
Open

Lifecycle API #92

siusin opened this issue Jun 26, 2017 · 9 comments
Labels

Comments

@siusin
Copy link

siusin commented Jun 26, 2017

Please read @spanicker 's proposal for details.

Also see the discussion in the WebPerf WG f2f meeting.

Lifecycle API aims to define a consistent set of Lifecycle states ( Active, passive, stopped, demoted, terminated), and provides a way for apps to send signals to the browsers.

Question: Does this API have any overlaps with our past/future work? Is the WebPerf WG a good place to develop this idea?
/cc @dontcallmedom @tidoust

@siusin siusin added the Core label Jun 26, 2017
@spanicker
Copy link

Here's a public version of the slides:
https://docs.google.com/presentation/d/1nBZKbdCDAfMFhQ3Fkkc6JjliC5TjknMKCpU1ZiVKgvY/edit#slide=id.p
Could you update the link?

@siusin
Copy link
Author

siusin commented Jun 27, 2017

I've updated the link in this issues and the meeting minutes. Thanks @spanicker , it's great to have a public version.

@siusin
Copy link
Author

siusin commented Jul 3, 2017

@spanicker
the WebPlatform WG said they would be delighted to accept this proposal if you think WebPlat is a better fit. Please send a request to team-webplatform@w3.org (or ping me) once you think this API is ready-to-migrate. Thanks!

@tidoust
Copy link
Member

tidoust commented Jul 5, 2017

@siusin, regarding "Does this API have any overlaps with our past/future work?", I note previous attempts to discuss application lifecycle in the now dead Systems App WG. These attemps were very different in scope in practice because the WG was trying to develop OS-level APIs, not browser APIs. For instance, if I understand the proposal correctly, it does not attempt to expose an API that would let the application control its lifecycle, the lifecycle being controlled by the OS (or the browser) at all times.

The following specs might still be worth checking for inspiration:

The term "application lifecycle" also often appears in discussions related to interactive TV (iTV) specifications (ATSC, HbbTV, Hybridcast) for applications that get streamed with a broadcast channel. There again, the notion of lifecycle is probably slightly different, but needs may still be similar. I would expect discussions on application lifecycle in that context to be in scope of the Media and Entertainment IG.

@spanicker
Copy link

Thanks for the links!
There is some overlap with the linked specs. As you indicated current proposal does not let app control its lifecycle, it is always controlled by the browser.
Any idea if these linked specs are being pursued or any ongoing work here? Should I reach out to the spec authors?

@tidoust
Copy link
Member

tidoust commented Aug 3, 2017

@spanicker I am not aware of any on-going work on the specs I linked although some of the features in these specs may have ended in other specs (I don't think that's the case for application cycle features though).

You can certainly reach out to Anssi (@anssiko) and Mounir (@mounirlamouri) (who now works for Google) to gather feedback and exchange ideas.

@tidoust
Copy link
Member

tidoust commented Dec 15, 2017

I note that the proposal is now being incubated in the Web Platform Incubator Community Group (WICG) under the name A lifecycle for the Web

@siusin
Copy link
Author

siusin commented Dec 15, 2017

Right, the WebPerf WG had a very good discussion during TPAC 2017.

@svgeesus
Copy link
Contributor

Looks like this activity stalled three years ago. Did it move elsewhere?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
4 participants