Saturday, June 9th, 2007
They decided to take an approach similar to Google Reader’s offline model:
What can I do offline?
Just about everything that’s possible online with Remember The Milk now works offline too — not only can you access your lists, but you can add new tasks and notes, edit existing tasks (complete, postpone, prioritise, tag, and change due dates to your heart’s content), use your own personal tasks search engine, create new Smart Lists, and more.
We asked Omar Kilani of the team a couple of questions about the offline release / experience:
Why did you take the step of asking the user to go offline (as reader does) versus just taking the todo list data offline in the background?
The app state is always in sync, and everything is updated in the
background (data is stored as in-memory JS objects, and sqlite is used
as a backing store in a write-through fashion). So you can pull the
plug, lose your Internet connection, etc, and the app will notice and
switch you to offline mode.
Right now, we take a sort of hybrid modal/modeless approach —
regardless of whether the app syncs in the background, we also thought
it was important to allow the user to control the mode they’re in and
request a “sync”.
I think an analogy to this is the ‘Get Mail’ button in email clients —
most mail clients check for new mail in the background, and if you’re
using IMAP, you get notified immediately of new mail, but there’s some
security in seeing that button there, and knowing you can press it. :)
I think we need to improve the UI aspects of this, and we’re going to
look into doing that very soon. :)
How was the experience using Gears for offline?
Gears is awesome, and I believe it is the future of offline web
I personally feel it gives you all the right building blocks to do
whatever needs to be done to take an app offline.
What would you like to see the framework give you?
- Progress indication from LocalServer! (This would be very helpful in
communicating with the user for the situation described above with
initial manifest download
- A more stable WorkerPool. (It’s currently pretty easy to cause a
browser crash with it.
- Off the top of my head, how about bundle support in LocalServer?
Perhaps it can go download a Zip/JAR with all your files in it, and have
the manifest entries point into that. That would be pretty sweet.
Posted by Dion Almaer at 12:38 pm