-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi,

I spent some time today thinking about the best way to add attributes
to the tourneys. The attributes you're interested in are prize and
sponsors, but the problem is more general. During the discussion we
had a few days ago, we concluded that transparently adding fields to
the packets returned by TourneyList was the best option.

The rationale was that jpoker already provides a communication
framework that you don't want to replicate (refreshing the list every
N seconds). This framework is going to be used in the page listing the
tournaments, not only to get the list of active tournaments, but also
to get the server notification when a tournament begins.

However, I realized we did not address the issue of using permalinks
to navigate the web site or not. This design choice has an impact and
I would like to know what your plans are. In a nutshell, will the room
be a single page web application or will it be a multipage web
application ? When a user is invited to join a tournament, does it
hide the current display in favor of a table display ? Or does it
redirect to a page that displays the table ?

If you favor a multipage display, it may be more sensible to do the
work of enriching the tourneys in the PHP page you query to display
the list of tables. Otherwise it makes more sense to create a server
side proxy that does it by hijacking the Ajax request.

I've prepared the code for the server side proxy but I will wait for
your input before completing it.

Cheers

P.S. I've cc'ed the pokersource public mailing list as some people may
have an opinion on this problem.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkjVFoAACgkQ8dLMyEl6F21VAACgsfR135e614hvQY02VRUCugFp
iFgAnR471tduKMIorAO8um52Ay8Niyrq
=miYY
-----END PGP SIGNATURE-----

begin:vcard
fn:Loic Dachary
n:Dachary;Loic
org:pokersource
adr:;;12 bd Magenta;Paris;;75010;France
email;internet:[EMAIL PROTECTED]
title:Senior Developer
tel;work:+33 9 51 18 43 38
tel;cell:+33 6 64 03 29 07
x-mozilla-html:FALSE
url:http://dachary.org/
version:2.1
end:vcard

_______________________________________________
Pokersource-users mailing list
[email protected]
https://mail.gna.org/listinfo/pokersource-users

Reply via email to