Wednesday, May 23, 2007

AWAX, or AJAX without JavaScript

Suppose that the key to RIA is to have the server send something other than HTML to a smarter client. That might mean AJAX and JavaScript.
I love JavaScript. I call it LiveScript and pretend that I am running Self under Win32.
But suppose a small company wants to take over its web work rather than just replace their current web vendor. They cannot start hiring java developers and unix administrators and a Prototype javascript guru and a CSS person. Perhaps they can hire a parttime designer and an fulltime developer. Or give motivated employees an opportunity to fill the spots. Enter RIA without Javascript.
The key RIA technology today appears to be XMLHttpRequest as an alternative to HttpRequest for dynamic content in a web browser. But it is often assumed that this means AJAX and Javascript. It does not.

ZK is claims to be devoted to RIA without Javascript, err, XMLHttpRequest without JS?

And then there is Curl. Curl came out of MIT but appears largely absent on the North American scene. A bit like Roxxen and Pike.

But at curlr.org there is a clear prescription for XMLHttpRequest without JavaScript.

Why should JavaScript concern the small company? For every reason laid out by Google to justify the use of the GWT or Google Web Toolkit. Now, even with the Instantiations GWT Designer for Eclipse, the company will be looking for a senior developer, if not their own web guru.
But why would taking on your own company web projects mean competing to hire a Java developer?
Companies in the past have taken employees with business knowledge and evolved them into top Smalltalk developers. That is in the very nature of Smalltalk.
Unless you are building electronic devices, taking a person with business knowledge and training them as a C or Forth programmer would likely be folly.
Expert System shells were different: there you could evolve your own staff from a business area expert into an information system expert.
There are other options: Rebol is one. Rebol is a case where one language is all that is needed for the web project.
But for a gentle learning curve, it would be hard to beat Curl.
And while there are licensing fees, they are not prohibitive as are the fees for,say, the Eiffel Windows library. It is a differnent business model and it is popular in Japan and elsewhere in southeast Asia.
And it could mean competitive advantage for a small firm whose product is under price-point pressure from a larger firm with a bigger web presence.
Ordinarily, taking on your own web projects means sacrificing the dynamic web content that an outside vendor could enable.
For an example of Curl at work, just visit Flickr
Oh, about hiring that Flash developer who not only knows ActionScript but who also was in on the latest Adobe Apollo Beta ... the Basic Language used the $ sign. VBSCript for ASP pages still do. But Javascript for the small company may require more like $$$.

No comments: