W3C home > Mailing lists > Public > public-webapi@w3.org > January 2006

RE: Ajax Back/Forward History problem - saving document state by document.save()

From: George Stevens <gstevens@guidelightsolutions.com>
Date: Mon, 9 Jan 2006 13:10:10 -0600
Message-ID: <5B6CB852B5A29B4A9EB2BC7F952B96CA0416AF@anchor.guidelightsolutions.local>
To: "Anthony Ettinger" <aettinger@sdsualumni.org>, "Vladimir Kelman" <vlad@vkelman.com>
Cc: <public-webapi@w3.org>
We rarely see an undo regarding user interface changes.  So if a
subwindow is dragged and dropped, there is typically not an undo for
that operation.  On the other hand, there is often an operational undo,
where the previous application-domain operation can be undone
(essentially popping off a transaction from the stack of operational
transactions, the stack being either long-lived or limited to the
current session).


There is alsoa dependency on the location at which the operation is
transacted - on the client or on the server(s).






From: public-webapi-request@w3.org [mailto:public-webapi-request@w3.org]
On Behalf Of Anthony Ettinger
Sent: Monday, January 09, 2006 12:11 PM
To: Vladimir Kelman
Cc: public-webapi@w3.org
Subject: Re: Ajax Back/Forward History problem - saving document state
by document.save()



On 1/9/06, Vladimir Kelman <vlad@vkelman.com> wrote:

"providing to a page that can be in many states, enough information that
it can recreate a previous state"

yes it's a good goal, it's definitely better than trying to remember a
state itself. But my point was basically that: you have to stop on some 
level. You cannot remember and make reproducible each state after tiny
change. It's better to allow an opposite thing: to warn user how "hit a
Back or Forward" button that system is going to leave current 
application completely and will not be able to re-enter a current
"micro-state". To warn a user and give him ability to Cancel - just like
  Internet Expolrer's onbeforeunload() event works.


My 2 cents. If you can undo past a save in some apps, you should be able
to do it on the web too.
Received on Tuesday, 10 January 2006 09:46:26 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:16:19 UTC