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 >[email protected] >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 -- Posted with http://DevLists.com. Sign up and save your time! _______________________________________________ Rails-spinoffs mailing list [email protected] http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs
