Jump to content
The Uniform Server Community
Tucker

AJAX information request?

Recommended Posts

Hey guys,

 

I want to learn AJAX as I see there is some benefits to it, however I am not really sure what is involved in AJAX. From the topic I read in this forum "AJAX Support" I noticed that you guys mentioned, Javascript and PHP. But is there anything else? As googling it seems to come up with unrelated answers to my questions.

 

Is there also a good tutorial website I can go to, to learn it?

 

Faithful supporter :)

Share this post


Link to post
Share on other sites

Check out http://www.jquery.com/. They have classes/libraries premade so all you need to do is "use" it. Megan's suggestion is good though to learn the fundamental basics. But then you would have to create your own library. JQuery is premade you just need to use it.

 

Good Luck


ATOMIC Web Hosting 2007 - 2011

Shared Hosting - Reseller Hosting - Dedicated Servers - Virtual Private Servers (Request Dedicated/VPS Servers via E-mail)

E-mail: sales@atomicwebhosting.com Website: http://www.atomicwebhosting.com/

Share this post


Link to post
Share on other sites

XAjax is better and so much easier! Intergrates with PHP very well.

 

Site is: http://xajaxproject.org/ if interested. :)

 

All you need to do is create a function that will do a small task. Register the function name with xajax (1 line of code). Call it with user interaction and viola. :)


ATOMIC Web Hosting 2007 - 2011

Shared Hosting - Reseller Hosting - Dedicated Servers - Virtual Private Servers (Request Dedicated/VPS Servers via E-mail)

E-mail: sales@atomicwebhosting.com Website: http://www.atomicwebhosting.com/

Share this post


Link to post
Share on other sites

basic:

 

Ajax itself is about how to use XMLHttpRequest in JavaScript (web browser dependend)

 

that request gets needed data from a PHP/ASP/CFM/LUA/... server script, and extracts whats needed.

 

that whole proccess is called Ajax. since it can be trouble some, there are some JS (and a few are mixed JS/PHP) related frameworks to help you with (they do much more, but parts of them are about using ajax the simple way).

 

if you are using Ajax requests, you are probably going to modify the page through JS at runtime, so the frameworks are a better choice then a JS-Ajax class alone.

 

 

Most common ones (all JS only):

jQuery (my fav)

DoJo

Prototype

mootools

...

 

JS, Ajax classes only:

XAjax

Simple AJAX Class

...

 

 

just to round it up.

Share this post


Link to post
Share on other sites

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.   Paste as plain text instead

  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.

Loading...

×
×
  • Create New...