Slashdot Mirror


Proof of Concept For Ajax Without JavaScript

JonathansCorner.com writes "Even if Ajax was backronymed to 'Asynchronous JavaScript and XML,' it works with JSON substituted for XML. Here's a proof of concept that JavaScript/VBScript are not strictly necessary either. The technique, besides being used standalone, may be useful to provide a better 'graceful degradation' for Ajax applications used by clients with scripting turned off."

6 of 148 comments (clear)

  1. iFrames? by BlueBoxSW.com · · Score: 4, Funny

    Been using iFrames to get around web restrictions since before you lost your virginity...

    1. Re:iFrames? by ArcadeNut · · Score: 4, Funny

      ... before you lost your virginity...

      You're making a pretty big assumption there....

      --
      Visit the Arcade Restoration Workshop @ http://www.arcaderestoration.com
  2. Re:iFrame? by uglyduckling · · Score: 5, Informative

    No. It's someone who has stuck an iFrame in their page and written a python script to return different html for the iFrame depending on what you click. It's 1998 technology 'dynamic' pages. Nothing to see here...

  3. How is this new? by vivin · · Score: 4, Insightful

    Posting to an iframe and loading the iframe with dynamic content?

    Haven't RTFA (slashdotted), but I used to do "AJAX" without "AJAX" in the early 2000's. You would post to a hidden iframe and the dynamic content that was loaded in the iframe was Javascript, which would manipulate the parent page. Either that or it was JSON would you would then access from the parent page.

    --
    Vivin Suresh Paliath
    http://vivin.net

    I like
    1. Re:How is this new? by VTI9600 · · Score: 4, Informative

      Me too. The framework I used was JSRS. IIRC, it worked by creating hidden iframes on the fly for server-side communication and had dispatchers for PHP, ASP, perl and others. I don't recall if it was asynchronous or not, but pretty much anything can be made asynchronous in javascript by using the setInterval or setTimeout functions. The only thing I could tell was different was the fact that AJAX used the XMLHttpRequest object.

      So, naturally I was dumbfounded when people started talking about how amazing and cool AJAX was. I thought, "Hasn't this been around for years?"

  4. Next up... styling without CSS by Anonymous Coward · · Score: 5, Funny

    Courtesy of the font tag.