Archive for January, 2007

Where the mind is without fear and the head is held high

Thursday, January 18th, 2007

I found this gem, while confronting myself on couple of topics.
Don’t read it like a prayer, nor like a morning chant; Read it like a war cry, or read it if you are ever confronted by fear or the lack of free thoughts confront your self.

Where the mind is without fear and the head is held high
Where knowledge is free
Where the world has not been broken up into fragments
By narrow domestic walls
Where words come out from the depth of truth
Where tireless striving stretches its arms towards perfection
Where the clear stream of reason has not lost its way
Into the dreary desert sand of dead habit
Where the mind is led forward by thee
Into ever-widening thought and action
Into that heaven of freedom, my father, let my country awake.

– from Gitanjali, Offering of Songs, published in English in
1910, written by Nobel laureate Rabindranath Tagore.

The rise of Ajax and the death of HTTP 404

Wednesday, January 3rd, 2007

In classic web application models, the user-agent sits between the user and the the webserver — The user-agent does not apply any business logic other than rendering the pages. With the rise of Ajax, server-side logic is moving to client, so much so that the conventional 3-tier web model is being challenged in a way that the whole presentation layer and the controller is being touted to move to the browser.
So, what happens to the veritable 404 (and other related HTTP error codes and pages)? In classic web applications, if you have a “Page Not Found” situation, you as a user “see” the associated 404 page (e.g. However, with Ajax, it’s the Ajax engine which is suppose to capture the 404. The user sees a “pretty message” while the Ajax engine (or the library running the engine) captures the 404. For example, in scriptaculous’ javascript library, on404 is the callback handler for HTTP 404s returned from the server.
Reproducing and annotating Jesse James Garrett’s diagram from the original Ajax article comparing classic and Ajax application model further crystallizes this thought that we need a redefined set of HTTP codes to support the Ajax application model.
Image modified without explicit permission of Adaptive Path. Are they cool?
Tags: , ,