Simple Ajax Sample
  Home FAQ Contact Sign in
borland.public.attachments only
 
Advanced search
POPULAR GROUPS

more...

borland.public.attachments Profile…
 Up
Simple Ajax Sample         


Date: Dec 31, 2006 18:59

I am currently working on an Instructional AJAX programming Sit. In the
meantime, here is a simple example I put together. You are free to reuse
the JavaScript code inside the HTML page (it is better to put all
JavaScript into a separate file and include it. I did not here for demo
purposes).

All you need to do is create a back end cgi/servlet/ISAPI dll, .so, etc.
in the language and platform of your choice (IIS, Apache, Tomcatcat,
etc). Ajax doesn't care about the server side code, just what it
returns. Write the backend in Delphi, BCB, Java, C#, or whatever you wish.

That is one of the reasons I have started the AJAX instructions, to bust
the myths about AJAX. I see too many companies publishing FUD to sell a
product.

For those new to AJAX, this sample should make things clearer to you.
The hardest part of the Java Script is going through and getting the
Form Params automatically. Do not worry about this, you can reuse the
code here.

I have not tested all of this on IE, since I run Linux. It should work,
but if anyone has problems. please let me know. I will set up a Windows
box for testing before I start working on the site.
Show full article (10.13Kb)
1 Comment
Re: Simple Ajax Sample         


Date: Dec 31, 2006 20:25

Paul Nichols [TeamB] wrote:
> I am currently working on an Instructional AJAX programming Sit. In the
> meantime, here is a simple example I put together. You are free to reuse
> the JavaScript code inside the HTML page (it is better to put all
> JavaScript into a separate file and include it. I did not here for demo
> purposes).
>
> All you need to do is create a back end cgi/servlet/ISAPI dll, .so, etc.
> in the language and platform of your choice (IIS, Apache, Tomcatcat,
> etc). Ajax doesn't care about the server side code, just what it
> returns. Write the backend in Delphi, BCB, Java, C#, or whatever you wish.
>
> That is one of the reasons I have started the AJAX instructions, to bust
> the myths about AJAX. I see too many companies publishing FUD to sell a
> product.
>
> For those new to AJAX, this sample should make things clearer to you.
> The hardest part of the Java Script is going through and getting the
> Form Params automatically. Do not worry about this, you can reuse the
> code here. ...
Show full article (11.22Kb)
no comments