You can send data to, and interact with your widget+ app, as if it was ASP or PHP - even though there's no traditional serverside code.
This works because the XIN runtime is serverside.
In this example, you can add comments to the chat, even thought it's not actually running on the page, but the serverside XML runtime is.
Users of the online desktop who has opened the chat will see you posting your comment here in real time.
Since the communication happens both ways, we can query the chat for the latest posts just as easily.
View source or click here for the code used to send the data to the server.
View source or click here for the code used to prompt the server for the data.
Creating a shopping cart where the user may enter
various choices on multiple pages, while still having them all processed as one tally serverside (after a fashion) is thus not very complicated.