Re: User visible urls

2012-08-29 Thread Carlos Aguayo
Hi, I created an example and published an example based on Thomas' example:

http://carlosaguayo.posterous.com/html5-history-in-gwt

On Tuesday, February 28, 2012 10:31:43 AM UTC-5, apanizo wrote:
>
> Hi all,
>
> In the next weeks I'm going to start a new app, and I am really interested 
> in this question.
>
> The solution that @Thomas has proposed is really interested. But I don't 
> know exactly how it works.
>
> The question is, could you provide me an simple simple example? Or link?
>
> Thank you,
>
> Adolfo.
>
> 2012/2/27 Carlos Aguayo >
>
>> works like a sharm! thanks buddy!
>>
>>
>> On Wednesday, February 22, 2012 5:08:23 AM UTC-5, Thomas Broyer wrote:
>>>
>>> On Tuesday, February 21, 2012 6:04:55 PM UTC+1, Carlos Aguayo wrote:

 Hi Thomas, could you share the one that you wrote to use pushState? 
 Thanks!

>>>
>>> Here's a skeleton implementation: 
>>> https://gist.**github.com/1883821
>>>
>>  -- 
>> You received this message because you are subscribed to the Google Groups 
>> "Google Web Toolkit" group.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msg/google-web-toolkit/-/OjZDD6XpY5gJ.
>>
>> To post to this group, send email to 
>> google-we...@googlegroups.com
>> .
>> To unsubscribe from this group, send email to 
>> google-web-toolkit+unsubscr...@googlegroups.com .
>> For more options, visit this group at 
>> http://groups.google.com/group/google-web-toolkit?hl=en.
>>
>
>
>
> -- 
> El precio es lo que pagas. El valor es lo que recibes.
> Warren Buffet
>  

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-web-toolkit/-/6bTuY7t332IJ.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: User visible urls

2012-02-28 Thread Adolfo Panizo Touzon
Hi all,

In the next weeks I'm going to start a new app, and I am really interested
in this question.

The solution that @Thomas has proposed is really interested. But I don't
know exactly how it works.

The question is, could you provide me an simple simple example? Or link?

Thank you,

Adolfo.

2012/2/27 Carlos Aguayo 

> works like a sharm! thanks buddy!
>
>
> On Wednesday, February 22, 2012 5:08:23 AM UTC-5, Thomas Broyer wrote:
>>
>> On Tuesday, February 21, 2012 6:04:55 PM UTC+1, Carlos Aguayo wrote:
>>>
>>> Hi Thomas, could you share the one that you wrote to use pushState?
>>> Thanks!
>>>
>>
>> Here's a skeleton implementation: 
>> https://gist.**github.com/1883821
>>
>  --
> You received this message because you are subscribed to the Google Groups
> "Google Web Toolkit" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/google-web-toolkit/-/OjZDD6XpY5gJ.
>
> To post to this group, send email to google-web-toolkit@googlegroups.com.
> To unsubscribe from this group, send email to
> google-web-toolkit+unsubscr...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/google-web-toolkit?hl=en.
>



-- 
El precio es lo que pagas. El valor es lo que recibes.
Warren Buffet

-- 
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+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: User visible urls

2012-02-27 Thread Carlos Aguayo
works like a sharm! thanks buddy!

On Wednesday, February 22, 2012 5:08:23 AM UTC-5, Thomas Broyer wrote:
>
> On Tuesday, February 21, 2012 6:04:55 PM UTC+1, Carlos Aguayo wrote:
>>
>> Hi Thomas, could you share the one that you wrote to use pushState? 
>> Thanks!
>>
>
> Here's a skeleton implementation: https://gist.github.com/1883821
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-web-toolkit/-/OjZDD6XpY5gJ.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: User visible urls

2012-02-22 Thread Thomas Broyer
On Tuesday, February 21, 2012 6:04:55 PM UTC+1, Carlos Aguayo wrote:
>
> Hi Thomas, could you share the one that you wrote to use pushState? Thanks!
>

Here's a skeleton implementation: https://gist.github.com/1883821

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-web-toolkit/-/iU8c80zsl5cJ.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: User visible urls

2012-02-21 Thread Carlos Aguayo
Hi Thomas, could you share the one that you wrote to use pushState? Thanks!

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-web-toolkit/-/pKyIVdEyL4EJ.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: User visible urls

2011-12-05 Thread Phil McDonnell
Looks great!  Thanks!

On Mon, Dec 5, 2011 at 3:13 AM, Thomas Broyer  wrote:

> Historyis
>  made for that.
>
> If you want to use HTML5's pushState/popstate, that should be possible
> using deferred-binding (to replace the underlying implementation using
> onhashchange with one using pushState).
>
> If you're using 
> Places(which
>  I strongly recommend), the default
> Historianuses
>  History, but you can easily make one that uses HTML5's
> pushState/onpopstate (I did just that, works very well; I didn't implement
> fallback to on hashchange though). Note that it's easier to make an HTML5
> Historian than to make History use HTML5.
>
> --
> You received this message because you are subscribed to the Google Groups
> "Google Web Toolkit" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/google-web-toolkit/-/2WDDm4FrOj8J.
>
> To post to this group, send email to google-web-toolkit@googlegroups.com.
> To unsubscribe from this group, send email to
> google-web-toolkit+unsubscr...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/google-web-toolkit?hl=en.
>

-- 
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+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: User visible urls

2011-12-05 Thread Thomas Broyer
Historyis
 made for that.

If you want to use HTML5's pushState/popstate, that should be possible 
using deferred-binding (to replace the underlying implementation using 
onhashchange with one using pushState).

If you're using 
Places(which
 I strongly recommend), the default 
Historianuses
 History, but you can easily make one that uses HTML5's 
pushState/onpopstate (I did just that, works very well; I didn't implement 
fallback to on hashchange though). Note that it's easier to make an HTML5 
Historian than to make History use HTML5.

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-web-toolkit/-/2WDDm4FrOj8J.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: User visible urls

2011-12-04 Thread Raphael André Bauer
On Mon, Dec 5, 2011 at 7:21 AM, Phil McDonnell
 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+unsubscr...@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+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



User visible urls

2011-12-04 Thread Phil McDonnell
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?

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+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.