Mercurial > urweb
diff demo/prose @ 651:bab524996fca
Noisy demo
author | Adam Chlipala <adamc@hcoop.net> |
---|---|
date | Tue, 10 Mar 2009 17:29:03 -0400 |
parents | fcf0bd3d1667 |
children | 755a71c99be5 |
line wrap: on
line diff
--- a/demo/prose Tue Mar 10 16:38:38 2009 -0400 +++ b/demo/prose Tue Mar 10 17:29:03 2009 -0400 @@ -210,6 +210,10 @@ <p>Here's an example where client-side code needs to run more code on the server. We maintain a (server-side) SQL sequence. When the user clicks a button, an AJAX request increments the remote sequence and gets the new value.</p> +noisy.urp + +<p>This example shows how easy it is to make the flow of control "ping pong" back and forth between the client and the server. Clicking a button triggers three queries to the server, with an alert generated after each query.</p> + batch.urp <p>This example shows more of what is possible with mixed client/server code. The application is an editor for a simple database table, where additions of new rows can be batched in the client, before a button is clicked to trigger a mass addition.</p>