Library tutorials & articles

Remote Scripting Made Easy

Introduction

One of the issues that we had when we first started to develop commercial web sites was some of the limitations of using a browser as the interface. This was three or four years ago, but we are only just now starting to see some improvement in the richness of interface that can be offered. And, in our opinion, some changes just couldn't come fast enough.

For instance, there were many cases where we wanted to retrieve information from the server immediately after the user had performed some action, like entering a customer number. In our 'ideal' universe, the entry of the customer number would trigger a request to the server to retrieve the name, address and contact person. All of this without needing to repaint Internet Explorer or requiring that the page be refreshed. Now in today's world, we might examine Web Services or SOAP as the tool to use. But for simplicity, both then and now, we can use Remote Scripting to get the functionality up and running within minutes. And with a minimum of learning curve. The purpose of this article is to get YOU up and running on remote scripting.

AddThis

Comments

  1. 13 Jul 2005 at 02:29

    Thats what drives me nuts about AJAX - its the wrong way to do 90 percent of what people are freaking out over and getting so hyper whatevered over.


    http://sportsforum.ws - chat room on top (use IE - chat stuff doesnt need it - if I make a blank white page with nothing on it - it doenst work in Moz cause I made it)


    The typing part is sort of hidden under the chat, when your curser is on the bottom of that little chat area you can see it change to like pull down type - pull down


    Just script - no refresh - no xmlhttp - no security issues - works (if written by someone else ) - in IE and Moz, no clue nor care on the rest - Also http://sportsforum.ws/sportsdesk/d7?demo=1 (look on Thursday afternoon when baseball has resumed - nothing happens until then ) - but that is the same thing, different use.  Or - http://sportsforum.ws/NFL/draft?l=80 - everything on that page is done with just script - all realtime, no bs (other than none of them work in Moz - which again is because of my lack of being able to make the Moz gods happy, not the script method I am pointing out)


    My scripts probably look like crap, cause I am throwing them up, and on to the next - but they work - and in the case of the chat - I wrote that over two years ago - and still nobody picks up and uses that simple little method.

  2. 14 Sep 2002 at 07:44

    You mention a "ZIP file in the resources section on the right" with the relevant files but I could not find it. This is a very interesting article and would like to try it out.


    Also is it possible to use the same technique but haveing the calls to the remote scripts from a script which is being processed on the server (i.e. an asp page on the server calling a remote script on the same server or a remote server)


    Thanks

Leave a comment

Sign in or Join us (it's free).

Related discussion

Related jobs

Events coming up