Hi Jens!

On Monday, March 17, 2014 2:20:53 PM UTC+1, Jens wrote:
>
> Just because I know your chess app: Maybe your requirement for in-browser 
> windows disappears if you think about adopting GWT Places so you can have 
> different URLs in your app for different locations and people can open 
> stuff in browser tabs instead of in-browser/tab windows.
>


> For example you can have one URL per chess game and a user can then open 
> all chess games in browser tabs easily. Or all your menu bar entries could 
> have an URL so you can open them in tabs if needed.
>


You probably mean this:

http://www.gwtproject.org/doc/latest/DevGuideMvpActivitiesAndPlaces.html


Having several tabs with different games would be very nice, and I am 
thinking about it for a while,
But I see one problem: The server-to-client communication.

Currently, my server maintains a list of listening clients and sends all 
the events to each one of them. But you cannot tell when a client goes 
away, even with server push technologies (comet and all that). Maybe you 
can simulate this with a timeout or something like that: When there is no 
activity for a while a client is assumed to have gone away and can be 
removed from the list of listeners. This approach becomes worse, if you 
have several tabs with several games. At least, I believe that. Maybe I 
have not thought about it long enough... :-)

However, the approach with in-browser-windows would still be useful: see 
below.

At least for in-browser windows, you maybe can use GWTs AbsolutePanel and a 
> small library like gwt-dnd (or HTML 5 drag and drop) for moving widgets 
> around.
>


The goals I have in mind with moveable and resizeable in-browser windows 
would be:

Let users define the board's size and position additional widgets like 
clock, history, etc..


For example, having vector based graphics would enable the users to resize 
the chess board. How could this be done better than with in-browser-windows?
 

> Magnus

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.

Reply via email to