Zobrazují se příspěvky se štítkemoffline. Zobrazit všechny příspěvky
Zobrazují se příspěvky se štítkemoffline. Zobrazit všechny příspěvky

středa 4. června 2008

Offline webové aplikace v kostce

W3C včera vydalo dokument shrnující základní informace o offline webových aplikacích. Autory Offline Web Applications jsou Anne van Kesteren a Ian Hickson.

Dokument je velmi krátký (vytištěný se vejde na čtyři A4 stránky) a neobsahuje nic, co by nebylo součástí HTML5 specifikace. Jeho hlavním účelem je představit základní myšlenky tohoto nového konceptu (SQL5, offline manifest, online/offline události).

Očekávám, že do budoucna se podobných dokumentů objeví více. Přeci jen každý nemá čas číst celou dlouhou specifikaci, a tak jsou taková shrnutí velmi přínosná.

neděle 23. září 2007

Výrobci prohlížečů chtějí offline aplikace

Zdá se, že na začlenění podpory offline webových aplikací do HTML5, a tedy i do webových prohlížečů, má každý jiný názor.

Ian Hickson v pátek napsal:
Note: Some people in public-html at w3.org suggested that this would be an area that we should not be working on. However, two separate browser vendors as well as a browser extension developer group have independently contacted me requesting support for this _in person_, as well as by e-mail and over IRC, and in two of those three cases have actively been writing experimental and shipping code to add support for such a feature. This is amongst the highest level of demand I've ever seen for a feature in this spec (the last feature with this level of demand was probably <canvas>). I think it is imperative that we work to obtain a consensus on a single specification for this to enable interoperability on this quite important feature, otherwise we'll see quick fragmentation in this space. I believe HTML is the right place to define this due to the tight integration of any solution here with the loading and browsing context aspects of the current HTML5 spec, as should be obvious from the proposal below.
Výrobci prohlížečů webové offline aplikace skutečně chtějí - vzhledem k objevujícím se alternativním platformám není divu. Zajímalo by mne, výrobci kterého druhého prohlížeče po Firefoxu projevují zmiňovaný aktivní zájem. Citovaní "browser extension developer group" budou nejspíš lidé z týmu Google Gears.

Aktuální návrh specifikace naleznete na konci Hixieho e-mailu, debata je v plném proudu a stále dochází i ke dramatickým změnám.

úterý 11. září 2007

Návrh pro offline webové aplikace přišel na řadu

Již delší dobu se čekalo, kdy se v HTML5 objeví specifikace offline webových aplikací. Že se objeví bylo jisté, netušilo se kdy a zda bude vypadat spíše jako u Firefoxu nebo jako u Google Gears (v obou projektech s implementací offline webových aplikací již nějaký čas experimentují).

Koncem srpna Ian Hickson začal diskusi:
It seems like we are talking about the following kinds of scenarios:

1. User goes to a page, then, without closing the page, goes offline and uses it, then goes back online and continues to use it. The page and its subresources are always at their most up-to-date. Interactions with the page while offline are synced to
the server when going online.

2. User goes to a page, then closes the browser. User restarts the browser while offline, and goes to the page. User restarts the browser again while online, and goes to the page. The page and its subresources are always at their most up-to-date. Interactions with the page while offline are synced to the server when going online.

3. Same as 1 or 2, except that the user is not online for long enough to fully download the updated resources. The application doesn't stop working, it is still usable the second time the user is offline.

My proposal is that we add a new attribute to the <html> element, which flags that the page is a Web app that wants to be pinned for offline execution and that when you next fetch the file or one of its subresources while online, it should try to update all the subresources atomically.

<html application>
Nejedná se o kopii ani jedné ze stávající implementací, více se blíží Google Gears.

Hixie specifikaci zatím psát nezačal, nad podobou specifikace se stále diskutuje, pokud vás zajímá, přočtěte si vlákno Offline Web Apps v mailing listu WHATWG.