Skip to main content

Just Thinking....

Think....

A web service (or maybe just a ASP page) renders and serves an XML generated based on the inputs passed to it.
A web browser picks it up, uses XSLT to transform it into a lovely page.

And what do you get, an application which does not waste too much time on the server.

Do not speak, just think.....Does nt your mind do a full revolution???

Anyway my friend really sparked that idea, said he has seen it implemented somewhere. But it was scrapped, cos of the sheer volume. (i dont wonder what he is talking about).
Just as an afterthought i do wonder how long will Gmail function. (wont it be complicated using XmlHTTPRequest all over your page).

Comments

Rakesh Pai said…
This is not a new idea, and I've seen this being done at a lot of places myself. But this idea is not without it's set of problems.

The biggest problem would be that old browsers do not know how to handle XML.

One way of handling this problem would be to have a server-side browser sniffer.

if browser=old
XSLT from xml to html
else
send xml

But, on second thoughts, is it so much of a waste of time on the server to generate markup? What about the effort the server will have to put in to generate the XML in the first place?

The real benefit of this would be if there are many types of clients consuming the XML and processing them (in any way). But if you are really only making web services that are used to generate web-pages, XML is hardly that useful.

But then again, you could talk about future-proofing...

Popular posts from this blog

The fight is in the open

Been busy lately and so have not managed to post for quite long. But I just had to post this. This post is dedicated to all persons who dont know anything about the fight between MS and Google: Check out the links starting from: http://news.zdnet.com/2100-9588_22-5875433.html?tag=nl.e589 There are more links as you get thru the article. Be sure to read those too. And just as a side-note: Check out " Atlas ". These are client side and server side components, which easily (??) enable you to make Web calls. This is done by encapsulating AJAX. (please dont insult by telling me that you dont know what that is).

Finally decided

I have been having these various itch since quite some time. Both about what i am doing here (where i work) and what am i meant to do. Finally, i have decided "I need a job change". I guess IT services industry was never meant to be the right industry for me. Don't get me wrong there, it's not that i wanna quit because i am not getting any interesting work, it's just that I have ideas about life which does not match with what my company is doing. (As amatter of fact, they have some really beautiful concepts which are great to work on). But i have believed web to be the future and now i have started realising that personal dreams do become quite a pain in the neck, when they are ignoired. Huh.... now that i put it on a log, i feel much better. Back to work...

News Feature

Enough of idle minds' posts. Instead got down to the engines of coding and coded the "Top News Stories", available on the right :D, on the side bar. Initially on load of the page, i was planning to show all the current top stories, accessing it from other sites. But, IE seems to have some security restrictions on a web page accessing resources of other web sites. Ok, i think that's what it is. So it pops up some security message. So i have shifted over to using a textbox and a "Go" button. On the click of the "Go" all the news as per the xml feed in the text box will be displayed. Go ahead and try it, but remember to click "Yes" on the security warning. Anyway for the knowledgeable. On click of the "Go!!!" it uses XmlHttpRequest , retrieves the XML feed from the site mentioned in the text box and displays it in "user friendly" format.