Need your opinion about learning Ajax

Hi there!

I am considering learning Ajax. I have read some basic tutorials and they all point to knowing DOM and DOM points to knowing Java Script. Is it considered wise to learn Java Script first? Then DOM. Then Ajax?

Right now all I am really interested in is creating some Ajax applets for the intro of a site. Could I possibly just wade through the Java Script and get a little wet in the ocean without going deep sea diving? Or should a person invest the time to learning Java Script?

It all depends on what you need. If you want to know what you’re doing, then it would be a good idea to study JS. If you don’t need that, or don’t have the time, you can just ‘get a little wet’ as you say it. I’ve read in other posts here that are also some frameworks out there that handle a great deal of stuff for you and make it quite easy to implement AJAX. Never used them myself, so I can’t give you any names. But do a search here in the forum, or google for it, and I’m sure you will come up with something.
Of course, like with everything, a minimum of effort and knowledge is required :smiley:

Hi there, you need to learn JavaScript before you can learn AJAX, coz AJAX is just implementation of a function in JavaScript. I recommend you buy “Simply Javascript”, published by Sitepoint. The author teaches you all the JS you require, and then goes on to teach AJAX too. That is the best way to go.

God Bless you guys and girls… thanks for your input… I am thankful for the insight about frameworks for quick and easy integration, but especially hear the encouragement for simple JS with the good focus of learning DOM first.

What are some examples of JS’s usefulness? Does Face Book use JS? And for the sake of good conversation what is the predominant language of Face Book?

Thanks again for your input… I hope your day is productive!

The order I recommend learning this stuff is as follows:

  1. Learn the DOM first, It’s the layer at which your code will interact with JavaScript, thereby you can get to grips with the basics of code manipulation (on the fly).
  2. Then learn JavaScript. Once you’ve gotten to grips with DOM scripting, you’ll be ready to move onto more complex and “specific” code that interacts with the UI.
  3. Then move onto AJAX finally. AJAX is basically the middle ground between client- and server-side scripting, it’s not too hard but you need to know JS first.

That’s my recommendation, hope it helps with you’re decision. :slight_smile: