I just committed a new sample application in the 1.0 trunk.
http://bazaar.launchpad.net/%7Eplay-developers/play/1.0/files/head%3A/samples-and-tests/booking/
It is a port of the well known 'booking' application from the JBoss
seam framework
(http://docs.jboss.com/seam/latest/reference/en-US/html/tutorial.html#booking).
It is interesting because the original goal of this sample is to
demonstrate how seam help you to manage
the conversational state of a web application.
So my goal was to rewrite it using play in a totally stateless way
(well when I say stateless it of course from the server point of
view).
Of course even if play is a stateless web application framework you
can always manage a stateful application server side using several
strategies. Typically I could have reproduce the conversation
mechanism using a functional conversation id added as parameter to all
my action
methods.
But I think that's not even needed. These day any browser can
efficiently save the conversational state client side. First by using
hypermedia as state engine,
and also using javascript variables and ajax client side to reproduce
a stateful experience. So you can check this application and like the
original one, have two
different browser tabs opened with two independent conversational state.
All the back/forward/refresh browser buttons work as expected (that's
not always the case with the seam implementation).
It will be the new sample application for the 1.0.1. I know that we
had a discussion about implementing a very big sample application to
demonstrate the use of play modules.
It is still planned, but for a future release as it will be really a
lot of work.
++ guillaume
saludos
sas
On Dec 21, 8:06 am, Guillaume Bort <guillaume.b...@gmail.com> wrote:
> Hi all,
>
> I just committed a new sample application in the 1.0 trunk.
>
> http://bazaar.launchpad.net/%7Eplay-developers/play/1.0/files/head%3A...
>
> It is a port of the well known 'booking' application from the JBoss
> seam framework
> (http://docs.jboss.com/seam/latest/reference/en-US/html/tutorial.html#...).
2009/12/22 sas <ope...@gmail.com>:
> --
>
> You received this message because you are subscribed to the Google Groups "play-framework" group.
> To post to this group, send email to play-fr...@googlegroups.com.
> To unsubscribe from this group, send email to play-framewor...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/play-framework?hl=en.
>
>
>
--
FIRAT KÜÇÜK