Mercurial > urweb
diff demo/prose @ 649:96ebc6bdb5a0
Batch example
author | Adam Chlipala <adamc@hcoop.net> |
---|---|
date | Tue, 10 Mar 2009 15:17:23 -0400 |
parents | 3c6d535d3d8b |
children | fcf0bd3d1667 |
line wrap: on
line diff
--- a/demo/prose Tue Mar 10 13:57:09 2009 -0400 +++ b/demo/prose Tue Mar 10 15:17:23 2009 -0400 @@ -209,3 +209,7 @@ increment.urp <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> + +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>