The shop was simply an example as i said in my post and I'd agree that doing an entire store in ajax is a poor idea. However, the technique I was after would allow the url in the title bar to accurately reflect the state of the page, whether that's the post in a thread you were reading or a position in a gallery of images you were looking at.

Dave Teare wrote:
This is an example of where I think Ajax is taken too far. I see no value in having a "pure" ajax solution for showing the product. If you are using pretty URL's, it's no big deal to perform a "true" request when changing products.

On DevLists I sometimes have some data (i.e. a message) embedded in a larger page (i.e. a list of messages), and in that instance I need a perma-link button that will redirect to a page that just shows just the one message.

Just my $0.02.

On Tuesday, March 07, 2006, at 6:43 PM, Rob Clayburn wrote:
Hi All

Not specifically a scriptaculous question, but I was wondering how
people were going about maintaining access to their applications via
standard urls.

Say for example I've a shop at www.shop.com, and its pure ajax to load
in products. Now customer A wants to show a friend a product on the site
- giving him the url www.shop.com and telling him to click on a series
of links seems clunky. So what I'd like to do is for my ajax app (no its
not a shop thats just an example!) to change the browser's url to
www.shop.com?product=xbox - which when my site loads it'll pass this and
load in the appropriate product info.

The latter's no problem, its simply how to write to the browser's url
window that I don't know how to do (is this a server side or client site
problem ). I'm working with PHP on a Linux box with modrewrite available.

Cheers
Rob
_______________________________________________
Rails-spinoffs mailing list
Rails-spinoffs@lists.rubyonrails.org
http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs


Cheers!
--Dave Teare
http://devlists.com - Email list management
http://palmsphere.com - Apps for your hand-held



_______________________________________________
Rails-spinoffs mailing list
Rails-spinoffs@lists.rubyonrails.org
http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs

Reply via email to