Question qui avait été postée en 2011 sur seenthis (@seenthis) :
« Et sinon, des #applis #smartphone prévues pour #Seenthis ? »
5 ans après, en 2016... est-ce qu’il y a une évolution ?
Question qui avait été postée en 2011 sur seenthis (@seenthis) :
« Et sinon, des #applis #smartphone prévues pour #Seenthis ? »
5 ans après, en 2016... est-ce qu’il y a une évolution ?
Concernant la lecture hors-ligne, qui me semble le seul (?) avantage potentiel d’une appli native sur la version web, il y a des choses possible désormais en javascript dans le navigateur, qui peut servir de cache et de base de donnée pour un site web mobile lisible hors-ligne,[edit] avec notifications web, et tâche de fond. Voir #pwa par exemple, et #local_storage et #IndexedDB
Cela me semblerait intéressant de creuser cela pour SPIP dans son ensemble.
Les notifications aussi sont un avantage, la mise à jour en tache de fond....
Les notifications et tâches de fond on l’air possibles également.
►https://developers.google.com/web/progressive-web-apps
Push Notifications
Web push notifications makes it easy to re-engage with users by showing relevant, timely, and contextual notifications, even when the browser is closed.
▻https://w3c.github.io/ServiceWorker/spec/service_worker/index.html
This specification describes a method that enables applications to take advantage of persistent background processing, including hooks to enable bootstrapping of web applications while offline.
The core of this system is an event-driven Web Worker, which responds to events dispatched from documents and other sources. A system for managing installation, versions, and upgrades is provided.
The service worker is a generic entry point for event-driven background processing in the Web Platform that is extensible by other specifications.
Si les magiciens de seenthis arrivaient à avoir une lecture hors-ligne, ça serait tellement utile !!!!!!
Le service qui serait LE truc utile pour moi serait de s’intégrer au système de partage sur Android, de manière à ce que, quand je lis un article cool, je puisse le partager sur SeenThis aussi facilement que via Twitter, courrier, SMS, etc.
Washington Post Unveils ‘Lightning-Fast’ #Mobile Website - WSJ
▻http://www.wsj.com/articles/washington-post-unveils-lightning-fast-mobile-website-1473152456
The PWA technology powering the new site is an open-source set of technology standards formulated by Google’s Chrome team, which are also responsible for its popular Chrome web browser.
At a basic level, the #PWA technology works by pre-loading content on users’ devices in the background to ensure it’s ready to display quickly as they move around the site. In order to use PWA, websites must use a secure web technology known as “HTTPS,” which the Post began implementing last year.
Bof, c’est interessant, mais je me rappelle encore qu’on fabriquait des sites de journal en ligne qui chargeaient en moins d’une seconde chez les lecteurs connectés à l’internet par modem. ;-)
As-tu déja travaillé avec #pwa ?
J’avais testé vite fait #local_storage il y a quelques années mais pas sérieusement. A refaire aujourd’hui probablement.
Storage Inspector - Firefox Developer Tools | MDN
▻https://developer.mozilla.org/en-US/docs/Tools/Storage_Inspector
The Storage Inspector enables you to inspect various types of storage that a web page can use. Currently it can be used to inspect the following storage types:
– Cache Storage (new in Firefox 47) - any DOM caches created using the Cache API.
– Cookies - All the cookies created by the page or any iframes inside of the page. Cookies created as a part of response of network calls are also listed, but only for calls that happened while the tool is open.
– Local Storage - All local storage items created by the page or any iframes inside the page.
– Session Storage - All session storage items created by the page or any iframes inside the page.
– IndexedDB - All IndexedDB databases created by the page or any iframes inside the page, their Object Stores and the items stored in these Object Stores.
For the time being, the Storage Inspector only gives you a read-only view of storage. But we’re working to let you edit storage contents in future releases.
#cookie #storage #local_storage #inspector #webdev #firebug #firefox_devtools #mdn
Digital Democracy: OpenStreetMap Without Servers [Part 2]: A peer-to-peer #osm database
▻http://www.digital-democracy.org/blog/osm-p2p
osm-p2p is a decentralized peer-to-peer database for storing and editing OpenStreetMap nodes, ways, and relations. It includes a node.js server that implements the core functionality of the OSM API, or it can be used completely in the browser using IndexedDB for persistent storage.Someone can make edits, replicate to a USB drive, bring the USB drive to another village, replicate, and then bring the USB drive back to replicate again. The replication copies data both ways, so after this procedure both villages will have the complete dataset.
#p2p
Architecture
osm-p2p implements a kappa architecture where all updates are written to an append-only log. This log is the “source of truth” that populates indexes called materialized views. These materialized views are only meant to answer questions faster than reading the whole log. If the views need to change in the future to accommodate different queries, they can be regenerated from the log without having the migrate the log schema.
Each update is written to an append-only log provided by hyperlog, a module from the dat project. This log has indexes which provide different materialized views of the data.
One view (hyperkv) provides a key/value interface mapping OSM ids to documents. Another view creates a spatial index to answer bounding box queries (hyperlog-kdb-index).
During replication, each side requests the documents from the log that it doesn’t have and appends those documents to its own log. The indexes watch these inserts and buffer requests until the they are caught up with the latest known document in the log.
#PouchDB, the JavaScript Database that Syncs!
►http://pouchdb.com
PouchDB is a #JavaScript library that allows you to store and query data for web applications that need to work #offline, and sync with an online database when you are online.
A Simple TODO list using HTML5 IndexedDB
►http://www.html5rocks.com/en/tutorials/indexeddb/todo
IndexedDB is new in HTML5. Web Databases are hosted and persisted inside a user’s browser. By allowing developers to create applications with rich query abilities it is envisioned that a new breed of web applications will emerge that have the ability to work online and off-line.
This example code demonstrates how to create a very simple todo list manager. It is a very high level tour of some of the features available in HTML5.
#html5 #html5_apps #html5_offline #mobile #webdev #IndexedDB
Psychic Origami » Blog Archive » An iPhone friendly, local storage backed, offline TODO list webapp
►http://www.psychicorigami.com/2009/07/10/an-iphone-friendly-local-storage-backed-offline-todo-list-webapp
#jQuery #iPhone #HTML5 #jQtouch #offline #synchronisation #local_storage