Slashdot Mirror


Better Web Apps With Ajax

An anonymous reader wrote to mention an article on IBM's site detailing the fundamentals of Java-based Ajax. From the article: "This article gives you a good understanding of the fundamental principles of Ajax, and a nuts-and-bolts knowledge of the client and server side components that participate in an Ajax interaction. These are the building blocks of a Java-based Ajax Web application. In addition, you will be shown some of the high-level design issues that come with the Ajax approach."

43 of 184 comments (clear)

  1. With AJAX, you know you've got by knightinshiningarmor · · Score: 3, Funny

    Cleaner code than the rest!

    1. Re:With AJAX, you know you've got by Shadow+Wrought · · Score: 2, Funny

      One comet in and my joke's already taken. You do what you can.

      --
      If brevity is the soul of wit, then how does one explain Twitter?
    2. Re:With AJAX, you know you've got by mcclure · · Score: 2, Funny

      ... with your code whiter than white!

      hrm - on a white background, that's not goin' to work so well...

    3. Re:With AJAX, you know you've got by temojen · · Score: 5, Funny

      Here's a screenshot:












  2. Two camps by sexyrexy · · Score: 4, Insightful

    I'm glad to see another serious technical article on the pros and cons of implementing an AJAX solution. Most everyone who says the acronym "AJAX" usually falls into one of two camps - either the "OMFGZ teh AJAX is so amazing! It will change the interweb!" How? Oh, it allows parts of the page to be updated without a refresh. How interesting. Perhaps you could go a little more in-depth? No? Thanks...

    The other camp... too many Slashdotters, IMO... feel the need to flex their superior understanding of the fundamental dynamics of the internet and development and offer this gem: "AJAX is just an assortment of pre-existing technologies. Nothing to see here".

    The automobile was just an assortment of pre-existing technologies, and it radically changed the world. It also introduced a whole bevy of new challenges, both technical and otherwise, that we still haven't fully figured out yet. It was not a transportation panacea, and AJAX is no cure-all. But just because it doesn't solve every problem doesn't mean it doesn't have the power to be revolutionary.

    --

    Rex is 09 F9 11 02 9D 74 E3 5B D8 41 56 C5 63 56 88 C0
    1. Re:Two camps by museumpeace · · Score: 4, Informative

      It is not so much the technology as the economic might of the one of the biggest developers of AJAX: Google. They are giving a wall to wall 24x7 demo of AJAX technique and its effectiveness to anyone who pays attention. The fact that middleweight clients that can support a bit of asynchronous update traffic in what , to the user, is the "background", is not so much technically amazing as perceptably practical and a better web experiance. I was looking for better doc on AJAX, having first got the impression it had to be JavaScript [which, frankly, is a crappy tool for designing ambitious software]. This article is a good addition to a topic that doesn't have much presence in the bookstores yet. There are other sources on line. Its not just for XML and its not just a J language either... Ruby will do.

      --
      SLASHDOT: news for people who can't concentrate on work or have no life at all and got tired of yelling back at the TV.
    2. Re:Two camps by Tim+C · · Score: 2, Informative

      Its not just for XML and its not just a J language either

      Technically, the X in AJAX is XML, while the J is JavaScript, so yes AJAX is just for XML. You can do the same sort of thing using whatever technology you want, of course, but to do AJAX requires:

      a browser
      XML
      JavaScript

      The server can be written in anything you want, as long as it can receive HTTP requests and interpret XML. You're free to implement AJAX-style functionality using whatever collection of technologies and languages you wish, but unless you're using the above three things it's not AJAX. For instance, while you could replace JavaScript with VBScript (in IE), that'd more correctly be called AVAX.

      Personally, I think calling AJAX AJAX is stupid, as it leads to the sort of misunderstandings that you seem to have, but I guess most people like to have short, snappy names for things.

  3. Atlas by ThinkFr33ly · · Score: 5, Informative

    Atlas is Microsoft's entry into the suddenly-popular-even-though-it-has-been-around-fo r-7-or-more-years AJAX trend.

    Atlas is a set of extensions to ASP.NET 2.0 that allows for web developers to use AJAX with little or no plumbing work on their part.

    It integrates with ASP.NET extremely well and maintains the "event driven" style that ASP.NET is known for.

    There is also a Channel 9 video about what Microsoft is doing on the AJAX front elsewhere.

    1. Re:Atlas by badriram · · Score: 2, Informative

      Microsoft entered AJAX when they created XMLHTTP, and used it in OWA. They just created easy to use developer APIs in .Net now. Dont get me wrong, I am liking Atlas, it is a very good framework, and takes care of a lot of plumbing that i know would have taken me years to write.

    2. Re:Atlas by ThinkFr33ly · · Score: 2, Interesting

      Funny, because I both drag/drop controls AND understand what's going on under the hood. Why? Because I know what I'm doing.

      ASP.NET lets me develop web applications that are fast, cross platform, and extremely robust. When I encounter a cross-browser issue, I look at the HTML and I fix it.

      Blaming Microsoft when you should be blaming ignorant developers is plain stupid.

      Are you arguing that development tools and platforms should be inherently difficult to use so that the chance of a stupid developer getting anything done is minimal?

      Making a platform difficult to use results in even the smart developers getting less done. I would rather risk facilitating idiots than not giving the smart developers the best bang for their buck.

      ASP.NET is about a lot more than drag/drop. It's about creating an event-driven web development platform that comes just about as close as you can get to separating code from presentation. It's about making everything as object oriented and encapsulated as possible to both facilitate reuse and help maintainability. It's about providing an incredibly rich development platform that frees up developers to concentrate on features and business logic.

      I'll give you a simple example. I was tasked with exposing a large portion of an existing web site to mobile users. This site needed to be accessible by a wide variety of cell phones, PDAs, and other mobile devices. Normally, this task would be huge. I would have to detect virtually every model of phone and render things just a little differently.

      Thankfully, ASP.NET Mobile Controls do this for me. They have what amounts to a huge browsercaps file and the controls sense the requesting device and modify their output accordingly. I went from zero mobile support to supporting thousands of kinds of phones in about 3 days... and all of that 3 days was spent doing easy if not mundane things like figuring out the best flow for the mobile version of the site.

      On the other side of things, I've used ASP.NET to create applications that handle millions of requests a day. One application I recently finished mimics Google's AdSense technology. I can easily support over 1000 requests a second on a single Dell server with fairly modest hardware. (2.4 Ghz, 1 GB ram.)

      ASP.NET also has some awesome reliability features. I can make a change to a site and all existing requests are fullfilled using the previous version while all new requests are run on the updated version. This means not a single request is lost, even when deploying a new version of an application. I deal with applications that must have 100% availability... not a single request can get lost. Ever. Is this possible without ASP.NET? Sure! I could bring down a segment of my web farm at the load balancer, update that segment, bring it back online, and then move to the next segment... but that's a pain in the ass. And that's just one small example. There are hundreds more.

      So stop bashing something you obviously don't really understand. Go back to writing your web apps in PERL or PHP or JSP and enjoy it. You don't know what you're missing.

    3. Re:Atlas by ThinkFr33ly · · Score: 3, Interesting

      So we shouldn't separate presentation from code because it makes it less portable? Actually, it often makes it MORE portable. My mobile web application is a great example. I was able to reuse a huge amount of code and target a VERY different client thanks to the fact my presentation and my code were extremely well separated.

      As far as portability in general... think about this. What would happen if you had to port one of your apps to Gameboy? What would YOU do!? What about my TI-86? Huh?

      Since I'm a developer who knows what they're doing, I know my target platforms before I start the project. If there is a chance I might need to port this to another platform in the future, then I take that in to account before I start the project.

      Crippling your application, or dramatically increasing development time, or being forced to choose a less than ideal development platform, because you want to make sure you can run it on another platform regardless of the business requirements right now is a bad idea.

      Sorry, but that VAST MAJORITY of web application will be created for one platform and stay on that platform for the foreseeable future. Applications that do require portability typically start off with that requirement from the get go. This is especially true for server side applications. (Which makes it all the more ironic that Java is so popular on the server side.)

      Nonetheless, there is Mono. They have made great progress. Is it perfect? Of course not. But neither is Java's portability.

      Lastly, you seem to view .NET developers as some kind of less educated developer. I'm not sure why. To some extent, I could see that with VB developers. They often started off with an MIS or IT background and had to use VB to solve simple problems. In fact, VB is great for that. VB evolved into a language that was great for a lot of things. But the stigma stuck around... with some justification. .NET developers live in a world that is far more advanced in nearly everyway than VB. We have all the great runtime features that the rest of the developer word has. I can write my .NET in C++, or one of several hundred other languages that can target the CLR. What, exactly, makes a .NET developer any less of a developer than somebody who chooses to toil away in PERL or Python or Java?

  4. Pssha by DysenteryInTheRanks · · Score: 2, Funny

    Ya sorry but everyone knows that to obtain Buzzword Fad Certification (TM) AJAX *must* be coupled with Ruby on Rails, an Agile Development Model and legendary programmer Bill Brasky. Java does not fit in that picture (although apparently Brasky once coded a complete J2EE Web commerce framework in one hand on his BlackBerry while siring a child with his best friend's wife ... that framework launched a little site called Half.com).

  5. When you're using java, you can... by fireboy1919 · · Score: 3, Informative

    ...use JSON-RPC instead. XML is longer and hard for a javascript interpreter to interpret. Why does everyone want to use it as a wire protocol? I've never understood this. It makes a lot more sense to me to just store everything as a javascript hash.

    Anyway, unlike the almost most ajax libraries, which are at this point almost totally devoid of docs, the guy who wrote a JSON-RPC library actually tells you how to use it. If you've got java, its the way to go, I think. Here it is.

    Personally, I'm a perl monger, so I use this lib, which isn't nearly as good, as you have to do most of the javascript stuff yourself. Faster than XML though, and its still rather trivial to turn a DOM object into a plain javascript one for use with JSON.

    --
    Mod me down and I will become more powerful than you can possibly imagine!
    1. Re:When you're using java, you can... by daviddennis · · Score: 2, Insightful

      Okay, let me try to understand this. I'm putting together a brand spanking new web application that would greatly benefit from this technology. But to me, simplicity is the cardinal rule. Why do something in 50 steps, translating data from one langugage to another, when you can just keep it in one?

      I have over a decade of experience writing programs that spit out HTML. Why not have my Perl scripts spit out garden variety HTML which can then be substituted appropriately on the page?

      It seems to me that would be simple, clean and functional. And it might be a simple matter of saying my content type is text/html instead of application/xml.

      Why put the burden on JavaScript on the client, when I already know how to do it on the server? In terms of server processor time, it's just as easy to spit out HTML directly than it is to spit out XML and translate it to HTML on the other side.

      And if it is easy to do this, I'd appreciate a link to a tutorial.

      Many thanks for your time and ideas.

      D

    2. Re:When you're using java, you can... by uptoeleven · · Score: 2, Informative

      on the other hand the article as posted above goes into detail on degradability whereas JSON-RPC is specifically latest versions only. Of course the advantage of latest version use is that your machine is unlikely to be owned by one of the many nefarious sites out there just waiting to infiltrate and destroy you. On the other hand if your IT department is run by any one of the dolts I've seen managing IT departments, you won't have permission to update your browser and they won't bother.

      Still - got a version for php? :)

    3. Re:When you're using java, you can... by Anonymous Coward · · Score: 2, Insightful

      XML is longer and hard for a javascript interpreter to interpret. Why does everyone want to use it as a wire protocol?

      XML might be hard for a Javascript interpreter to interpret, but you don't interpret the XML with Javascript. The XML parsing routines are built into the web browser itself, you just access it with the DOM, same as with all the other Javascript you write.

      Yes, that's marginally harder than having i as a native Javascript object, but it has the benefit of being reusable no matter what language you are using. If I also want to manipulate the data with a script, I can write that in any language, using standard XML APIs, not just one that can interpret Javascript.

      Given that the difference in effort between the two is so minimal, I prefer to use the more flexible approach.

    4. Re:When you're using java, you can... by uptoeleven · · Score: 2, Insightful

      OK I admit I have a vested interest in this. I wrote an API that did exactly this (custom strings) in IE4 & NN4. This is before IE5 came out and before I'd learned to read w3c specs properly. The API sucked more suckily than anything has ever sucked before. It was a multi-car pile-up of an API. I spent months writing this crap and nearly lost my job and those of my project manager and line manager over it. It was the code no-one else would touch, despite extensive documentation. I wrote this... thing, it used invisible frames or invisible iframes (no I didn't know what XML was supposed to do either), it was supposed to implement some sort of windowing system within a browser.

      Now picture this. A windowing system, to run in IE4 or Netscape 4 written by someone who doesn't know what they're doing. You want memory leaks? We had 'em. Most of the clients' machines would die after ten minutes running this. You want race conditions? Yup we those had those ose se e as we.
      ll
      This thing was so asynchronous it would frequently try to write to HTML elements that didn't exist yet... or that did exist but that the browser had decided they'd disappeared. Netscape 4 was the best at this. If a string was too long suddenly the rest of the dom disappeared into recursion hell and you couldn't drill down into the necessary layer.

      In the end I had to write JavaBeans to write the HTML which would then modify itself or not as the case may be...

      It was not merely a dog. It stank, whatever way you looked at it. Consequently the company never touched a DHTML project again and when they finally decided to upgrade the site they simply wrote a flat HTML version.

      I get flashbacks just thinking about it.

      But as a result I learnt that using a non-standard, custom server response may reduce project maintainability. And may reduce the likelihood of you keeping your job.

    5. Re:When you're using java, you can... by fireboy1919 · · Score: 2, Interesting

      No you can't. You have to use CGI and rerender the entire page if you're doing that.

      You might as well use html if you have to redo the whole page anyway.
      Repeat this to yourself until you remember:
      WIRE PROTOCOL! WIRE PROTOCOL! WIRE PROTOCOL!

      Its not for making a page! Its for moving data from server to client! Just data! Thats the whole point! And it requires javascript. Without javascript, you can forget all of it entirely.

      --
      Mod me down and I will become more powerful than you can possibly imagine!
  6. An "arrr" solution. by Anonymous Coward · · Score: 2, Interesting

    I much prefer a seaside solution.

    --
    The "are you a script" word for today is platform.

  7. I love how minimal the whole thing is by uptoeleven · · Score: 2, Funny

    almost as though there was nothing there. Except the concept...

    By the by, from the IBM site:

    > Server load
    >
    > Implementing an Ajax UI in place of a regular forms-based one may dramatically
    > increase the number of requests made to the server.

    Will be interesting to see how it responds to a slashdotting...

    1. Re:I love how minimal the whole thing is by uptoeleven · · Score: 2, Funny

      yes

  8. The problem with AJAX is the X by MarkEst1973 · · Score: 5, Interesting
    JSON is a much better mechanism for handling data transmission in AJAX applications.

    Why? Less verbose (easier on bandwidth) and no parsing (ever tried parsing XML using XmlHttpRequest? It sucks). JSON is object syntax. It is a real, live object serialized to string.

    It just so happens that JSON is also legal Python object notation.

    Hmmm... GMail, Google Maps, Google Suggest... none of these use XML. Google is also renowned for using Python. JSON syntax is the same in client-side javascript and server-side python... hmmm... makes me think twice, anyway, instead of drinking the web services kool-aid Sun and Microsoft are serving.

    1. Re:The problem with AJAX is the X by spid · · Score: 3, Insightful

      Not so. In both IE and Mozilla XML parsing is done in native code, and is pretty darn fast. Granted, accessing the nodes in that resultant document can be tedious from a development standpoint, but if it's performance you care about, then XML will most certainly be faster. While JSON may be more terse, and easier to deal with as a developer, the browser still ends up having to create a lot of objects in interpreted code, which is a lot slower.

    2. Re:The problem with AJAX is the X by The+Bungi · · Score: 2, Interesting
      For that matter you could use something like YAML and get over your problem with the "koolaid". If web services are useless from your POV that's fine, but some of us use XML for stuff other than doing OOB requests in JavaScript.

      You can move anything over HTTP, and as long as the receiving end understands you, you'll be OK. You can move INI files if you want. But some people prefer to use existing infrastructure (stable/tested parsers, WS-*, schema validation and so on) so as to avoid reinventing the wheel. Reinventing the wheel is expensive. So you take a small hit on the badwidth. Most people are not Google so they don't have to worry about measuring transport bandwidth overhead in terabytes and spending a year doing characterization testing.

  9. Ajax with lots of languages by Anonymous Coward · · Score: 2, Informative

    revolutionary or not, "AJAX" is now used in lots of languages. and there are some good tools out there. there's ruby on rails with the prototype library which is also now available in perl. there's also CGI::Ajax which is pretty simple to apply... and it's perl!

  10. IBM comparison by Mostly+a+lurker · · Score: 2, Informative

    Also interesting on the IBM site is a comparison between the use of J2EE and Ruby on Rails, another great way of achieving Ajax functionality.

  11. Better Java Apps with AJAX? by tjasond · · Score: 2, Interesting

    Why not just use Echo2 and not have to worry about the details of an AJAX implementation for Java? I generally prefer not to reinvent the wheel, and with all of the various browser quirks with respect to AJAX, that's quite a non-trivial wheel to try and recreate.

  12. Ajax, Java, Echo2 by cbozic · · Score: 2, Interesting

    TrackIt is an application that takes advantage of all of the above technologies.

  13. Ajax library for Java by strokerace · · Score: 3, Interesting

    There's a pretty good library I've used recently called DWR.

    If you're looking for a Java library to do some of the heavy lifting, check it out.

  14. For examples... by bad_outlook · · Score: 3, Informative

    Check out the new cal for Hula http://hula-project.org/Hula_Server - amazing work.

    And the front end to the webmail for Zimbra http://www.zimbra.com/

    Really, really nice stuff.

  15. Third camp sees this? by Anonymous Coward · · Score: 2, Insightful


    <head>
    <title>Ajax app</title>
    <script type="javascript" src="ajax.js">
    </head>
    <body onload="ajaxInit()">
    <noscript>
    We are very sorry but we, the developers of this website don't understand the web. We would like to provide a non-script alternative for the visually impaired, disabled and people with security smarts but "Ajax" is the future of the interweb and you are not. If you do happen to be visually impaired, disabled or security conscious then fuck off because we are too busy fapping to the latest buzzword to give a shit about you.
    </noscript>
    </body>
    </html>

    1. Re:Third camp sees this? by CastrTroy · · Score: 2, Interesting

      I already get mad enough at developers that do everything in flash. God forbid I want to find out about the newest blockbuster movie without having my computer bogged down with tons of flash filled with impossible to find information. I don't see why everyone is out there to make the browser do more work then it really should. We have a hard enough time getting browsers to display HTML correctly. We don't even know what's going to happen with random browsers that are out there that may or may not interpret the JS correctly, or there may even be bugs in the code, causing something to not render correctly, giving users a really bad experience.

      --

      Anthropic principle: We see the universe the way it is because if it were different we would not be here to see it.
  16. AJAX can be fun! by Klowner · · Score: 3, Interesting

    I made a little window-manager-esque thing in Javascript/CSS/HTML a few weeks ago (Looks messed up in IE, works fine in Firefox)

    http://dugnet.com/klown/ajwm/, all that's needed are some AJAX functions to swap out the contents of each window, instant freakish web-app thing..

  17. Can't Colgate sue "someone" for using the AJAX by myfootsmells · · Score: 2, Informative

    brand name?

    1. Re:Can't Colgate sue "someone" for using the AJAX by pbhj · · Score: 2, Insightful

      No.

      You're thinking, no doubt (?), of trademark law. Trademarks are technology specific. So unless "someone" is creating a cleaning solution and "passing off" that product as Colgates (?) Ajax ...

      Colgate could still sue. But they shouldn't win!

  18. Remarkable omission by UhhhClem · · Score: 2, Informative

    Here we have a detailed, in-depth article about client-side browser XML processing that doesn't once mention XSLT. If you're writing JavaScript to transform your XML responses into updated client-side HTML by manipulating your browser's DOM, you probably should be listening to those who are recommending nonstandard-but-terse formats for data interchange.

    And while we're on the subject of terseness: complaints about "bloated" XML are meaningless outside of a context that takes the application's overall bandwidth requirements into account. Is an XML document bigger than a binary data stream? Sure. Is this significant? Depends on your application.

    1. Re:Remarkable omission by fireboy1919 · · Score: 2, Interesting

      complaints about "bloated" XML are meaningless outside of a context that takes the application's overall bandwidth requirements into account

      Totally untrue!
      There's also the issue of latency and local computation time. The less time between the click of a button, and the reciept of data, the better it is.

      The lower bound is very, very low, and every little bit helps.

      --
      Mod me down and I will become more powerful than you can possibly imagine!
  19. Re:XML is bloated by KagatoLNX · · Score: 4, Informative

    First, Unicode under JSON is abit exciting. In XML there are no surprises.

    Secondly, XML is transported over HTTP 90% of the time.

    Almost all modern HTTP implementations implement GZIP as an encoding. If you don't already have this enabled in your servers, then you don't really care about bandwidth utilization.

    JSON offers nothing useful over XML+GZIP (which is a transport/encoding issue anyway). It can, however, make it vastly more difficult to interchange your data and tie you to a limited object model. If anything, I support the process used by the W3C. I like their standards. JSON is nice, but not nice enough. Sorry guys.

    Learn XML. Learn XPATH. Try to use Twisted's XMLSTREAM implementation for a taste of how easy and flexible it can be. Write some Jabber apps. JSON can't really be in those spaces. Not anytime soon at least.

    --
    I think Mauve has the most RAM. --PHB (Dilbert Comic)
  20. JWP has a great AjaxTags component by fzammett · · Score: 3, Interesting

    Since everyone else is mentioning their favorite AJAX toolkit, I'll list one too:

    http://javawebparts.sourceforge.net/javadocs/index .html

    This is a component of the larger Java Web Parts project called AjaxTags. It's a taglib that allows you to easily add AJAX functionality to arbitrary page elements in a purely declarative manner, i.e., *NO* coding on your part (although there is more capability there if you need more). It really makes AJAX a breeze, and is pretty powerful at the same time. If you are a Java web developer, have a look, you may very much like what you see!

    P.S., The parent projects' page is here:

    http://javawebparts.sourceforge.net/

    --
    If a pion (n-) collides with a proton in the woods & noone is there to hear it, does lamdba decay into the source pa
  21. Re:AJAX for PHP Developers by doon · · Score: 3, Informative

    Cpaint

    I am using it now. seems to be working very well. has a Javascript library and both PHP and ASP backends. Can't talk to how the ASP side works, but the php side is very simple/straightforward.

    --
    To E-mail me, replace the first period in my domain with an @
  22. Japano AJAX Integration by fforw · · Score: 2, Insightful
    The article is surely a good entry to developing java webapplications with "AJAX" (Can't someone invent a better name?).

    For me (I am the author of japano, an MVC/JSP engine also containing dynamic javascript integration features), the following additional principles are were important:

    • Usability first. Don't use AJAX without a decent fallback. Don't use AJAX just because you can. Use semantic, standard-conform HTML/CSS layouts.
    • Use JSON instead of XML
    • Keep it simple. No object brokering or other fancy things. JSON transports data. Javascript requests and browser requests uses the same mechanisms.
    • Integrate. AJAX has quite some complexity overhead. Try to minimize that complexity by offering framework assistance. Japano offers two different AJAX mechanisms. Javascript views, and Partial updates.
    --
    while (!asleep()) sheep++
  23. The Three Conditions of AJAX by Kamiza+Ikioi · · Score: 4, Informative

    "Its not just for XML and its not just a J language either... Ruby will do."

    No, XML isn't really a requirement of functionality. If by J you mean a Java backend, you are correct, but not if you mean Javascript Without Javascript you cannot have AJAX-like functionality unless you use a plugin or browser addon like JRE, Flash, etc.

    I just wanted to clarify this point to those who might take that statement the wrong way. Coding something in C++ that talks to a server is not AJAX, for instance. AJAX, imho, is defined by 3 characteristics.

    1. AJAX involves dynamic content, not static content. This means that there is a seemless interaction, without the application appearing to "reload".

    2. AJAX involves a stand alone web browser or an embeded web browser that is running the common scripting language Javascript.

    3. AJAX involves data retrival from a source outside of the client-side application itself, and does not solely use data embedded in the application itself.

    I could refine those a bit, but I think the general ideas come across. So, really, a Java applet embeded in your browser that talks to the server, such as an IRC chat client, is not AJAX, though it may provide AJAX-like functionality. The language of the backend is irrelevant; the data formats are irrelevant. The only relevance, really, is that you are taking something that has generally been static (web pages) and made the operate like a fully functioning application. It's the transition from "Information" (HTML) to "Application" (AJAX).

    The definition really can't go beyond this. If it isn't limitted to seemless dynamic content, you could call any webpage that contained Javascript AJAX. If it isn't limitted to browsers and Javascript, then you could call an SSH program, chat applet, multiplayer game XBOX game, etc. "AJAX clients". If it isn't limitted to outside data, then you'd have to call Javascript clocks AJAX. An application must (at least) satisfy these three conditions before it can be called AJAX. If it doesn't, it may still be a really good interactive and dynamic application, though not AJAX.

    The core of AJAX, XMLHttpRequest, is the only place I think the term XML is validated in the AJAX acronym. And, certainly, you can load any type of data you wish with it. If there was any single thing to define AJAX, it is this command. Without it (or something like it coded in a round about way... who knows, some people like the challenge) you cannot satisfy all 3 conditions.

    --
    I8-D
  24. Accessibility issues with AJAX by StandardsSchmandards · · Score: 2, Informative
    Before you jump on the AJAX bandwagon you should make sure you use it correctly. Using it correctly means augmenting your application with AJAX until assistve devices have caught up with AJAX/based apps.

    More on AJAX and accessibility can be found here: AJAX and Accessibility.