Jump to content
xisto Community
arboc7

Ajax Anybody else using it?

Recommended Posts

Hi arbo,I've played around a little bit with googlemaps, but that's about it. The cool thing about ajax is that it doesn't require any new technologies that would cause incompatibilities between browsers. Of course it also opens up a brand new world for programmers to design web applications that look and feel more like desktop apps. I'm pretty new to all the skills required to use AJAX, but I'm learning. Are you using it for anything specific yet?Later.

Share this post


Link to post
Share on other sites

Hey! I am not sure what this AJAX is! i mean I have an idea as you have written the full form of it...but according to me AJAX was a charcter in the game Age of Mythology :P

Share this post


Link to post
Share on other sites

Yeah, I had a dog named Ajax. Of course, we named her after the cleaning powder, not the mythological figure. :P

 

Okay, so ajax is a term first introduced in this blog entry:

 

The name is shorthand for Asynchronous JavaScript + XML, and it represents a fundamental shift in whats possible on the Web.

Defining Ajax

 

Ajax isnt a technology. Its really several technologies, each flourishing in its own right, coming together in powerful new ways. Ajax incorporates:

 

    * standards-based presentation using XHTML and CSS;

    * dynamic display and interaction using the Document Object Model;

    * data interchange and manipulation using XML and XSLT;

    * asynchronous data retrieval using XMLHttpRequest;

    * and JavaScript binding everything together.

 


Essentially, it is the fusion of several existing technologies that allow websites to be ultra-responsive. Have you gotten a gmail account recently? When you fill in your password that you want, the form automatically checks the strength of the password and reports back to you within a few seconds, and the cool thing is you don't have to click anything. The page is using ajax to update itself according to your input to form elements even before you hit the submit button.

 

The article has some cool diagrams and a more detailed explanation.

Share this post


Link to post
Share on other sites

AJAX is really a combination of the technologies listed above, so you have to be familiar with most of them in order to use it. I'm still learning. One day maybe I'll know enough to do a tutorial for t17. It may be way out of my skill level, but you never know I guess!

Share this post


Link to post
Share on other sites

AJAX is not really that hard to learn, if you know a good amount of javascript, that is. I am not an expert in javascript, but all I had to do was figure out the XML connection properties of certain browsers, then you can import text or XML into javascript (which is running after the page loads) and print it to a specifyed <div> tag. I might need a little help, but I might be able to come up with a tutorial.As to how I have been using AJAX, only for content loading without reloading the whole page, just the content. Nothing fancy like Google Maps... :P

Share this post


Link to post
Share on other sites

Ha! I just set up a hello world, and looked into the api a little bit. It's not too fancy either once you get past the hype.MICROSOFT: I'm pretty sure runescape uses a java applet, not AJAX.

Share this post


Link to post
Share on other sites

MICROSOFT:  I'm pretty sure runescape uses a java applet, not AJAX.

185378[/snapback]


runescape definitely uses a java applet, which actually works more like a full flash website...AJAX is essentially XHTML and JavaScript brought together to create a very nice, generally quick web application that does not require the end-viewer to reload the general page. You might say that AJAX is similar to iframes (or just frames in general) that confine to the latest web standards...

Share this post


Link to post
Share on other sites

If you want to see AJAX example thne it GMAIL....You have seen it the way it does it, fast...It will be slow for first time then it will use javascript all the way...Downside is Javascript is must for AJAX..Also, it has some Accesibility issues, which is hard to achieve at this stage..Also, it is AJAX is not new, it was in the industry but AJAX is the new name....It is cool though..as the GMAIL is...

Share this post


Link to post
Share on other sites

hi friends,

For a nice brief introduction to AJAX visit:

https://en.wikipedia.org/wiki/AJAX

It seems like an interesting bit to learn.
I recently came to know that Gmail works on AJAX and that is the reason behind the quick response to user actions, whether it is opening a mail or composing or email address auto complete.

If anyone has a link to a good tutorial to AJAX, it would be quite helpful.

Cheers.a

Share this post


Link to post
Share on other sites

I recently came to know that Gmail works on AJAX and that is the reason behind the quick response to user actions, whether it is opening a mail or composing or email address auto complete.


First of all, thanks for the link (although it is just the simple, wonderful Wikipedia). Anyway, Google seems to be leading the charge with large-scale AJAX implementations. Not only is Gmail designed using AJAX, but Google Maps and Google Suggest are also top-notch AJAX applications.

AJAX is wonderful (yet complicated), isn't it??

Share this post


Link to post
Share on other sites

Yes, because is so much depended on client machine......

188513[/snapback]


Very true, but that is also what makes it so powerful, especially since the page that features AJAX does not have to be reloaded--it just sends a "background request" for the new content!

 

Simple in concept, yet complex in application...

Share this post


Link to post
Share on other sites

It helps in reducing bandwidth usage - only small XML bits are sent to and from the server. Fast? You bet! Gmail is 20x faster than Hotmail.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...

Important Information

Terms of Use | Privacy Policy | Guidelines | 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.