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."
Been using iFrames to get around web restrictions since before you lost your virginity...
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...
So you post a form to an iframe by pressing a submit button, and the iframe reloads with new dynamic content? And this is somehow AJAX? The whole interesting thing with AJAX is that you can interact with the web server while staying on the same page. You can type something into a search box, say, and the webserver sends you back some matching words in real time. Sure you could mimic the same thing with a POST and a results page, but that is exactly the paradigm that AJAX was supposed to replace.
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
If you are forking a sub-process for every CGI script call, you're doing it wrong .-)
Fastcgi came around in the nineties and there exists various pooled process executors for various techs (perl, C etc).
I agree CGI is a web relic, but it isn't necessarily as bad as you painted it.
Like a true slashdotter I have not read the article, but the precursor to AJAX was just to use iFrames (or pre-iframe frames). Is this any different or better?
Well, it's AJAX without all the pesky 'JAX' ... but it does have an iFrame*, so it's 'Ai' ... not to be confused with 'AI' which is something completely different. Now, the 'Ai' may have a JSON appended to replace the 'X', which would make it 'AiJ' which is completely different from AJAX, though not necessarily better (not necessarily as in not).
... though I think iFrames are about as popular with good web designers as iApples are with Linux coders.
* iFrame has no relation to iPads, iPhones, iPods or any other iApple product. The occurrence of the vowel is purely coincidental
Just working on an online Rock Paper Scissors game .... I didn't want to get into javascript before sorting everything out without it. But everything seems to work fine, just by using
META HTTP-EQUIV="Refresh" CONTENT="3/...poll-url"
So I think I can keep javascript out of the game code
1994 weeps for your server and network load, especially since /. is going to give you a free scalability test in 3, 2, 1
Courtesy of the font tag.
Wow. The barrier to entry for getting an article on slashdot has really lowered, hasn't it? How is this even worth the blog post?
That it is better to be a fool and remain silent, than to speak and remove all doubt.
cat