Remote Scripting Client Page

This page is a "Test Harness" to demonstrate Remote Scripting at work. I published some messages in the dBase NewsGroup if you click here, you can see the posts that occurred in that thread.

This page started out as a very simple page - click here and you can see it at work. Basically you type a number in the top of the two TextBoxes and then click on the "Square" button. The number that you have typed is sent to the internet server (note that the web page does not change and is not re-painted). The server then squares the number and sends the result back to the page on the Client Browser. The Browser then pads it out with some words and puts the answer in the second text box. Now ain't that good - I even find it exciting !!

Next I should tell you that you can use Remote Scripting either Asynchronously or Synchronously
Synchronously means that when you send the info to the Remote server, the browser sits and waits until the reply comes back from that Remote Server and does not let you carry on working.
Asynchronously means that when you send the info to the Remote server, the browser allows you carry on working - and deals with the reply when it gets back.

These demonstration pages are asynchronous. So I created another page to demonstrate that you can carry on working - click here and you can see it at work.

Then I got a bit clever (well maybe confident is a better word) and added a new function to the server - it was a "CUBE" function (so imaginative arent I - hehehehe) and added some stuff to the bottom of this page to do the "cubing" - and it worked !!

Have a bit of a play - adapt it for your own use - enjoy !! It would be interesting to hear hou you get on.


Number to be squared

Result of remote scripting comes here

A dummy field to demonstrate that you can carry on whilst waiting for the server to calculate the Square

A dummy field to demonstrate that you can carry on whilst waiting for the server to calculate the Square

A dummy field to demonstrate that you can carry on whilst waiting for the server to calculate the Square


Number to be cubed

Result of remote scripting comes here