Re: User visible urls
On Mon, Dec 5, 2011 at 7:21 AM, Phil McDonnell
<phil.a.mcdonnell@gmail.com> wrote:
> I like the concept of GWT being a webapp, but users still want bookmark-able
> urls in many situations. Does anyone have a pointer for best ways to expose
> urls that can bookmark somewhere deep in a gwt app?
>
> For instance, a shopping site might have the url
> "my-gwt-app.com/products/stuffed-bunny" so that a user can return to their
> favorite stuffed bunny product. Any idea how I can implement this?
One option surely is to use hashbang urls.
my-gwt-app.com/#!/products/stuffed-bunny for instance.
Similar to what twitter does: twitter.com/#!/username
The idea would be to let GWT manage the whole frontend application.
Both Google and Bing support hashtag crawling
(http://code.google.com/web/ajaxcrawling/docs/getting-started.html).
Btw - have a look at GWTP (http://code.google.com/p/gwt-platform/) -
an alternative implementation of the MVP pattern. I found it easier to
use and customize than GWT's Activities and GWT's PlaceMapper. But
it's up to you.
Best,
Raphael
>
> Thanks,
> Phil
>
> --
> You received this message because you are subscribed to the Google Groups
> "Google Web Toolkit" group.
> To post to this group, send email to google-web-toolkit@googlegroups.com.
> To unsubscribe from this group, send email to
> google-web-toolkit+unsubscribe@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/google-web-toolkit?hl=en.
--
inc: http://ars-machina.raphaelbauer.com
tech: http://ars-codia.raphaelbauer.com
web: http://raphaelbauer.com
--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home