« Validator 0.8 getting stable - what next? | Main | Paris Web 2007 - The French Web Connection »

The impact of Javascript and XMLHttpRequest on web architecture

This issue was raised briefly on the TAG telcon of 11 October 2007, but I think we dismissed it too quickly.

The basic WebArch story about URIs, resources and representations makes sense to people because they can see the relationship between information resource ('the Oaxaca weather report') and representation (<html><title>Today's weather for Oaxaca</title>. . . ).  When many web pages make extensive use of Javascript to compute the html that determines what you see on the screen, this relationship is weakened.  It's not just human beings doing 'view source' who lose out---search engines do too.

Although it's true that some proportion of Javascript-heavy pages are just badly designed, ignoring the Least Power finding through ignorance or laziness, it's certainly the case that some such pages, for instance those which make innovative use of XMLHttpRequest to synthesise information 'on the fly', could not be done any other way, and so don't violate the Least Power rule.

My conclusion: as we try to tell a more carefully articulated story about URIs and resources and their relationship, we need to pay more attention to the User Agent and the user experience. The thing most closely related to the Oacaxa weather report is the words I see on the screen, not the HTML which gets interpreted to produce them.

Filed by Henry S. Thompson on October 18, 2007 11:26 AM in Web Architecture
| | Comments (4) | TrackBacks (0)

Comments

BillyG # 2007-10-22

Your Least Power link is hosed.

karl dubost, w3c # 2007-10-22

@billyg: thanks. I have fixed it.

CalArch # 2008-02-13

Love the blog, if i may ask, what software are you using? how much does it cost? where do you get it? If it's not a secret email me some details wouldya?

thanks in advance!

Karl Dubost Author Profile Page # 2008-02-14

We are using Movable Type version Open Source.

Leave a comment

Note: this blog is intended to foster a polite, on-topic and interesting discussion. Comments failing these requirements and spam will not get published; others will appear on the entry page after review by the staff. This may take some time: thank you for your patience.

Your comment


About you

This blog is written by W3C staff and working group participants,
 and maintained by Karl Dubost and olivier Thereaux.
Powered by Movable Type, magpierss and a lot of Web Technology