Topic awaiting preservation: Client Side programming server side requests with javascript (Page 1 of 1) |
|
---|---|
Bipolar (III) Inmate From: Phoenix |
posted 05-18-2005 06:17
I'm looking for a starting point; would like to create javascript code which calls serverside script. I would like to avoid creating anything activex do to hightened security with browsers these days. Any ideas? How does google pull off their adsense scripts? Something like that might work. |
Maniac (V) Mad Scientist From: 100101010011 <-- right about here |
posted 05-18-2005 06:23
XMLHTTPRequest |
Paranoid (IV) Inmate From: France |
posted 05-18-2005 07:42 |
Paranoid (IV) Inmate From: USA |
posted 05-18-2005 07:48
If that was ever called good, I think the purist modulator in my brain exploded. |
Bipolar (III) Inmate From: Phoenix |
posted 05-18-2005 07:52
Errr... I was hoping for something along the lines of a javascript src = "<server_side_script"... but once the browser is loaded (I can see how that works one teim) but how to invoke it again / reload the javascript on user click? |
Paranoid (IV) Inmate From: France |
posted 05-18-2005 08:07
|
Bipolar (III) Inmate From: Phoenix |
posted 05-18-2005 09:35
I get the "get" stuff... |
Paranoid (IV) Inmate From: France |
posted 05-18-2005 09:46
I found an menu I did a while ago that uses remote scripting and generates some SCRIPT tags to load the new contents. |
Bipolar (III) Inmate From: Phoenix |
posted 05-18-2005 22:25
That is very cool, will check that out this evening! |
Paranoid (IV) Inmate From: France |
posted 05-19-2005 01:39
Gmail is one of the applications that made the xmlHttpRequest object famous. There is also Google Map, Google Suggest, ... |
Bipolar (III) Inmate From: Phoenix |
posted 05-19-2005 04:02
Stumbled upon AJAX the other night. Is it: using a frame as sort of a middle-tier to the client app? |
Paranoid (IV) Inmate From: USA |
posted 05-19-2005 04:22
No, it has no need to use frames. XMLHttpRequest makes an HTTP query directly, no need to load things into frames or anything. |
Bipolar (III) Inmate From: Phoenix |
posted 05-19-2005 05:51
This is very interesting! How does the client machine know that the component is accessing the same domain? And.. I always thought the security alarm would go off not when attempting to send the request, but upon creation of the active x object??? |
Paranoid (IV) Inmate From: USA |
posted 05-19-2005 05:58
Oh, I think you mean the "security" built in to Internet Explorer for Active X objects? That's gotten around quite easily by digitally signing the script, I believe. Internet Explorer trusts signed scripts, for whatever stupid reason. |
Bipolar (III) Inmate From: Phoenix |
posted 05-19-2005 07:13
I'm on it! Going to develop an "Athlete" lookup for my site. I have all ready created some indexes to support the effort and am excited to embark on this new technology! |
Maniac (V) Mad Scientist From: 100101010011 <-- right about here |
posted 05-19-2005 07:36
blarg. 14 responses to get back to the first one given. |
Paranoid (IV) Inmate From: France |
posted 05-19-2005 07:38 |
Bipolar (III) Inmate From: Phoenix |
posted 05-19-2005 08:01
Thanks poi, |
Bipolar (III) Inmate From: Phoenix |
posted 05-19-2005 08:03
quote:
|
Paranoid (IV) Inmate From: France |
posted 05-19-2005 08:09
Ajax is the name a f**king detergent. It must be the most stupid name for a technical approach. And everybody says Ajax here, Ajax there, it's just not fun. |
Bipolar (III) Inmate From: övik |
posted 05-19-2005 12:57
quote:
|
Bipolar (III) Inmate From: övik |
posted 05-19-2005 12:59
quote:
|
Paranoid (IV) Inmate From: USA |
posted 05-19-2005 13:34
quote:
|
Bipolar (III) Inmate From: Phoenix |
posted 05-20-2005 08:07
The following script works great on localhost, but bombs on the server. The failure is: permission denied. What am I doing wrong? |