Welcome! This is an ARCHIVED page from my old blog

In addition to taking a look at the entry below, why don't you also take a look at some other recent entries:



If you like what you see, please also sign up to the RSS feed

2005-04-01 17:35 UTC Is SAJAX needed?

« The ownership of data |

Main | TSA lied about Secure Flight »

Is SAJAX needed?

Sam Ruby says Sajax is still unsafe

While I haven't looked at the safety aspects of it, I have to ask if it's needed at all?

When Gmail launched I'd already been interested in this approach for a while, after seeing stuff like Netwindows.

It took me - with fairly basic Javascript skills - just a couple of hours to put together a fairly advanced test application.

A small javascript function library and you have a fairly solid base on the client side.

On the server side I hardly saw much need to add any special code - it was no different than writing any other PHP code in my case, with proper request handling, except that I was returning XML instead of a complete webpage.

For me, the main revelation was that I could make truly clean web apps by cleanly separating visal presentation and logic by wrapping all the latter, and providing the former as a CSS stylesheet and a set of XSL transformation that I could easily apply server side for "old style" clients.

Combined with href's to PHP scripts to fall back on for actions that supported browsers with javascript on would do client side it's actually quite easy to write these kind of apps in a way that allows them to work on any browser.

But that's a digression. What I want to point out is that Sajax isn't really solving much for me - the disadvantage of being pushed into a certain processing model outweighs the trivial advantages over what I get from the 50-100 lines of javascript I cobbled together for my tests last year together with "business as usual" on the server side.



About me

E-mail: vidar@hokstad.com Skype: vhokstad
Twitter: vhokstad
View my LinkedIn profile.

I was born April 21st, 1975, in Oslo, Norway. Since 2000 I've been living in London, UK. I'm married and we just had our first child, Tristan Ikemefuna Hokstad.

I'm working for Aardvark Media as Director of Technology. I'm also currently on the board of SpatialQ, a startup in the GIS space, and an advisor to Skoach, a startup doing a time management app for people with ADD.

Twitter Updates

    follow me on Twitter