Here is a clip of Rooney second goal against Milan on Tuesday night on YouTube.
Here is a diagram of that move as shown in the Independent the following day.
Is this more complex to describe than a web application, or less?
Features of a football move
- Concurrent movement of of 22 actors (players ) to tracked
- Only two kinds of actor - home, away (or 22 if positions are needed)
- Only a few actors at any time are significant to the outcome
- Only a single object,the ball, is interchanged
- Several different kinds of actor, all with very different behaviour
- Each interchange involves different objects
- Objects are created dynamically
- Receipt of an object (such as a script or page) alters the actor's behaviour greatly
- Actors have fixed locations but you have to find them
As a small demo, I have created an application using an XML description of a sequence diagram transformed into html using either XQuery or XSLT 2.0.
(Saxon not yet activated on this server)
- the xml description of a simple interaction
- the XQuery script - run it
- the XSLT 2.0 stylesheet