Dear all,
On bitbucket [1] is a new Tcl-only module for NaviServer (requires
current tip)
implementing Web Push using the W3C Push API, which enables sending of
push messages to a "webapp" via a push service (e.g. Mozilla, Google). When
the client (e.g. a mobile phone) is currently not reachable the message is
stored for a specified time to live (TTL) until it can be delivered as a
notification.
On [3] is a small demo application, which is as well included in the
repository.
The technical details are summarized on [4]. Note, that the basic
functionality
of the demo could as well be implemented browser notification API. Web
Push supports delivery of notifications triggered by an application
server via
third-party push servers [5], even when the user is not online or browsing
the pushing site.
all the best
-gustaf neumann
[1] https://bitbucket.org/naviserver/nswebpush/src/default/
[2] https://www.w3.org/TR/push-api/
[3] https://openacs.org/webpush-demo/webpush-demo.tcl
[4] https://openacs.org/webpush-demo/report.html
[5]
https://developers.google.com/web/fundamentals/push-notifications/how-push-works
_______________________________________________
naviserver-devel mailing list
naviserver-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/naviserver-devel