Ajax without JavaScript or Client-Side Scripting

The Ajax application included in this page implements a legitimate, if not particularly useful or even usable, “proof of concept” with partial page updates based on server communication. It accepts a string, and then lets you click on one of a few buttons to see that string styled the way the button is styled, appending a link from the server. But it demonstrates one interesting feature:

It works just the same if you turn off JavaScript and any other client-side scripting completely.

How does it work?

Ajax partial page updates don’t need to manipulate a monolithic page’s DOM; the reason browser back buttons work in Gmail is an invisible, seamless use of iframes that create browser history. And not only can you do partial page updates via iframes without DOM manipulation, you can do it without client side scripting.

The source code to the server is available here, but it is simple, stateless, and doesn’t really hold any secrets; it could be fairly well reconstructed simply by observing what is going on in the demo app above. The basic insight is that a webpage that talks to a server and makes partial updates can be made by the usual Ajax tools, but at least a basic proof of concept can be made with old HTML features like frames and iframes, links and targets, forms, and meta refresh.

This Ajaxian use of old web technologies may or may not produce graceful alternatives to standard Ajax techniques, either alone or in a “progressive enhancement”/”graceful degradation” strategy, but it may allow graceful degradation to be just a little more graceful, and JAWS might at least know when something on the sceen has changed. But here is a proof of concept that it is possible to implement a webapp with partial page updates and server communications that works in a browser that has JavaScript and any other client-side scripting turned off.

CFL: A truly unique distributed version control system

A Fully Functional Windows 95 Emulator That Runs Right in Your Browser

Usability for hackers: Developers, anthropology, and making software more usable

Within the Steel Orb

Author: C.J.S. Hayward

Who is Christos Jonathan Seth Hayward? A man, made in the image of God and summoned to ascend to the heights of the likeness of God. A great sinner, and in fact, the chief of sinners. One who is, moment by moment, in each ascetical decision choosing to become one notch more a creature of Heaven, or one notch more a creature of Hell, until his life is spent and his eternal choice between Heaven and Hell is eternally sealed. Man, mediator, midpoint, microcosm, measure: as man he is the recapitulation of the entire spiritual and visible creation, having physical life in common with plants and animals, and noetic life in common with rank upon rank of angel host, and forever in the shadow of that moment when Heaven kissed earth and God and the Son of God became Man and the Son of Man that men might become gods and the sons of God. He’s also a writer with a few hobbies, but really, there are more important things in life.