IMHO, if you want undo/redo functionality in your RIA, make it yourself and separate it from the browser's conventional history functionality. This is where all those frameworks should have spent their time: making undo/redo libraries rather than breaking the back button all over the place.
On 7/7/06, devel - Fashion Content <[EMAIL PROTECTED]> wrote:
Imo it's just one of the things you have to design for when you plan your
web app.
Let's say you have a page that shows a sorted table of information. Using
Ajax you allow the user to change the sort order, and filter the view to
only a certain match.
Back button: Personally I wouldn't expect anyone to want to use the back
button to change back the filter/sort order, but I believe there is a
listener for handling back button interaction.
Linking/Favourites: You could show the page with a unique URL, and have the
script tell the server whenever the sort/filter is changed. That way the
user will return to the same preferences in the future. Alternately you
could have a permalink kept up to date, and have the user use that rather
than the current page.
I don't really see either as great challenges. Just something to implement.
Henrik
----- Original Message -----
From: "Sergio Marques" <[EMAIL PROTECTED]>
To: <rails-spinoffs@lists.rubyonrails.org >
Sent: Friday, July 07, 2006 12:39 PM
Subject: [Rails-spinoffs] Ajax Bookmarks & Browser Navigation (Back
ButtonIssue)
Hi,
I've been reading a lot of articles about the back button and bookmark
issue for Ajax Web Applications, but i would like to know some more
opinions about that question. I know that exists some libraries that try
to solve this problem, but i'm not convinced.
- will the future web browsers have support for that kind of navigation
(ajax calls)?
- is it correct to fix the back button when trying to reload the whole
page, or the best solution is to make ajax calls only for elements in
the page and not for the page itself?
- is there any solutions viable for you right now to fix the back button
(if so what libraries)?
Thanks in advance for the help,
Sérgio
_______________________________________________
Rails-spinoffs mailing list
Rails-spinoffs@lists.rubyonrails.org
http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs
_______________________________________________
Rails-spinoffs mailing list
Rails-spinoffs@lists.rubyonrails.org
http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs
_______________________________________________ Rails-spinoffs mailing list Rails-spinoffs@lists.rubyonrails.org http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs