Jump to content

Recommended Posts

I am clueless about ajax so bear with me... I know that you have to use a "prototype.js" file to run an ajax script, but does your server have to have something to be 'ajax enabled'?

 

 

I'm guessing by the file prototype.js file, you are refering to the prototype library, and that is not required for AJAX.

 

 

AJAX is entirely client side, so no, your server does not need to be AJAX enabled.  It does help, however, to have your webserver running some form of server-side language so you can process dynamic data with AJAX.

Link to comment
https://forums.phpfreaks.com/topic/137402-running-ajax/#findComment-718090
Share on other sites

AJAX is entirely client side

 

Not exactly, Ajax is more a method for client side code to communicate with server-side code in the background. You really need both client-side and server-side.

 

However, there is no such thing as ajax in particular. It is a methodology not a technology.

Link to comment
https://forums.phpfreaks.com/topic/137402-running-ajax/#findComment-718314
Share on other sites

AJAX is entirely client side

 

Not exactly, Ajax is more a method for client side code to communicate with server-side code in the background. You really need both client-side and server-side.

 

However, there is no such thing as ajax in particular. It is a methodology not a technology.

 

 

I guess I was thinking of AJAX the wrong way when I said that it's entirely client side.  When I hear AJAX, I think of the AJAX objects in Javascript, and those are entirely client side.  Also, just because you need client-server for it to do anything useful doesn't mean it isn't only client side.

 

About the no such thing as AJAX, you are correct with that, and that is why I just assumed he meant the AJAX objects.

Link to comment
https://forums.phpfreaks.com/topic/137402-running-ajax/#findComment-718458
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.